Developer Portal · API Playground
Build with BhejDe APIs
Generate a Bearer token with your Client ID and Client Secret, then test live endpoints directly in your browser — no extra tooling needed.
RESTJSONClient ID + SecretBearer TokenHTTPS only
bhejde — api-client
step 1 — get token
❯curl -X POST api.bhejde.com/.../public/token
-H "Content-Type: application/json"
-d '{"clientId":"bdclient_xxx","clientSecret":"•••"}'
◆200 OK89ms
{ "data": { "token": "eyJhbGci…" } }
step 2 — call api
❯curl -X POST api.bhejde.com/.../order/create
-H "Authorization: Bearer eyJhbGci…"
❯
i
How to use the BhejDe Public API
- 1. Go to Settings → Webhooks and create an API client to get your
clientIdandclientSecret. - 2. Call
POST /api/v1/public/tokenwith your credentials to receive a short-lived Bearer token. - 3. Use that token in the
Authorization: Bearer <token>header for all subsequent API calls.
POST
Public/api/v1/public/tokenExchange your API client credentials (clientId + clientSecret) for a short-lived Bearer token. Create an API client first via Settings → Webhooks in your BhejDe account.
Request Body
1
2
3
4
Response
Sample Response
Run to see live response1
2
3
4
5
6
7
8
9
{"status": "success","message": "Token issued successfully.","data": {"token": "eyJhbGciOiJIUzI1NiIs...","expiresIn": 3600},"isSuccess": true}
