Conversations
Delete a message
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the conversations:write ability
Path parameters
conversationstringrequiredId of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search.
messagestringrequiredId of the message, starting with msg_, such as msg_01jx2m8k4t. Find it with GET /conversations/{conversation}/messages.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
bodystringrequiredThe text of an undone reply, so it can be put back in the composer. Empty when the message was deleted rather than undone.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
undonebooleanrequiredTrue when the message was a reply still waiting to leave and was undone; false when a message was deleted.
metaobjectrequiredShow child attributesHide child attributes
next_cursorstring | nullrequiredCursor of the next page; send it back as the cursor to read on. Null on the last page.
per_pageintegerrequiredPage size: the most rows one page of this list holds.
Format: int64
prev_cursorstring | nullrequiredCursor of the previous page. Null on the first page.
totalintegerHow many rows match in all, across every page. Left out when the endpoint did not count.
Format: int64
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.