sondahub / Helpdesk API / Teams
Fake teams API
4 teams from the Helpdesk API, a fake helpdesk API. Support teams.
Reads with filters, sorting, search and relations; writes that answer like a real server and stay in your session token. Same ids on every build. Free, no key, CORS open.
Connect
- List
- https://api.sondahub.com/v1/helpdesk/teams
- One record
- https://api.sondahub.com/v1/helpdesk/teams/{id}
- OpenAPI 3
- https://api.sondahub.com/v1/helpdesk/openapi.json
- GraphQL
- https://api.sondahub.com/v1/helpdesk/graphql
- JSON file
- https://api.sondahub.com/data/helpdesk/teams.json
- MCP
- https://api.sondahub.com/mcp · list_records
curl "https://api.sondahub.com/v1/helpdesk/teams?limit=3"
Sample records
Records 1 to 3 of 4, exactly as GET /v1/helpdesk/teams/{id} answers them. The data file holds all of them.
[
{
"id": 1,
"created_at": "2024-06-23T12:00:00Z",
"updated_at": "2024-06-23T12:00:00Z",
"name": "Tier 1",
"slug": "tier-1",
"timezone": "America/New_York",
"hours": "24/7"
},
{
"id": 2,
"created_at": "2024-06-23T12:00:00Z",
"updated_at": "2024-06-23T12:00:00Z",
"name": "Tier 2",
"slug": "tier-2",
"timezone": "America/New_York",
"hours": "Mon–Fri 08:00–20:00"
},
{
"id": 3,
"created_at": "2024-06-23T12:00:00Z",
"updated_at": "2024-06-23T12:00:00Z",
"name": "Billing",
"slug": "billing",
"timezone": "Europe/Dublin",
"hours": "Mon–Fri 09:00–18:00"
}
]
Fields
| Field | Type | Notes |
|---|---|---|
idread-only | int | Assigned by the server. Seed records keep their ids across restarts; records you create continue after the seed. |
created_atread-only | datetime | When the record was created (ISO 8601, UTC). |
updated_atread-only | datetime | When the record last changed. |
namerequired | string | |
slug | string | |
timezone | string | |
hours | string |
Relations: agents → the agents whose team_id is this team. Use ?expand=agents to embed them, or the nested routes.
Endpoints
Try it
curl "https://api.sondahub.com/v1/helpdesk/teams?limit=3"
curl https://api.sondahub.com/v1/helpdesk/teams/1
curl "https://api.sondahub.com/v1/helpdesk/teams/1/agents?limit=5"
curl -i -X POST https://api.sondahub.com/v1/helpdesk/teams \
-H "Content-Type: application/json" \
-d '{"name":"Tier 1","hours":"24/7"}'
curl "https://api.sondahub.com/v1/helpdesk/teams?sort=-id&limit=3" \ -H "X-Sondahub-Session: THE_TOKEN_FROM_THE_CREATE"
curl -X PATCH https://api.sondahub.com/v1/helpdesk/teams/1 \
-H "Content-Type: application/json" \
-d '{"name":"Changed name"}'
curl -X DELETE https://api.sondahub.com/v1/helpdesk/teams/5 \ -H "X-Sondahub-Session: THE_TOKEN_FROM_THE_CREATE"
Query recipes
Every list option works on teams; these are ready to paste. All the options.
| What | Request |
|---|---|
| Page 2, 50 at a time (of 4) | /v1/helpdesk/teams?page=2&limit=50 |
| Newest first by created at | /v1/helpdesk/teams?sort=-created_at&limit=5 |
| Name contains “tier” | /v1/helpdesk/teams?name_like=tier |
| Full-text search | /v1/helpdesk/teams?q=tier |
| Only some fields | /v1/helpdesk/teams?fields=id,name&limit=5 |
| Its agents (nested route) | /v1/helpdesk/teams/1/agents?limit=5 |
| Just the count | /v1/helpdesk/teams?limit=1&fields=id |
GraphQL
The same teams as the teams query on https://api.sondahub.com/v1/helpdesk/graphql, and one team as team(id: 1). Introspection is on. More on the GraphQL API.
{
teams(limit: 3, sort: "-id") {
total
data {
id name slug timezone
agents(limit: 2) { id }
}
}
}
curl https://api.sondahub.com/v1/helpdesk/graphql -H "Content-Type: application/json" -d '{"query": "{ teams(limit: 3, sort: \"-id\") { total data { id name slug timezone agents(limit: 2) { id } } } }"}'
From an AI agent (MCP)
The MCP server reaches the same rows with list_records, get_record, create_record, update_record and delete_record, and as the resource sondahub://helpdesk/teams.
curl https://api.sondahub.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_records","arguments":{"api":"helpdesk","collection":"teams","limit":3}}}'
More in the Helpdesk API
agents (25) · customers (300) · tickets (2,000) · messages (5,069)
The live streams, and the whole API on one page: Helpdesk API. Other worlds: fake e-commerce API, fake IoT API, fake banking API, fake social media API, fake flight booking API, fake user directory API.