This API endpoints will not change in a backward compatible way.
API Endpoint: https://sun.noor.to/api/v0/
Put your API token in the Authorization
header. Grab your token from Settings > API.
/sendMessage
Send messages in threads. Markdown supported.
Request
Method: POST
Body (JSON)
{
spaceId: string; // Get from API page in your space settings
thread: string; // enter the exact thread name
text: string; // markdown supported
documentId?: string; // Optional attached file ID uploaded via /api/upload-file API
notifyByName?: string[] // Optional Member of space names, example ["Ben"]
notifyById?: string[] // Optional UserIds of space members, example ["User:123a"]
}
Examples
/getSpaceMembers
Get members and user IDs for your space
Request
Method: POST
Body (JSON)
{
spaceId: string;
}
Examples