Developer docs menu

API reference / Chat

Chat API

2 endpoints. Scopes: Scalar360.chat.READ, .CREATE, .UPDATE, .DELETE or .ALL. All calls need Authorization: Scalar360-oauthtoken <access_token> — see Authentication.

GET

Conversations

/api/v1/chat/conversations

Scope: Scalar360.chat.READ

Example request
curl -X GET "https://api.scalar360.com/api/v1/chat/conversations" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
POST

Share

/api/v1/chat/share

Scope: Scalar360.chat.CREATE

Body fieldTypeRequiredNotes
conversationIdinteger
cardmap of any
Example request
curl -X POST "https://api.scalar360.com/api/v1/chat/share" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"conversationId":1,"card":{}}'