Skip to main content
POST
/
snippet
/
{canonical}
/
token
creates a new install token on the snippet
curl --request POST \
  --url https://app.xano.com/api:meta/snippet/{canonical}/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "max_installs": 123
}'
{
  "created_at": "2023-05-09 21:31:20+0000",
  "updated_at": "2023-05-09 21:31:20+0000",
  "token": "OL3T4JYM",
  "max_installs": 23,
  "current_installs": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

canonical
string
required

Body

max_installs
integer
required

Response

Success!

created_at
string<timestamptz>
default:2023-05-09 21:31:20+0000
updated_at
string<timestamptz>
default:2023-05-09 21:31:20+0000
token
string
default:OL3T4JYM
max_installs
integer
default:23
current_installs
integer
I