Skip to content

Access Tokens

API access tokens let your own scripts and integrations call the Telisky API without a browser session. Tokens are scoped and belong to an organization.

MethodPathDescription
GET/orgs/:orgId/tokensList the organization’s tokens
POST/orgs/:orgId/tokensCreate a scoped token
POST/orgs/:orgId/tokens/:id/rotateRotate a token (revoke and reissue)
POST/orgs/:orgId/tokens/:id/revokeRevoke a token
POST /orgs/:orgId/tokens
Content-Type: application/json
{
"name": "fleet-sync",
"scopes": ["device:read", "job:read"]
}

A token carries only the scopes you grant it. Choose the narrowest set that does the job - a read-only integration should not hold write scopes. Scope values are part of the API contract.

ResourceScopes
Organizationorg:read, org:write, org:create_suborg
Membersmember:read, member:invite, member:write
Devicesdevice:read, device:create, device:write, device:transfer, device:reboot, device:apply_config, device:firmware_update
Config profilesconfig:read, config:write
Groupsgroup:read, group:write
Firmwarefirmware:read, firmware:write
Jobsjob:read, job:write
Tokenstoken:read, token:write
Auditaudit:read

A token’s effective access is also bounded by the role and permissions of the organization it belongs to.

  • Rotate issues a new token value and invalidates the old one - use it on a schedule or if a token may be exposed.
  • Revoke disables a token immediately.