Skip to main content
PATCH
Edit a sent message

Authorizations

Authorization
string
header
required

Authorization: Bearer

Path Parameters

lead
integer
required

The request ID, from the list or from a lead.created or lead.updated event.

message
integer
required

The message's id, from the conversation's data[].id.

Query Parameters

locale
enum<string>
default:en

The response language, ro or en. It changes error messages (title, detail), labels and, when the listing has an approved translation in that language, its title and description. Codes are the same in every language. It takes precedence over Accept-Language and over the account's language.

Available options:
ro,
en

Body

application/json
body
string
required

Message.

Maximum string length: 2000

Response

The request succeeded.

data
LeadMessageApiResource · object
required

The result of the request.