PATCH /inbox/conversations/{id}/messages/{messageId}
Edit a message the account sent, where the platform allows it (else 400 not_supported). messageId is the Postgale id or the platform message id. Queued for approval (202) while approval applies
BearerAuthAuthorizationBearer <token>API key sk_...
id*stringConversation id
messageId*stringMessage id (Postgale or platform id)
application/json- body
text?stringlength <= 4096message?stringAlias of text (Zernio)
replyMarkup?Telegram: a new {inline_keyboard} for the message (text is then optional)
{message}
application/json- response
message?curl -X PATCH 'https://example.com/api/v1/inbox/conversations/string/messages/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "message": { "id": "string", "conversationId": "string", "platformMessageId": "string", "direction": "inbound", "type": "text", "text": "string", "attachments": [ { "type": "string", "url": "string" } ], "postback": { "title": "string", "payload": "string" }, "reactions": [ { "emoji": "string", "by": "participant" } ], "replyToMid": "string", "isEcho": true, "isDeleted": true, "status": "received", "tag": "HUMAN_AGENT", "sentAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "readAt": "2019-08-24T14:15:22Z", "source": "webhook", "content": null, "pricing": null, "error": "string", "failedAt": "2019-08-24T14:15:22Z" }}GET /inbox/conversations/search GET
Search conversations by participant (name, username, phone) and by message text, most recent match first. Each result carries match: {messageId, text} or {participant: true}
DELETE /inbox/conversations/{id}/messages/{messageId} DELETE
Delete a message on the platform where supported (else 400 not_supported); the stored copy is kept with isDeleted. Queued for approval (202) while approval applies