API Token
Last updated
Last updated
In order to access the Select Star API, you'll need to first generate a token.
In your Account Settings page, under Client API Token
, click on Manage API Tokens
:
Then, in the modal, click on the Create
button.
Copy the text in the API Token
field to use as the token in API requests.
API tokens have no expiration, but they can be deleted and then recreated manually.
All Select Star API endpoints require authentication, so the token must be included it in all requests. Set the Authorization
header for bearer authentication like the following:
Please note that for authorization type, you must use Token
and not Bearer
For example, in curl
, set the header using the -H
flag:
If the token is missing or invalid, the endpoint will return 401: Unauthorized
with one of the following messages in the body: