Skip to main content
POST
Grant credits in bulk

Authorizations

Authorization
string
header
required

Your secret API key (zen_live_…), sent as Authorization: Bearer <key>. Backend-to-backend only — never expose it in a browser. See Authentication.

Body

application/json
items
object[]
required

Each clientId must be unique within the batch.

Required array length: 1 - 100 elements
sendEmail
boolean
default:true

Applies to every item in the batch.

Response

Per-item results and a summary. Returned even when some items failed.

statusCode
integer
Example:

200

message
string
Example:

"Success"

data
object