Aisello icon

Aisello

Interact with the Aisello API

Approval Token → Create

AI-generated

Summary

Create a new approval token in Aisello with a required name and optional brand association and expiration date.

Inputs

  • Name (required) — Specifies the token's name, which is required to identify the approval token.
  • Brand ID — Optionally associates the token with a specific brand by providing the brand's ID.
  • Expires At — Optionally sets the expiration date and time for the approval token.

Output shape

A single record representing the created approval token object containing details including its name, optional brand association, expiration, and identifiers.

The operation returns the newly created approval token's data. There are no pagination or multiple records returned.

Examples

Example 1: Create an approval token with a name and expiration date

Set the 'Name' field to your desired token name and optionally provide an 'Expires At' date to limit the token's validity period.

Example 2: Create an approval token linked to a specific brand

Provide the required token 'Name' and the 'Brand ID' to associate the token with a particular brand in Aisello.

Links

Discussion