پشتیبانی
درخواست از تیم پشتیبانی و پیگیری پاسخها.
/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).
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
statusstringکوئریopen, pending, closed, or active (not closed)
one of
open,pending,closed,activeseveritystringکوئریone of
low,normal,high,urgentcategorystringکوئریone of
billing,account,function,app,database,cache,storage,otherqstringکوئریsubject or number
sortstringکوئریone of
updated_at,created_at,number,severitydirstringکوئریone of
asc,descfromstring (date)کوئریcreated on or after
tostring (date)کوئریcreated on or before
limitintegerکوئری1-200, default 25
offsetintegerکوئری
پاسخ
200object
itemsSupportCase[]الزامیidstring (uuid)الزامیnumberintegerالزامیsubjectstringالزامیcategorystringالزامیone of
billing,account,function,app,database,cache,storage,otherseveritystringالزامیone of
low,normal,high,urgentstatusstringالزامیopen: 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
totalintegerالزامیlimitintegeroffsetintegersortstringdirstringsees_allbooleanowners and admins
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 500 | internal: an unexpected failure |
نمونه
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.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
بدنهٔ درخواستapplication/json
subjectstringالزامی3–200 characters
categorystringالزامیone of
billing,account,function,app,database,cache,storage,otherseveritystringone of
low,normal,high,urgent· default"normal"bodystringالزامی1–20000 characters
resourceobjectkindstringالزامیone of
function,app,database,cache,bucketnamestringالزامیone 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
typestringالزامیone of
image/png,image/jpeg,image/gif,image/webp,application/pdf,text/plain,text/csv,application/jsondatastringالزامیbase64; 2 MiB at most decoded
پاسخ
201SupportCase
idstring (uuid)الزامیnumberintegerالزامیsubjectstringالزامیcategorystringالزامیone of
billing,account,function,app,database,cache,storage,otherseveritystringالزامیone of
low,normal,high,urgentstatusstringالزامیopen: 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
خطاها
| وضعیت | توضیح |
|---|---|
| 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 |
نمونه
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).
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
idstring (uuid)مسیرالزامیcase id
پاسخ
200object
caseSupportCaseالزامیidstring (uuid)الزامیnumberintegerالزامیsubjectstringالزامیcategorystringالزامیone of
billing,account,function,app,database,cache,storage,otherseveritystringالزامیone of
low,normal,high,urgentstatusstringالزامیopen: 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[]الزامیidintegerالزامیfromstringالزامیone of
customer,staffauthorstring | nullthe customer's email; null for support
bodystringالزامیattachmentsSupportAttachment[]idstringالزامیpattern
^[0-9a-f]{24}$namestringالزامیtypestringالزامیsizeintegerالزامی
created_atstring (date-time)الزامی
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
نمونه
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).
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
idstring (uuid)مسیرالزامیcase id
بدنهٔ درخواستapplication/json
bodystringالزامی1–20000 characters
attachmentsSupportUpload[]up to 3
namestringup to 120 characters
typestringالزامیone of
image/png,image/jpeg,image/gif,image/webp,application/pdf,text/plain,text/csv,application/jsondatastringالزامیbase64; 2 MiB at most decoded
پاسخ
201object
messageintegerالزامیstatusstringالزامیattachmentsSupportAttachment[]idstringالزامیpattern
^[0-9a-f]{24}$namestringالزامیtypestringالزامیsizeintegerالزامی
خطاها
| وضعیت | توضیح |
|---|---|
| 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 |
نمونه
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).
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
idstring (uuid)مسیرالزامیcase id
پاسخ
200object
idstring (uuid)الزامیnumberintegerالزامیstatusstringالزامی
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
نمونه
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).
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
idstring (uuid)مسیرالزامیcase id
پاسخ
200object
idstring (uuid)الزامیnumberintegerالزامیstatusstringالزامی
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
نمونه
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).
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
idstring (uuid)مسیرالزامیcase id
filestringمسیرالزامیattachment id
pattern
^[0-9a-f]{24}$
پاسخ
200string (binary)application/octet-stream
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/support/cases/88e2fe1d-6d75-4de5-8c8f-27380ec66903/attachments/file" \
-H "Authorization: Bearer $KEY"