Create message by customer ID
Creates a new message based on the unique customer ID.
Any one of the following roles is required for this endpoint:
| Legacy Role | Equivalent Permission Set Role |
|---|---|
| org.user.message.write | org.permission.message.create |
Note
If a conversation is specified, the message will be linked to the existing conversation. Otherwise, a new conversation will be created and associated with the message.
Authorization
The org.admin role is required for setting createdAt, createdBy, modifiedAt, and modifiedBy. Otherwise, these attributes are automatically set by the token.
Rate Limit
Messages are subject to a rate limit. A single client can create up to 120 messages per minute per customer. Messages with importedAt in their body will not be subject to the rate limit.
A 429 Too Many Requests response will be returned if the rate limit has been reached for a customer.
Request
- Base URL: https://api.kustomerapp.com/v1
- URL: https://api.kustomerapp.com/v1/customers/{id}/messages
- Auth: httpBearer (a scheme the document does not define)
Path parameters
Unique ID of the customer.
Request body
Response
Created
Changes
No recorded changes to this operation across all 8 revisions of this API.