Skip to main content
POST
Create a new user-managed API token

Authorizations

Authorization
string
header
required

Bearer token issued via the Authentication endpoints.

Headers

Authorization
string
required

A bearer authorization header containing a Risk Cloud API access token in the format Authorization: Bearer TOKEN — replace TOKEN with your actual access token.

To obtain a Risk Cloud API access token, refer to Obtain an API Access Token in the LogicGate Help Center.

Body

application/json

Request body for creating a new user-managed API token.

name
string
required

Human-readable label for the token (e.g. "My Zapier integration").

Maximum string length: 100

Response

200 - application/json

OK

Newly created token including the one-time plaintext access and refresh secrets. Neither plaintext can be retrieved later.

accessToken
string

The access token to use as a Bearer credential. Shown once.

refreshToken
string

The refresh token to use against POST /api/v2/account/token to create a fresh access token without UI re-creation. Shown once.

token
object

The persisted token row's metadata. Mirrors a single row from GET /api/v1/account/tokens so a client can populate the Access Keys table without a follow-up request after creation.