PEAK Create Client Token icon

PEAK Create Client Token

Send JSON payload to create client token

PEAK Create Client Token

AI-generated

Summary

Generates a client token for a PEAK API account by sending a POST request with HMAC-SHA1 signature authentication.

Inputs

  • serverEnvironment (required) — The API environment to use. Options are 'UAT' (development) or 'Production' (api.peakaccount.com).
  • connectKey (required) — The password for the PEAK API account associated with the Connect ID.

Output shape

One output item for each input item containing the API response, success status, and request headers.

If a Connect Key is missing, the operation fails immediately. Errors for individual items are returned as items with an 'error' property if 'Continue on Error' is enabled.

Examples

Example 1: Generate a client token for a production environment

Server Environment: Production; Connect Key: [configured password]

Example 2: Generate a client token for a UAT environment

Server Environment: UAT; Connect Key: [configured password]

Links

Discussion