Generates short-lived access tokens for up to 1,000 active non-admin users in a single request. Requires ORG_ADMIN or campaign API-key access. The server always sets context to 'public_api_bulk'; callers may not supply their own context. Tokens issued with context public_api_bulk may be re-exchanged via POST /v3/loginToken for up to 24 hours after first use; immutable expiresAt always caps reuse, and the fixed 24-hour reuse window is not Organisation-configurable. Duplicate UUIDs in the input are deduplicated (first occurrence wins). Results are returned in the same order as the deduplicated input array, with per-user error codes for any user that could not be issued a token.
For custom components:
RaiselyComponents.api.all('users').all('access-tokens').all('batch').post(data = {}, params = {}, headers = {}) => Promise<{result}>
See Restie Response Data for a more detailed overview of responses through the client wrapper
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Invalid request body. Possible subcodes: empty_batch (userUuids is empty or missing), batch_too_large (more than 1000 entries), invalid_uuid (a non-UUID value in userUuids), context_not_allowed (caller supplied data.context)
404Access token generation is not enabled for this organisation