Skip to main content
POST
Reply to the client

Authorizations

Authorization
string
header
required

Authorization: Bearer

Headers

Idempotency-Key
string

A unique value for this creation (for example a UUID). A request repeated with the same value within 10 minutes returns what the first one created, without creating anything else: the listing for POST /listings, the contact for POST /leads, the message for POST /leads/{lead}/messages. For listings and messages, only the first 64 characters count.

Path Parameters

lead
integer
required

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

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 message had already been sent with the same Idempotency-Key. The response holds it.

data
LeadMessageApiResource · object
required

The result of the request.