Zum Inhalt springen

Chat

62 Bereiche, 612 Operationen. Basis-URL https://production.cashwerk.io, Anmeldung mit X-API-Key.

GET/api/v1/chat/conversationsList chat conversations
Pfad
/api/v1/chat/conversations
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations \
  -H "X-API-Key: $CASHWERK_API_KEY"
POST/api/v1/chat/conversations/directCreate a direct (1:1) conversation
Pfad
/api/v1/chat/conversations/direct
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/direct \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
POST/api/v1/chat/conversations/groupCreate a group conversation
Pfad
/api/v1/chat/conversations/group
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/group \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
POST/api/v1/chat/conversations/projectOpen (and create on first use) a project conversation
Pfad
/api/v1/chat/conversations/project
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/project \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
DELETE/api/v1/chat/conversations/{id}Delete a conversation
Pfad
/api/v1/chat/conversations/{id}
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id} \
  -X DELETE \
  -H "X-API-Key: $CASHWERK_API_KEY"
PATCH/api/v1/chat/conversations/{id}Update conversation (rename group)
Pfad
/api/v1/chat/conversations/{id}
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id} \
  -X PATCH \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
PATCH/api/v1/chat/conversations/{id}/archiveArchive a conversation
Pfad
/api/v1/chat/conversations/{id}/archive
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/archive \
  -X PATCH \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
GET/api/v1/chat/conversations/{id}/documentsGet document attachments in a conversation
Pfad
/api/v1/chat/conversations/{id}/documents
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/documents \
  -H "X-API-Key: $CASHWERK_API_KEY"
GET/api/v1/chat/conversations/{id}/linksGet shared links in a conversation
Pfad
/api/v1/chat/conversations/{id}/links
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/links \
  -H "X-API-Key: $CASHWERK_API_KEY"
GET/api/v1/chat/conversations/{id}/mediaGet media attachments in a conversation
Pfad
/api/v1/chat/conversations/{id}/media
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/media \
  -H "X-API-Key: $CASHWERK_API_KEY"
GET/api/v1/chat/conversations/{id}/messagesGet messages in a conversation
Pfad
/api/v1/chat/conversations/{id}/messages
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/messages \
  -H "X-API-Key: $CASHWERK_API_KEY"
POST/api/v1/chat/conversations/{id}/messagesSend a message to a conversation
Pfad
/api/v1/chat/conversations/{id}/messages
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/messages \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
POST/api/v1/chat/conversations/{id}/participantsAdd a participant to a group conversation
Pfad
/api/v1/chat/conversations/{id}/participants
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/participants \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
DELETE/api/v1/chat/conversations/{id}/participants/{userId}Remove a participant from a group conversation
Pfad
/api/v1/chat/conversations/{id}/participants/{userId}
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/participants/{userId} \
  -X DELETE \
  -H "X-API-Key: $CASHWERK_API_KEY"
POST/api/v1/chat/conversations/{id}/readMark messages in a conversation as read
Pfad
/api/v1/chat/conversations/{id}/read
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/read \
  -X POST \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
GET/api/v1/chat/conversations/{id}/searchSearch messages in a conversation
Pfad
/api/v1/chat/conversations/{id}/search
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/conversations/{id}/search \
  -H "X-API-Key: $CASHWERK_API_KEY"
DELETE/api/v1/chat/messages/{id}Delete a chat message
Pfad
/api/v1/chat/messages/{id}
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/messages/{id} \
  -X DELETE \
  -H "X-API-Key: $CASHWERK_API_KEY"
PATCH/api/v1/chat/messages/{id}Edit a chat message
Pfad
/api/v1/chat/messages/{id}
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/messages/{id} \
  -X PATCH \
  -H "X-API-Key: $CASHWERK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ … }'
GET/api/v1/chat/messages/{id}/infoGet message info (read receipts)
Pfad
/api/v1/chat/messages/{id}/info
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/messages/{id}/info \
  -H "X-API-Key: $CASHWERK_API_KEY"
GET/api/v1/chat/unread-countsGet unread message counts per conversation
Pfad
/api/v1/chat/unread-counts
Anmeldung
X-API-Key im Header
Server
https://production.cashwerk.io · Sandbox https://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/chat/unread-counts \
  -H "X-API-Key: $CASHWERK_API_KEY"