Requests
Requests that arrived through forms, hand-overs to a person and tickets.
Requests that arrived through forms, hand-overs to a person and tickets.
List requests (forms, hand-overs, tickets)
GET /requests
| Scope | Package | Idempotency-Key |
|---|---|---|
requests:read | Scale (API) | not used |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | 1 to 100. Default 25. |
offset | query | integer | Default 0. |
status | query | string | One of new, done. |
q | query | string | Words to find in the title or any field. |
Request
curl "https://hevia.app/api/v1/requests?status=new" \
-H "Authorization: Bearer $HEVIA_KEY"Response
200 OK.
JSON
{
"data": [
{
"id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"kind": "flow",
"title": "Website relaunch",
"flow_id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"conversation_id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"data": {},
"status": "new",
"created_at": "2026-11-10T09:30:00.000Z"
}
],
"pagination": {
"limit": 25,
"offset": 0,
"total": 1,
"next_offset": null
}
}Fields of Request:
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
kind | string | One of flow, handoff. |
title | string | |
flow_id | string | null | |
conversation_id | string | null | |
data | object | |
status | string | One of new, done. |
created_at | string (date-time) |
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | Invalid request |
| 401 | unauthorized | Missing or invalid key |
| 403 | insufficient_scope | The key or token does not have the scope of the endpoint. |
| 403 | plan_required | The business's package does not include the API (Scale) or the feature of the endpoint. |
| 429 | rate_limited | Rate limit (120 requests per minute and key); see the RateLimit-* headers |
One request
GET /requests/{id}
| Scope | Package | Idempotency-Key |
|---|---|---|
requests:read | Scale (API) | not used |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id (required) | path | string (uuid) | Id |
Request
curl "https://hevia.app/api/v1/requests/3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70" \
-H "Authorization: Bearer $HEVIA_KEY"Response
200 OK.
JSON
{
"data": {
"id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"kind": "flow",
"title": "Website relaunch",
"flow_id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"conversation_id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"data": {},
"status": "new",
"created_at": "2026-11-10T09:30:00.000Z"
}
}Fields of Request:
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
kind | string | One of flow, handoff. |
title | string | |
flow_id | string | null | |
conversation_id | string | null | |
data | object | |
status | string | One of new, done. |
created_at | string (date-time) |
Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | Missing or invalid key |
| 403 | insufficient_scope | The key or token does not have the scope of the endpoint. |
| 403 | plan_required | The business's package does not include the API (Scale) or the feature of the endpoint. |
| 404 | not_found | Not found |
| 429 | rate_limited | Rate limit (120 requests per minute and key); see the RateLimit-* headers |