API
Last updated
Last updated
Welcome to the Closer Platform API. This public documentation provides an overview of the available endpoints that let you create, read, update, and delete (CRUD) various types of data within the platform. The API is RESTful and uses JSON for requests and responses.
Authentication: To use our API, include your API key in the HTTP header as follows:
Authorization: Bearer YOUR_API_KEY
Purpose: Manage content articles like blog posts or announcements. Supported Methods: GET, POST, PATCH, PUT, SOFT_DELETE, DELETE
Key Fields:
title
(required, editable)
slug
(required, unique, editable)
category
, tags
, html
, summary
, photo
, photoUrl
visibility
(options: public, custom, private, secret)
Purpose: Handle user applications or join requests. Supported Methods: GET, POST, PATCH, PUT, DELETE
Key Fields:
type
(e.g., "user")
status
(e.g., "open")
name
, email
, phone
viewChannels
visibility
Purpose: Manage booking records for stays, events, or volunteer appointments. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
status
, checkin
, checkout
, listing
description
, message
foodOption
(options: basic, chef, no_food)
eventId
Additional pricing and booking details
Purpose: Retrieve and update system configuration settings. Supported Methods: GET, PATCH, POST
Key Fields:
slug
(required, unique)
value
(object containing configuration data)
visibility
Purpose: Manage courses and lesson content in the Learning Hub. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
title
, slug
category
, tags
description
, summary
photo
, previewVideo
, fullVideo
visibility
Purpose: Organize and manage communication channels. Supported Methods: GET, POST, PATCH, PUT, DELETE
Key Fields:
name
, slug
description
visibility
Purpose: Create and manage events such as community gatherings or workshops. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name
, host
, slug
description
, participationGuideUrl
ticket
, virtual
capacity
, start
, end
visibility
Option to block the booking calendar during the event
Purpose: Retrieve ticket information for events. Supported Methods: GET
Key Fields:
name
, quantity
email
, status
Associated event
and booking
price
visibility
Purpose: Manage accommodation or resource listings on the platform. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name
, category
, photo
, photos
slug
, description
priceDuration
, fiatPrice
, tokenPrice
quantity
, availableFor
visibility
Purpose: Handle messages for communications, chat support, and notifications. Supported Methods: GET, POST, PATCH, PUT, SOFT_DELETE
Key Fields:
room
, content
, meta
visibility
, channel
Purpose: Record and retrieve performance metrics and usage data. Supported Methods: GET, POST
Key Fields:
point
, event
value
, category
visibility
Purpose: Manage partner profiles and collaboration details. Supported Methods: GET, POST, PATCH, PUT, SOFT_DELETE
Key Fields:
name
, slug
description
, story
url
, video
visibility
Purpose: Handle social posts and discussion threads. Supported Methods: GET, POST, PATCH, PUT, DELETE
Key Fields:
category
, content
, slug
replyCount
, parentType
, parentId
photo
, tags
, meta
visibility
Purpose: Manage products for sale, including digital and physical goods. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name
, category
, photos
slug
, description
, price
digital_product_url
, quantity
, discounts
visibility
Purpose: Handle photo uploads and management. Supported Methods: GET, POST, PATCH, PUT, DELETE
Key Fields:
slug
, ipfs
, urls
, extension
users
, likedBy
location
visibility
Purpose: Manage resource materials such as guides or documentation links. Supported Methods: GET, POST, PATCH, PUT, SOFT_DELETE
Key Fields:
category
, title
, slug
content
, ctaText
, url
visibility
Purpose: Manage live sessions or meetings, including scheduling and attendance tracking. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name
, description
, speakers
, category
photo
, event
, slug
attendees
, start
, end
visibility
Purpose: Retrieve records that link users to their accommodation bookings. Supported Methods: GET
Key Fields:
userId
, bookingId
, amount
source
, expiry
visibility
Purpose: Manage user profiles and account details. Supported Methods: GET, POST, PATCH, DELETE
Key Fields:
screenname
, slug
email
, walletAddress
, photo
subscription
, citizenship
, roles
preferences
, settings
, links
, stats
vouched
, visibility
Purpose: Manage volunteer applications and profiles. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name
, category
, residency
, commitment
photo
, slug
, description
start
, end
visibility
Purpose: Manage food options available for bookings or events. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name
, photos
, slug
, description
price
, isDefault
visibility
Purpose: Manage payment transactions and charge records (linked to bookings or products). Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
id
, type
, method
bookingId
, productId
status
, date
, amount
meta
, referredBy
, affiliateRevenue
visibility
Purpose: Manage community projects, including timelines, skills, and budgets. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name
, category
, residency
, commitment
photo
, slug
, description
start
, end
, skills
, reward
documentUrl
, estimate
, budget
visibility
Purpose: Manage dynamic web pages (e.g., homepage, FAQs, about pages). Supported Methods: GET, POST, PATCH, PUT, SOFT_DELETE, DELETE
Key Fields:
isHomePage
(marks a page as the main homepage)
photos
, faqsSheetId
, resources
showUpcomingEvents
, sections
visibility