Help, contact and legal texts
Ids, names and times in the examples are samples. Read the real values from the API.
Reads and helpful answers count as they do in the app, and your keys share the Help Center’s hourly budget with the people in the app. A count past it is simply not counted: an article always answers.
List the Help Center articles
Every published article in the Help Center’s order, both languages, without its answer. topic narrows the list to one topic. most_read_ids is the Help Center’s الأكثر قراءة, most read first; while B7R cannot read the counts it lists the first five articles in the Help Center’s order instead, and the articles still answer.
Headers
Bearer b7r_live_.... A key with the tickets:read area. X-B7R-Key works too; send one, never both.
ar for Arabic error titles; anything else gives English. Codes never change.
Query
One of getting_started, products, stores, orders_shipping, wallet, account.
Answer
Child fields
UTC, ISO 8601, milliseconds, Z
The most-read articles, most read first, as the Help Center lists them
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl https://api.b7r.app/v1/help/articles \
-H "Authorization: Bearer $B7R_API_KEY"const res = await fetch("https://api.b7r.app/v1/help/articles", {
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.b7r.app/v1/help/articles",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
},
timeout=30,
)
data = res.json(){
"data": [
{
"id": "3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c",
"slug": "top-up-your-wallet",
"topic": "wallet",
"title_ar": "كيف أعبئ رصيد المحفظة؟",
"title_en": "How do I top up my wallet?",
"updated_at": "2026-11-20T08:00:00.000Z"
}
],
"most_read_ids": [
"3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c"
]
}Read one article
The article with its answer in both languages. The read is counted once a day per account, as in the app. An article that is not published answers 404 not_found.
Headers
Bearer b7r_live_.... A key with the tickets:read area. X-B7R-Key works too; send one, never both.
ar for Arabic error titles; anything else gives English. Codes never change.
Path
Answer
UTC, ISO 8601, milliseconds, Z
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 404 | not_found | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl https://api.b7r.app/v1/help/articles/{id} \
-H "Authorization: Bearer $B7R_API_KEY"const res = await fetch("https://api.b7r.app/v1/help/articles/{id}", {
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.b7r.app/v1/help/articles/{id}",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
},
timeout=30,
)
data = res.json(){
"id": "3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c",
"slug": "top-up-your-wallet",
"topic": "wallet",
"title_ar": "كيف أعبئ رصيد المحفظة؟",
"title_en": "How do I top up my wallet?",
"updated_at": "2026-11-20T08:00:00.000Z",
"answer_ar": "من صفحة المحفظة اختر تعبئة الرصيد، ثم اختر طريقة الدفع.",
"answer_en": "From the wallet page, choose Top up, then the way to pay."
}Search the articles
The Help Center’s own search, best match first, at most 20. It searches the language you name in locale, or the request’s language when you name none.
Headers
Bearer b7r_live_.... A key with the tickets:read area. X-B7R-Key works too; send one, never both.
A new value per operation (up to 255 letters, digits, ., _, : or -; a UUID works), the same value on its retries. See Safe retries.
application/json, when the request has a body.
ar for Arabic error titles; anything else gives English. Codes never change.
Body
1 to 200.
The language searched; the request locale when absent One of ar, en.
Answer
Child fields
UTC, ISO 8601, milliseconds, Z
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 400 | idempotency_key_required | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 413 | request_too_large | No |
| 415 | unsupported_media_type | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl -X POST https://api.b7r.app/v1/help/search \
-H "Authorization: Bearer $B7R_API_KEY" \
-H "Idempotency-Key: $(uuidgen 2>/dev/null || node -e 'console.log(crypto.randomUUID())')" \
-H "Content-Type: application/json" \
-d '{
"query": "تعبئة الرصيد",
"locale": "ar"
}'const res = await fetch("https://api.b7r.app/v1/help/search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"query": "تعبئة الرصيد",
"locale": "ar"
}),
});
const data = await res.json();import os, requests, uuid
res = requests.post(
"https://api.b7r.app/v1/help/search",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"query": "تعبئة الرصيد",
"locale": "ar"
},
timeout=30,
)
data = res.json(){
"data": [
{
"id": "3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c",
"slug": "top-up-your-wallet",
"topic": "wallet",
"title_ar": "كيف أعبئ رصيد المحفظة؟",
"title_en": "How do I top up my wallet?",
"updated_at": "2026-11-20T08:00:00.000Z"
}
]
}Say whether an article helped
One answer per article a year, as in the app. counted is false when this account already answered the article this year, or the hour’s budget is used; the call still succeeds.
Headers
Bearer b7r_live_.... A key with the tickets:write area. X-B7R-Key works too; send one, never both.
A new value per operation (up to 255 letters, digits, ., _, : or -; a UUID works), the same value on its retries. See Safe retries.
application/json, when the request has a body.
ar for Arabic error titles; anything else gives English. Codes never change.
Path
Body
Answer
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 400 | idempotency_key_required | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 404 | not_found | No |
| 409 | idempotency_mismatch | No |
| 409 | idempotency_in_flight | Yes |
| 413 | request_too_large | No |
| 415 | unsupported_media_type | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl -X POST https://api.b7r.app/v1/help/articles/{id}/vote \
-H "Authorization: Bearer $B7R_API_KEY" \
-H "Idempotency-Key: $(uuidgen 2>/dev/null || node -e 'console.log(crypto.randomUUID())')" \
-H "Content-Type: application/json" \
-d '{
"helpful": true
}'const res = await fetch("https://api.b7r.app/v1/help/articles/{id}/vote", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"helpful": true
}),
});
const data = await res.json();import os, requests, uuid
res = requests.post(
"https://api.b7r.app/v1/help/articles/{id}/vote",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"helpful": True
},
timeout=30,
)
data = res.json(){
"counted": true
}How to reach support
The WhatsApp link and the email the Help Center shows. Either is null when B7R has not set it.
Headers
Bearer b7r_live_.... A key with the tickets:read area. X-B7R-Key works too; send one, never both.
ar for Arabic error titles; anything else gives English. Codes never change.
Answer
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl https://api.b7r.app/v1/support-contact \
-H "Authorization: Bearer $B7R_API_KEY"const res = await fetch("https://api.b7r.app/v1/support-contact", {
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.b7r.app/v1/support-contact",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
},
timeout=30,
)
data = res.json(){
"whatsapp_url": "https://wa.me/966500000000",
"email": "support@b7r.app"
}Read the legal texts
Every published legal text at its current version, in Arabic and English HTML. version is the number a consent names: opening a store takes the versions you showed. The three store texts (store_faq, store_terms, store_privacy) are templates: template is true, and their store-name placeholder is filled with each store’s name.
Headers
Bearer b7r_live_.... A key with the tickets:read area. X-B7R-Key works too; send one, never both.
ar for Arabic error titles; anything else gives English. Codes never change.
Answer
Child fields
One of terms, privacy, creator_agreement, store_faq, store_terms, store_privacy, api_terms.
A store text: its store-name placeholder is filled per store
The version a consent names (opening a store takes it)
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl https://api.b7r.app/v1/legal-texts \
-H "Authorization: Bearer $B7R_API_KEY"const res = await fetch("https://api.b7r.app/v1/legal-texts", {
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.b7r.app/v1/legal-texts",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
},
timeout=30,
)
data = res.json(){
"data": [
{
"kind": "creator_agreement",
"template": false,
"version": 3,
"published_at": "2026-11-01T09:00:00.000Z",
"html_ar": "<h2>اتفاقية صانع المحتوى</h2><p>...</p>",
"html_en": "<h2>Creator agreement</h2><p>...</p>"
}
]
}Read the feedback form
The form behind the feedback button, at the version the app shows, or form: null when none is set. Answer it with the id and version_id it gives.
Headers
Bearer b7r_live_.... A key with the tickets:read area. X-B7R-Key works too; send one, never both.
ar for Arabic error titles; anything else gives English. Codes never change.
Answer
Child fields
Child fields
One of short_text, long_text, single_choice, multi_choice, rating, yes_no.
Child fields
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl https://api.b7r.app/v1/forms/current \
-H "Authorization: Bearer $B7R_API_KEY"const res = await fetch("https://api.b7r.app/v1/forms/current", {
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.b7r.app/v1/forms/current",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
},
timeout=30,
)
data = res.json(){
"form": {
"id": "f0f0f0f0-0000-4000-8000-000000000001",
"version_id": "6a5b4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d",
"version_number": 2,
"title_ar": "ملاحظة",
"title_en": "Feedback",
"description_ar": null,
"description_en": null,
"questions": [
{
"id": "7b6c5d4e-3f2a-4b1c-8d9e-0f1a2b3c4d5e",
"kind": "rating",
"position": 0,
"label_ar": "ما تقييمك للتجربة؟",
"label_en": "How was it?",
"help_ar": null,
"help_en": null,
"required": true,
"options": []
},
{
"id": "8c7d6e5f-4a3b-4c2d-9e0f-1a2b3c4d5e6f",
"kind": "long_text",
"position": 1,
"label_ar": "ملاحظتك",
"label_en": "Your note",
"help_ar": null,
"help_en": null,
"required": false,
"options": []
}
]
}
}Answer the feedback form
answers maps each question’s id to its value: text, an option id, a list of option ids, a rating from 1 to 5, or true or false. The answers are your own words: they are never kept in the record of a call, and the answer holds ids only. An answer can open a support ticket, as it does in the app; then ticket_id and ticket_number name it.
Refused with 400 invalid_request: form_not_current at /body/form_id when the form is closed or no longer behind the button, or at /body/version_id for a version it does not take (read the form again); invalid_answer at /body/answers when an answer does not fit its question or a required one is missing. Your keys share the app’s hourly answer limit.
Headers
Bearer b7r_live_.... A key with the tickets:write area. X-B7R-Key works too; send one, never both.
A new value per operation (up to 255 letters, digits, ., _, : or -; a UUID works), the same value on its retries. See Safe retries.
application/json, when the request has a body.
ar for Arabic error titles; anything else gives English. Codes never change.
Body
By question id; your own words, never stored with the answer
One of ar, en.
The page of your app the answer is about, a path like /orders At most 500.
Answer
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 400 | idempotency_key_required | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 404 | not_found | No |
| 409 | idempotency_mismatch | No |
| 409 | idempotency_in_flight | Yes |
| 413 | request_too_large | No |
| 415 | unsupported_media_type | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl -X POST https://api.b7r.app/v1/forms/answers \
-H "Authorization: Bearer $B7R_API_KEY" \
-H "Idempotency-Key: $(uuidgen 2>/dev/null || node -e 'console.log(crypto.randomUUID())')" \
-H "Content-Type: application/json" \
-d '{
"form_id": "f0f0f0f0-0000-4000-8000-000000000001",
"version_id": "6a5b4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d",
"answers": {
"7b6c5d4e-3f2a-4b1c-8d9e-0f1a2b3c4d5e": 4,
"8c7d6e5f-4a3b-4c2d-9e0f-1a2b3c4d5e6f": "الشحن تأخر يومًا"
},
"locale": "ar"
}'const res = await fetch("https://api.b7r.app/v1/forms/answers", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"form_id": "f0f0f0f0-0000-4000-8000-000000000001",
"version_id": "6a5b4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d",
"answers": {
"7b6c5d4e-3f2a-4b1c-8d9e-0f1a2b3c4d5e": 4,
"8c7d6e5f-4a3b-4c2d-9e0f-1a2b3c4d5e6f": "الشحن تأخر يومًا"
},
"locale": "ar"
}),
});
const data = await res.json();import os, requests, uuid
res = requests.post(
"https://api.b7r.app/v1/forms/answers",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"form_id": "f0f0f0f0-0000-4000-8000-000000000001",
"version_id": "6a5b4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d",
"answers": {
"7b6c5d4e-3f2a-4b1c-8d9e-0f1a2b3c4d5e": 4,
"8c7d6e5f-4a3b-4c2d-9e0f-1a2b3c4d5e6f": "الشحن تأخر يومًا"
},
"locale": "ar"
},
timeout=30,
)
data = res.json(){
"response_id": "9d8e7f6a-5b4c-4d3e-8f0a-1b2c3d4e5f6a",
"ticket_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"ticket_number": 1043
}