POST
/
support
/
tickets
/
v1
/
comment
Create a support ticket comment
curl --request POST \
  --url https://api.spacebring.com/support/tickets/v1/comment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "activity": {
    "attachments": [
      {
        "key": "<string>"
      }
    ],
    "text": "<string>",
    "ticketRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}'
{
  "activity": {
    "createDate": "2023-11-07T05:31:56Z",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "membership": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "roleType": "<string>",
      "type": "<string>",
      "user": {
        "blocked": true,
        "email": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "phoneNumber": "<string>",
        "photoUrl": "<string>",
        "surname": "<string>"
      }
    },
    "ticketRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "comment",
    "data": {
      "attachments": [
        {
          "key": "<string>"
        }
      ],
      "text": "<string>",
      "status": "<string>",
      "membershipAssignee": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "roleType": "<string>",
        "type": "<string>",
        "user": {
          "blocked": true,
          "email": "<string>",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "phoneNumber": "<string>",
          "photoUrl": "<string>",
          "surname": "<string>"
        }
      },
      "previousAttributes": {
        "status": "<string>",
        "membershipAssignee": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "roleType": "<string>",
          "type": "<string>",
          "user": {
            "blocked": true,
            "email": "<string>",
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "name": "<string>",
            "phoneNumber": "<string>",
            "photoUrl": "<string>",
            "surname": "<string>"
          }
        }
      }
    }
  }
}

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Headers

spacebring-network-id
string

The id of the network. Required when using bearer token authentication

Body

application/json

Response

201
application/json

Created

The response is of type object.