API
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
Table of Contents
1. Articles
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,photoUrlvisibility(options: public, custom, private, secret)
2. Applications
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,phoneviewChannelsvisibility
3. Bookings
Purpose: Manage booking records for stays, events, or volunteer appointments. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
status,checkin,checkout,listingdescription,messagefoodOption(options: basic, chef, no_food)eventIdAdditional pricing and booking details
4. Configurations
Purpose: Retrieve and update system configuration settings. Supported Methods: GET, PATCH, POST
Key Fields:
slug(required, unique)value(object containing configuration data)visibility
5. Lessons
Purpose: Manage courses and lesson content in the Learning Hub. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
title,slugcategory,tagsdescription,summaryphoto,previewVideo,fullVideovisibility
6. Channels
Purpose: Organize and manage communication channels. Supported Methods: GET, POST, PATCH, PUT, DELETE
Key Fields:
name,slugdescriptionvisibility
7. Events
Purpose: Create and manage events such as community gatherings or workshops. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name,host,slugdescription,participationGuideUrlticket,virtualcapacity,start,endvisibilityOption to block the booking calendar during the event
8. Tickets
Purpose: Retrieve ticket information for events. Supported Methods: GET
Key Fields:
name,quantityemail,statusAssociated
eventandbookingpricevisibility
9. Listings
Purpose: Manage accommodation or resource listings on the platform. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name,category,photo,photosslug,descriptionpriceDuration,fiatPrice,tokenPricequantity,availableForvisibility
10. Messages
Purpose: Handle messages for communications, chat support, and notifications. Supported Methods: GET, POST, PATCH, PUT, SOFT_DELETE
Key Fields:
room,content,metavisibility,channel
11. Metrics
Purpose: Record and retrieve performance metrics and usage data. Supported Methods: GET, POST
Key Fields:
point,eventvalue,categoryvisibility
12. Partners
Purpose: Manage partner profiles and collaboration details. Supported Methods: GET, POST, PATCH, PUT, SOFT_DELETE
Key Fields:
name,slugdescription,storyurl,videovisibility
13. Posts
Purpose: Handle social posts and discussion threads. Supported Methods: GET, POST, PATCH, PUT, DELETE
Key Fields:
category,content,slugreplyCount,parentType,parentIdphoto,tags,metavisibility
14. Products
Purpose: Manage products for sale, including digital and physical goods. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name,category,photosslug,description,pricedigital_product_url,quantity,discountsvisibility
15. Photos
Purpose: Handle photo uploads and management. Supported Methods: GET, POST, PATCH, PUT, DELETE
Key Fields:
slug,ipfs,urls,extensionusers,likedBylocationvisibility
16. Resources
Purpose: Manage resource materials such as guides or documentation links. Supported Methods: GET, POST, PATCH, PUT, SOFT_DELETE
Key Fields:
category,title,slugcontent,ctaText,urlvisibility
17. Sessions
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,categoryphoto,event,slugattendees,start,endvisibility
18. Stays
Purpose: Retrieve records that link users to their accommodation bookings. Supported Methods: GET
Key Fields:
userId,bookingId,amountsource,expiryvisibility
19. Users
Purpose: Manage user profiles and account details. Supported Methods: GET, POST, PATCH, DELETE
Key Fields:
screenname,slugemail,walletAddress,photosubscription,citizenship,rolespreferences,settings,links,statsvouched,visibility
20. Volunteers
Purpose: Manage volunteer applications and profiles. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name,category,residency,commitmentphoto,slug,descriptionstart,endvisibility
21. Food
Purpose: Manage food options available for bookings or events. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name,photos,slug,descriptionprice,isDefaultvisibility
22. Charges
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,methodbookingId,productIdstatus,date,amountmeta,referredBy,affiliateRevenuevisibility
23. Projects
Purpose: Manage community projects, including timelines, skills, and budgets. Supported Methods: GET, POST, PATCH, PUT, DELETE, SOFT_DELETE
Key Fields:
name,category,residency,commitmentphoto,slug,descriptionstart,end,skills,rewarddocumentUrl,estimate,budgetvisibility
24. Pages
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,resourcesshowUpcomingEvents,sectionsvisibility
Last updated