Support
Support cases: ask the platform's support team, follow their answers.
/v1/support/casesThe cases you may see#
Owners and admins: every case of the team; other roles and API keys: the cases they opened (others answer 404).
- Credential
- An API key or a dashboard session
- Roles
- Any role
Parameters
statusstringqueryopen, pending, closed, or active (not closed)
one of
open,pending,closed,activeseveritystringqueryone of
low,normal,high,urgentcategorystringqueryone of
billing,account,function,app,database,cache,storage,otherqstringquerysubject or number
sortstringqueryone of
updated_at,created_at,number,severitydirstringqueryone of
asc,descfromstring (date)querycreated on or after
tostring (date)querycreated on or before
limitintegerquery1-200, default 25
offsetintegerquery
Response
200object
itemsSupportCase[]requiredidstring (uuid)requirednumberintegerrequiredsubjectstringrequiredcategorystringrequiredone of
billing,account,function,app,database,cache,storage,otherseveritystringrequiredone of
low,normal,high,urgentstatusstringrequiredopen: waiting on support; pending: waiting on you
one of
open,pending,closedresourceobject | nullkindstringone of
function,app,database,cache,bucketnamestring
opened_bystringthe opener's email
waiting_onstring | nullone of
support,youmessagesintegermessages you can see
created_atstring (date-time)updated_atstring (date-time)closed_atstring (date-time) | null
totalintegerrequiredlimitintegeroffsetintegersortstringdirstringsees_allbooleanowners and admins
Errors
| Status | Description |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 500 | internal: an unexpected failure |
Example
curl "https://api.ibel.ai/v1/support/cases" \
-H "Authorization: Bearer $KEY"/v1/support/casesOpen a case#
Any member or API key. Urgent needs Pro. At most 20 cases a day per team. Body up to 10 MiB.
- Credential
- An API key or a dashboard session
- Roles
- Any role
Request bodyapplication/json
subjectstringrequired3–200 characters
categorystringrequiredone of
billing,account,function,app,database,cache,storage,otherseveritystringone of
low,normal,high,urgent· default"normal"bodystringrequired1–20000 characters
resourceobjectkindstringrequiredone of
function,app,database,cache,bucketnamestringrequiredone DNS label: lowercase letters, digits and hyphens, 1-63 characters, no
--pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 characters
attachmentsSupportUpload[]up to 3
namestringup to 120 characters
typestringrequiredone of
image/png,image/jpeg,image/gif,image/webp,application/pdf,text/plain,text/csv,application/jsondatastringrequiredbase64; 2 MiB at most decoded
Response
201SupportCase
idstring (uuid)requirednumberintegerrequiredsubjectstringrequiredcategorystringrequiredone of
billing,account,function,app,database,cache,storage,otherseveritystringrequiredone of
low,normal,high,urgentstatusstringrequiredopen: waiting on support; pending: waiting on you
one of
open,pending,closedresourceobject | nullkindstringone of
function,app,database,cache,bucketnamestring
opened_bystringthe opener's email
waiting_onstring | nullone of
support,youmessagesintegermessages you can see
created_atstring (date-time)updated_atstring (date-time)closed_atstring (date-time) | null
Errors
| Status | Description |
|---|---|
| 400 | Bad request: bad_request, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: plan_required |
| 404 | Not found: not_found |
| 413 | Body too large: too_large |
| 429 | Too many requests: rate_limited |
| 500 | internal: an unexpected failure |
Example
curl -X POST "https://api.ibel.ai/v1/support/cases" \
-H "Authorization: Bearer $KEY" \
-d '{"subject":"…","category":"billing","body":"…"}'/v1/support/cases/{id}A case and its messages#
Owners and admins: every case of the team; other roles and API keys: the cases they opened (others answer 404).
- Credential
- An API key or a dashboard session
- Roles
- Any role
Parameters
idstring (uuid)pathrequiredcase id
Response
200object
caseSupportCaserequiredidstring (uuid)requirednumberintegerrequiredsubjectstringrequiredcategorystringrequiredone of
billing,account,function,app,database,cache,storage,otherseveritystringrequiredone of
low,normal,high,urgentstatusstringrequiredopen: waiting on support; pending: waiting on you
one of
open,pending,closedresourceobject | nullkindstringone of
function,app,database,cache,bucketnamestring
opened_bystringthe opener's email
waiting_onstring | nullone of
support,youmessagesintegermessages you can see
created_atstring (date-time)updated_atstring (date-time)closed_atstring (date-time) | null
messagesSupportMessage[]requiredidintegerrequiredfromstringrequiredone of
customer,staffauthorstring | nullthe customer's email; null for support
bodystringrequiredattachmentsSupportAttachment[]idstringrequiredpattern
^[0-9a-f]{24}$namestringrequiredtypestringrequiredsizeintegerrequired
created_atstring (date-time)required
Errors
| Status | Description |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
Example
curl "https://api.ibel.ai/v1/support/cases/88e2fe1d-6d75-4de5-8c8f-27380ec66903" \
-H "Authorization: Bearer $KEY"/v1/support/cases/{id}/messagesReply (a closed case opens again)#
Owners and admins: every case of the team; other roles and API keys: the cases they opened (others answer 404).
- Credential
- An API key or a dashboard session
- Roles
- Any role
Parameters
idstring (uuid)pathrequiredcase id
Request bodyapplication/json
bodystringrequired1–20000 characters
attachmentsSupportUpload[]up to 3
namestringup to 120 characters
typestringrequiredone of
image/png,image/jpeg,image/gif,image/webp,application/pdf,text/plain,text/csv,application/jsondatastringrequiredbase64; 2 MiB at most decoded
Response
201object
messageintegerrequiredstatusstringrequiredattachmentsSupportAttachment[]idstringrequiredpattern
^[0-9a-f]{24}$namestringrequiredtypestringrequiredsizeintegerrequired
Errors
| Status | Description |
|---|---|
| 400 | Bad request: bad_request, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | Not found: not_found |
| 413 | Body too large: too_large |
| 500 | internal: an unexpected failure |
Example
curl -X POST "https://api.ibel.ai/v1/support/cases/88e2fe1d-6d75-4de5-8c8f-27380ec66903/messages" \
-H "Authorization: Bearer $KEY" \
-d '{"body":"…"}'/v1/support/cases/{id}/closeClose a case#
Owners and admins: every case of the team; other roles and API keys: the cases they opened (others answer 404).
- Credential
- An API key or a dashboard session
- Roles
- Any role
Parameters
idstring (uuid)pathrequiredcase id
Response
200object
idstring (uuid)requirednumberintegerrequiredstatusstringrequired
Errors
| Status | Description |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
Example
curl -X POST "https://api.ibel.ai/v1/support/cases/88e2fe1d-6d75-4de5-8c8f-27380ec66903/close" \
-H "Authorization: Bearer $KEY"/v1/support/cases/{id}/reopenOpen a closed case again#
Owners and admins: every case of the team; other roles and API keys: the cases they opened (others answer 404).
- Credential
- An API key or a dashboard session
- Roles
- Any role
Parameters
idstring (uuid)pathrequiredcase id
Response
200object
idstring (uuid)requirednumberintegerrequiredstatusstringrequired
Errors
| Status | Description |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
Example
curl -X POST "https://api.ibel.ai/v1/support/cases/88e2fe1d-6d75-4de5-8c8f-27380ec66903/reopen" \
-H "Authorization: Bearer $KEY"/v1/support/cases/{id}/attachments/{file}Download an attachment#
Owners and admins: every case of the team; other roles and API keys: the cases they opened (others answer 404).
- Credential
- An API key or a dashboard session
- Roles
- Any role
Parameters
idstring (uuid)pathrequiredcase id
filestringpathrequiredattachment id
pattern
^[0-9a-f]{24}$
Response
200string (binary)application/octet-stream
Errors
| Status | Description |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
Example
curl "https://api.ibel.ai/v1/support/cases/88e2fe1d-6d75-4de5-8c8f-27380ec66903/attachments/file" \
-H "Authorization: Bearer $KEY"