curl --request POST \
--url https://sandbox.tight.com/v6/conversations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"subject": "Transaction review needed",
"message": {
"text": "<string>",
"attachmentIds": [
"<string>"
]
},
"id": "con_12345",
"attachedEntityId": "btxn_67890",
"status": "ACTIVE",
"readStatus": "UNREAD",
"resolutionStatus": "OPEN"
}
]
}
'{
"result": "SUCCESS",
"data": [
{
"result": "SUCCESS",
"statusCode": 200,
"data": {
"id": "con_12345",
"attachedEntityId": "<string>",
"subject": "Transaction review needed",
"author": {
"userId": "<string>",
"email": "user@example.com"
},
"latestMessage": {
"id": "msg_67890",
"author": {
"userId": "<string>",
"email": "user@example.com"
},
"text": "<string>"
},
"status": "ACTIVE",
"readStatus": "UNREAD",
"resolutionStatus": "OPEN",
"createdDateTime": "2023-11-07T05:31:56Z",
"lastUpdatedDateTime": "2023-11-07T05:31:56Z"
},
"error": [
{
"type": "UNKNOWN_ERROR",
"message": "<string>",
"param": "<string>"
}
]
}
],
"error": [
{
"type": "UNKNOWN_ERROR",
"message": "<string>",
"param": "<string>"
}
]
}Save a new (or update an existing) set of conversations
curl --request POST \
--url https://sandbox.tight.com/v6/conversations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"subject": "Transaction review needed",
"message": {
"text": "<string>",
"attachmentIds": [
"<string>"
]
},
"id": "con_12345",
"attachedEntityId": "btxn_67890",
"status": "ACTIVE",
"readStatus": "UNREAD",
"resolutionStatus": "OPEN"
}
]
}
'{
"result": "SUCCESS",
"data": [
{
"result": "SUCCESS",
"statusCode": 200,
"data": {
"id": "con_12345",
"attachedEntityId": "<string>",
"subject": "Transaction review needed",
"author": {
"userId": "<string>",
"email": "user@example.com"
},
"latestMessage": {
"id": "msg_67890",
"author": {
"userId": "<string>",
"email": "user@example.com"
},
"text": "<string>"
},
"status": "ACTIVE",
"readStatus": "UNREAD",
"resolutionStatus": "OPEN",
"createdDateTime": "2023-11-07T05:31:56Z",
"lastUpdatedDateTime": "2023-11-07T05:31:56Z"
},
"error": [
{
"type": "UNKNOWN_ERROR",
"message": "<string>",
"param": "<string>"
}
]
}
],
"error": [
{
"type": "UNKNOWN_ERROR",
"message": "<string>",
"param": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, see Authentication for more detail.
Show child attributes