Skip to main content
POST
/
v6
/
conversations
Save 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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, see Authentication for more detail.

Body

application/json
data
object[]
required

Response

Success

result
enum<string>

The result of the action performed.

Available options:
SUCCESS,
FAILURE
data
object[]

The data generated by the action performed.

error
object[]