bulk create

Generates PURLs on the Campaign for up to 100 Users sharing one destination and field policy. Authentication, feature flag, Idempotency-Key, and expiry behave as for POST /campaigns/{campaign}/purls; with a key, each User's PURL is replayed independently of input order. User UUIDs are lower-cased and deduplicated (first occurrence wins); results follow that order. The request returns 200 even when some or every User fails: a failed item carries only userUuid and error.code, and never rolls back its siblings. As on the single route, an invalid shared destination or field policy is rejected with 400 before any PURL is minted or any budget is spent; 400, 401, 403, and 404 have the same meanings as on the single route, except that User misses are reported per item. Each Organisation has two default budgets (contact Support to change them): 30 batch calls per minute and 500 per day, and 3,000 deduplicated Users per minute and 50,000 per day. Unknown Users still count against the User budget. When a budget is exceeded, the 429 carries a Retry-After header in seconds; when a single batch is larger than the Organisation's per-minute or per-day User budget, the 429 has no Retry-After and the batch must be made smaller.

For custom components:

RaiselyComponents.api.one('campaigns', '{campaign}').all('purls').all('batch').post(data = {}, params = {}, headers = {}) => Promise<{result}>

See Restie Response Data for a more detailed overview of responses through the client wrapper

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The uuid, path or domain of the campaign to associate with the request

Body Params
data
object
required
Headers
string
length between 1 and 128

1-128 visible ASCII characters (no spaces). Never stored or echoed.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json