AiinakDocs

Command Palette

Search for a command to run...

Authentication

Create API tokens, authenticate requests and understand scopes.

API tokens

Personal and service tokens are created in the Admin Console under Settings → API Tokens. Tokens carry scopes that limit what they may do, and can be revoked at any time. Treat them like passwords.

Authenticated requestbash
curl https://api.aiinak.com/email/v1/messages \
  -H "Authorization: Bearer aii_live_xxxxxxxxxxxxxxxx"

Scopes

ScopeGrants
mail.read / mail.writeRead or send and manage email
calendar.read / calendar.writeRead or manage events and bookings
drive.read / drive.writeList/download or upload/manage files
meetings.manageCreate meetings, fetch transcripts and summaries
recruit.manageRoles, candidates and interview operations
erp.queryRun Nexus natural-language and entity queries
admin.read / admin.writeOrg analytics, users and licenses

Rotating and revoking

  1. 1

    Create the replacement token

    Generate the new token with identical scopes.

  2. 2

    Deploy it

    Update your integration's secret storage and roll it out.

  3. 3

    Revoke the old token

    Revocation is immediate; in-flight requests with the old token fail with 401.