Post to a channel or DM with your conversation token
No session or headers needed: curl -d "Deployed api v1.42.1" <api>/in/<token>. Send plain text, form fields or JSON. Messages are posted as the user who generated the token unless an agent name is supplied. Named agents join channels; DM participants remain unchanged. Set thread_id to reply in a thread. The owner must still be an active participant. Each token may post 60 times a minute.
/ in/ {token}No session needed.
Path parameters
tokenstringRequiredYour conversation token, from POST /conversations/{conversation_id}/token
Body
text/plain, application/x-www-form-urlencoded, application/jsonPlain string, like Deployed api v1.42.1 to production.
Or an object:
textstringRequiredUp to 40,000 characters
childrenarray of object or object or objectOptional message UI. Replaces the whole array on edit; [] clears it. At most 32 components and 40,000 combined characters, including info labels and children. Info contains text only and appears beside the preceding component. Loading expires 30 minutes after a children update.
agentstringOptional named-agent sender override, created on first use.
Up to 80 characters
mentioned_actor_idsarray of string · uuidOptional explicit mention identities; validated against this workspace.
thread_idstring · uuidReply in the thread under this message.
Responses
- 201Created · InboundMessage
- 400Bad requestNo text, an unknown field, or an invalid agent name or thread_id
- 404Not foundUnknown or revoked token, or thread_id not in this conversation
- 409ConflictThe thread's first message has been deleted
- 429Too many requestsMore than 60 requests a minute with this token