POST/api/v2/referrals/programs/{programId}/bulk/{jobId}/execute

POST /api/v2/referrals/programs/{programId}/bulk/{jobId}/execute

Authentication

Send your API key in the x-api-key header on every request.

Parameters

Request parameters
FieldTypeRequiredDescription
programId (path)string (uuid)Yes
jobId (path)string (uuid)Yes

Request body

application/json

Request body fields
FieldTypeRequiredDescription
PayloadHashstringYes
IdempotencyKeystringYes
SelectedRowsarray of unknownNoOmit for all-or-nothing. Explicit row numbers opt in to executing only these valid rows atomically.

Responses

200 — OK

Response 200 fields
FieldTypeRequiredDescription
Idstring (uuid)Yes
ProgramIdstring (uuid)Yes
ProgramRevisionunknownYes
PayloadHashstringYes
ExpiresAtstring (date-time)Yes
StatusstringYes
ExecutedAtstring (date-time)Yes
Rowsarray of ReferralBulkRowResponseYes

Example request

curl -X POST "https://{base_url}/api/v2/referrals/programs/{programId}/bulk/{jobId}/execute" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"PayloadHash":"…","IdempotencyKey":"…"}'

This page is generated from the live OpenAPI specification and always matches the current API.