curl --request POST \
--url https://api.distranmail.com/v1/threads \
--header 'Content-Type: application/json' \
--data '"<any>"'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inbox_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subject": "<string>",
"status": "OPEN",
"participants": [
{
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "OWNER",
"last_read_at": "2023-11-07T05:31:56Z"
}
],
"last_message_at": "2023-11-07T05:31:56Z",
"message_count": 1,
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
curl --request POST \
--url https://api.distranmail.com/v1/threads \
--header 'Content-Type: application/json' \
--data '"<any>"'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inbox_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subject": "<string>",
"status": "OPEN",
"participants": [
{
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "OWNER",
"last_read_at": "2023-11-07T05:31:56Z"
}
],
"last_message_at": "2023-11-07T05:31:56Z",
"message_count": 1,
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
The body is of type any
.
Thread created successfully
The response is of type object
.