Bojangles API
Generate Bojangles accounts via OloAuth + Braze + Sparkfly, with one-time-password retrieval — over the unified AutoMunch generation API.
Overview
The Bojangles API is part of AutoMunch's unified generation API — the same endpoints work for every brand,
you just set brand to
bojangles. OTP retrieval is supported for sign-in.
https://api.automunch.site
| Brand value | Aliases | Cost | OTP | Notes |
|---|---|---|---|---|
bojangles | bojan | 1 credit | ✓ | OloAuth + Braze + Sparkfly. OTP available |
Authentication
Bearer token in the Authorization header.
Keys are prefixed am_live_ and minted with /api_key on Discord.
Authorization: Bearer am_live_your_key_here
Async Jobs
Generation runs as a background job. POST /v1/gen returns 202 with a job; poll
GET /v1/jobs/{id} until completed.
Developer Snapshot
curl -H "Authorization: Bearer am_live_..." \ https://api.automunch.site/v1/me
{ "owner_user_id": "123456789012345678", "credits": 25,
"settings": { "bojan_ready": true }, "brands": ["whataburger", "bojangles", "ubereats"] }
Generate Accounts
Set brand to bojangles.
| Field | Type | Required | Notes |
|---|---|---|---|
brand | string | Yes | bojangles or bojan |
amount | integer | Yes | Accounts to generate |
customer_ref | string | No | Your customer identifier |
curl -X POST \
-H "Authorization: Bearer am_live_..." \
-H "Content-Type: application/json" \
-d '{"brand": "bojangles", "amount": 1, "customer_ref": "discord:123"}' \
https://api.automunch.site/v1/gen
import requests
H = {"Authorization": "Bearer am_live_..."}
r = requests.post("https://api.automunch.site/v1/gen", headers=H,
json={"brand": "bojangles", "amount": 1})
print(r.json()["job"]["job_id"])
{ "job": { "job_id": "9f7b...555", "brand": "bojangles", "amount": 1, "status": "queued" } }
Poll Job Status
{
"job": {
"job_id": "9f7b...555", "brand": "bojangles", "status": "completed",
"result": {
"generated_count": 1, "failed_count": 0,
"accounts": [
{ "id": 1842, "brand": "bojangles", "email": "example@domain.com",
"phone": "5551234567", "first_name": "James", "last_name": "Smith",
"member_uuid": "abc-123", "rewards": [] }
],
"credits_remaining": 24
}
}
}
List Accounts
curl -H "Authorization: Bearer am_live_..." \ "https://api.automunch.site/v1/accounts?brand=bojangles"
Fetch OTP
Use the account's id from the generation result.
curl -X POST \
-H "Authorization: Bearer am_live_..." \
-H "Content-Type: application/json" \
-d '{"brand": "bojangles"}' \
https://api.automunch.site/v1/accounts/1842/otp
{ "account_id": 1842, "brand": "bojangles", "email": "example@domain.com", "otp": "123456" }
Error Codes
| Status | Error | Meaning |
|---|---|---|
401 | unauthorized | Missing, invalid, or revoked API key. |
402 | insufficient_credits | Not enough credits. |
400 | settings_required | Configure /settings before generating. |
409 | active_job_exists | You already have a running job. |
504 | otp_not_found | No OTP within the polling window. |
