XISUITEDokumentation

Chat

24 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1

Inbox: my conversations with unread counts and previews#

GET/chat/conversationsToken

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/chat/conversations" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Conversation details, my state and members#

GET/chat/conversations/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 404Unknown or not readable
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Rename a group or change its description (owners)#

PATCH/chat/conversations/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonUpdateConversationDto

NameTypBeschreibung
titlestring–
descriptionstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"…","description":"…"}'

Leave a group#

POST/chat/conversations/{id}/leaveToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 204Kein Inhalt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}/leave" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

My notification level, mute and inbox pin#

PATCH/chat/conversations/{id}/meToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonUpdateMyConversationStateDto

NameTypBeschreibung
notifyLevelstring

Werte: allmentionsnone

mutedUntilobject

ISO timestamp; null un-mutes

pinnedboolean–

Antworten

  • 200OK
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}/me" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"notifyLevel":"all","mutedUntil":{},"pinned":true}'

Add people to a group#

POST/chat/conversations/{id}/membersToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonAddMembersDto

NameTypBeschreibung
user_idstring

Single user ID to add

user_idsstring[]

Multiple user IDs to add (bulk)

role_idobject

Role ID to assign to added member(s)

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}/members" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"user_id":"…","user_ids":[],"role_id":{}}'

Promote or demote a group member (owners)#

PATCH/chat/conversations/{id}/members/{userId}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–
userIdPflichtPfadstring–

Request-Bodyapplication/jsonSetMemberRoleDto

NameTypBeschreibung
rolePflichtstring

Werte: ownermember

Antworten

  • 204Kein Inhalt
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}/members/{userId}" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"role":"owner"}'

Remove someone from a group (owners)#

DELETE/chat/conversations/{id}/members/{userId}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–
userIdPflichtPfadstring–

Antworten

  • 204Kein Inhalt
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}/members/{userId}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

A page of the timeline (or of one thread), ordered by seq#

GET/chat/conversations/{id}/messagesToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–
beforeSeqQuerynumber

Older page: messages with seq < beforeSeq

afterSeqQuerynumber

Catch-up: messages with seq > afterSeq, oldest first

limitQuerynumber–
threadRootIdQuerystring

List the replies of this thread instead of the main timeline

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}/messages" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Send a message (resending the same id is idempotent)#

POST/chat/conversations/{id}/messagesToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonSendMessageDto

NameTypBeschreibung
idPflichtstring

Client-generated message id; resending the same id is idempotent

bodyHtmlPflichtstring–
threadRootIdstring

Reply in the thread of this message

quotedMessageIdstring

Quote this message

objectRefsChatObjectRefDto[]–
objectRefs[].typePflichtstring

Werte: taskwiki_pageplanboardasset_objectfe_node

objectRefs[].idPflichtstring–
attachmentCountnumber

Files the client will upload to this message (entity_type chat_message); > 0 allows an empty body

Antworten

  • 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}/messages" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id":"…","bodyHtml":"…"}'

Set my read position (markUnread moves it back)#

POST/chat/conversations/{id}/readToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonMarkReadDto

NameTypBeschreibung
seqPflichtnumber

Last read message seq

markUnreadboolean

true = move the read position back ("mark as unread")

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/chat/conversations/{id}/read" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"seq":0}'

Open (or create) the direct message with a colleague#

POST/chat/dmsToken

Request-Bodyapplication/jsonCreateDmDto

NameTypBeschreibung
userIdPflichtstring

The other person (public.users.id); your own id opens your notes

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/chat/dms" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"userId":"…"}'

Create a group chat (you become its owner)#

POST/chat/groupsToken

Request-Bodyapplication/jsonCreateGroupDto

NameTypBeschreibung
titlestring–
memberIdsPflichtstring[]–

Antworten

  • 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/chat/groups" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"memberIds":[]}'

Edit my message (every version is kept)#

PATCH/chat/messages/{messageId}Token

Parameter

NameOrtTypBeschreibung
messageIdPflichtPfadstring–

Request-Bodyapplication/jsonEditMessageDto

NameTypBeschreibung
bodyHtmlPflichtstring–
objectRefsChatObjectRefDto[]–
objectRefs[].typePflichtstring

Werte: taskwiki_pageplanboardasset_objectfe_node

objectRefs[].idPflichtstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/chat/messages/{messageId}" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"bodyHtml":"…"}'

Delete a message (author or organization admin)#

DELETE/chat/messages/{messageId}Token

Parameter

NameOrtTypBeschreibung
messageIdPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/chat/messages/{messageId}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Pin a message for everyone in the conversation#

PUT/chat/messages/{messageId}/pinToken

Parameter

NameOrtTypBeschreibung
messageIdPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X PUT "https://xapi.ambertech.cloud/api/v1/chat/messages/{messageId}/pin" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Unpin a message#

DELETE/chat/messages/{messageId}/pinToken

Parameter

NameOrtTypBeschreibung
messageIdPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/chat/messages/{messageId}/pin" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Add my reaction#

PUT/chat/messages/{messageId}/reactions/{emoji}Token

Parameter

NameOrtTypBeschreibung
messageIdPflichtPfadstring–
emojiPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X PUT "https://xapi.ambertech.cloud/api/v1/chat/messages/{messageId}/reactions/{emoji}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Remove my reaction#

DELETE/chat/messages/{messageId}/reactions/{emoji}Token

Parameter

NameOrtTypBeschreibung
messageIdPflichtPfadstring–
emojiPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/chat/messages/{messageId}/reactions/{emoji}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Edit history of a message, oldest first#

GET/chat/messages/{messageId}/versionsToken

Parameter

NameOrtTypBeschreibung
messageIdPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/chat/messages/{messageId}/versions" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Short-lived Realtime JWT for my inbox topic and the conversations I can read#

POST/chat/realtime/tokenToken

Request-Bodyapplication/jsonChatRealtimeTokenDto

NameTypBeschreibung
conversationIdsstring[]

Conversations to subscribe to; ones you cannot read are dropped

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/chat/realtime/token" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"conversationIds":[]}'

Resolve task / wiki page refs into object cards I may see#

POST/chat/refs/resolveToken

Request-Bodyapplication/jsonResolveChatRefsDto

NameTypBeschreibung
refsPflichtChatObjectRefDto[]–
refs[].typePflichtstring

Werte: taskwiki_pageplanboardasset_objectfe_node

refs[].idPflichtstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/chat/refs/resolve" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"refs":[]}'
GET/chat/searchToken

Parameter

NameOrtTypBeschreibung
qPflichtQuerystring–
conversationIdQuerystring–
authorIdQuerystring–
fromQuerystring–
toQuerystring–
limitQuerynumber–

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/chat/search" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

The channel of a space (created on first use)#

GET/chat/spaces/{spaceId}/channelToken

Parameter

NameOrtTypBeschreibung
spaceIdPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/chat/spaces/{spaceId}/channel" \
  -H "Authorization: Bearer $XISUITE_TOKEN"
Stand: 25. Oktober 2026© 2026 XISUITE · AmberTech Solutions