Every operation of the public API v1 in the Support area, with the key scope it needs, its parameters, a request in curl, JavaScript and Python, and a response. Start with the API reference overview for authentication, errors, pagination, rate limits and idempotency; the clients are described in SDKs and the command-line tool.
Try it with your key: create an API key in the console, run
export APIDLY_API_KEY=...in your terminal, then paste any curl example below. Example values are illustrative. There is no place to enter a key on this page.
| Operation | Required scope | Summary |
|---|---|---|
GET /support/tickets |
read |
Support tickets of the organization, latest activity first |
POST /support/tickets |
servers |
Open a support ticket |
GET /support/tickets/{id} |
read |
One ticket with its messages, oldest first |
POST /support/tickets/{id}/messages |
servers |
Reply to a ticket |
POST /support/tickets/{id}/close |
servers |
Close a ticket |
GET /support/tickets
Support tickets of the organization, latest activity first
Required scope: read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit |
query | integer | no | |
cursor |
query | string | no | |
status |
query | open | pending | closed |
no |
Example request (curl)
curl "https://apidly.com/api/v1/support/tickets?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.support.listTickets({ limit: 20 });Python (SDK)
client.support.list_tickets()Command-line tool: apidly support (CLI reference)
Example response (200)
{
"tickets": [
{
"id": "example",
"subject": "example",
"category": "example",
"status": "open",
"priority": "example",
"openedBy": "example",
"createdAt": "2026-11-21T10:00:00.000Z",
"updatedAt": "2026-11-21T10:00:00.000Z"
}
],
"nextCursor": "example"
}Error statuses: 400, 401, 403, 429.
POST /support/tickets
Open a support ticket
Staff answer by e-mail and in the console. priority is low, normal or high. serverId is added to the text as the related server.
Required scope: servers
Request body
| Name | Type | Required | Description |
|---|---|---|---|
subject |
string | yes | |
category |
string | no | |
priority |
low | normal | high |
no | |
message |
string | yes | |
serverId |
string | no |
Example request (curl)
curl -X POST "https://apidly.com/api/v1/support/tickets" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"subject":"example","message":"example"}'JavaScript (SDK)
await apidly.support.createTicket({
subject: "example",
message: "example"
});Python (SDK)
client.support.create_ticket(subject="example", message="example")Command-line tool: apidly support (CLI reference)
Example response (201)
{
"ticket": {
"id": "example",
"subject": "example",
"category": "example",
"status": "open",
"priority": "example",
"openedBy": "example",
"createdAt": "2026-11-21T10:00:00.000Z",
"updatedAt": "2026-11-21T10:00:00.000Z"
}
}Error statuses: 400, 401, 403, 429.
GET /support/tickets/{id}
One ticket with its messages, oldest first
Required scope: read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Example request (curl)
curl "https://apidly.com/api/v1/support/tickets/support_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.support.getTicket("support_example");Python (SDK)
client.support.get_ticket("support_example")Command-line tool: apidly support (CLI reference)
Example response (200)
{
"ticket": {
"key": null
}
}Error statuses: 401, 403, 404, 429.
POST /support/tickets/{id}/messages
Reply to a ticket
Reopens the ticket. 409 ticket_closed on a closed ticket.
Required scope: servers
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
message |
string | yes |
Example request (curl)
curl -X POST "https://apidly.com/api/v1/support/tickets/support_example/messages" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message":"example"}'JavaScript (SDK)
await apidly.support.reply("support_example", "example");Python (SDK)
client.support.reply("support_example", message="example")Command-line tool: apidly support (CLI reference)
Example response (201)
{
"message": {
"key": null
}
}Error statuses: 400, 401, 403, 404, 409, 429.
POST /support/tickets/{id}/close
Close a ticket
Required scope: servers
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Example request (curl)
curl -X POST "https://apidly.com/api/v1/support/tickets/support_example/close" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.support.close("support_example");Python (SDK)
client.support.close("support_example")Command-line tool: apidly support (CLI reference)
Example response (200)
{
"ok": false
}Error statuses: 401, 403, 404, 429.
Ready to try it?
Create a free account and add credit when you want to start a server. The smallest top-up is $10.
Was this helpful?