v1
latestOpenAPI 3.1.02026-07-24317911.4 MBMessages
Start a new Message Session
This is a good place to start with messaging if you do not already have a message session ID.
post/domains/{domain}/users/{user}/messages
Path parameters
domainstring required
This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.
Example:example.com
userstring required
This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.
Example:1000
Request body
Example request
{
"type": "chat",
"destination": "1123",
"mime-type": "image/png"
}Response
Example response
{
"type": "chat",
"domain": "example.com",
"direction": "term"
}