BhejDe
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. 1. Go to Settings → Webhooks and create an API client to get your clientId and clientSecret.
  2. 2. Call POST /api/v1/public/token with your credentials to receive a short-lived Bearer token.
  3. 3. Use that token in the Authorization: Bearer <token> header for all subsequent API calls.
POST/api/v1/public/token
Public

Exchange 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 response
1
2
3
4
5
6
7
8
9
{
"status": "success",
"message": "Token issued successfully.",
"data": {
"token": "eyJhbGciOiJIUzI1NiIs...",
"expiresIn": 3600
},
"isSuccess": true
}