Skip to content

API tokens

  • Permission: Manage settings (settings:write).
  • You are signed in as a person. A token can’t create another token.
  1. Go to Devices & Access › API tokens and choose Create token.
  2. Enter a Name and Expires after (days), from 1 to 365.
  3. Choose the scopes. You can’t choose a scope your role doesn’t have.
  4. Create it and copy the token from Copy your new token. It starts ewt_ and is shown once.
Terminal window
curl -H "Authorization: Token ewt_xxxxxxxx" https://api.endpointworks.com/api/approvals

A token can never do more than its owner’s current role allows. See API reference.

Choose Revoke on the token. It stops working at once. Tokens also stop when their owner is deactivated.