Support Tickets
List of valid attributes:
Attribute | Description | Specifics |
---|---|---|
created_at | Timestamp when ticket was opened | Must not be empty, Cannot be set |
opened_by | ID of user who opened the ticket | Must not be empty, UUID type, Must be set |
ticket_number | Human-readable number of ticket | Incremental integer, Cannot be set |
Create
This endpoint opens a ticket. Every signed-in user can open a support ticket for themselves. Opening a support ticket results in a chat for this ticket where the user opening it is a participant.
Example request:
{ "data": { "id": "b057032d-35f2-489a-bcde-c3b1745971b5", "type": "support_ticket", "attributes": { "opened_by": "b057032d-35f2-489a-bcde-c3b1745971b5" } }}
Example response:
{ "data": { "id": "b057032d-35f2-489a-bcde-c3b1745971b5", "type": "support_ticket", "attributes": { ... } }}
HTTP Request
POST api/v1/support_tickets