Client tokens

Create a client-side token

Changed on

Creates a new client-side token.

If successful, your response includes a copy of the new client-side token entity.

post/client-tokens

Request

  • Base URL
    https://sandbox-api.paddle.com
  • Auth
    HTTP bearer

Request body

namestring required

Short name of this client-side token. Typically unique and human-identifiable.

descriptionstring

Short description of this client-side token. Typically gives details about what the token is used for and where it's used.

Response

The request has succeeded and a new resource has been created as a result.

Example response

{
  "data": {
    "id": "ctkn_01ghbkd0frb9k95cnhwd1bxpvk",
    "revoked_at": "2024-10-12T07:20:50.52Z",
    "created_at": "2024-10-12T07:20:50.52Z",
    "updated_at": "2024-10-13T07:20:50.52Z"
  },
  "meta": {
    "request_id": "b15ec92e-8688-40d4-a04d-f44cbec93355"
  }
}

Changes