API Keys
API keys are long-lived tokens ideal for getting started quickly. Generate them from the Developer Portal in your organization settings.Using API Keys
Include your API key in theAuthorization header with the Bearer prefix:
annie-sk-v1- so you can easily identify them.
OAuth 2.0
OAuth tokens are short-lived access tokens generated using the Client Credentials flow. Use OAuth when you need scoped permissions or are building a production integration.Creating an OAuth Client
Create OAuth clients from the Developer Portal on your organization page. You’ll receive:client_id— Your OAuth client identifierclient_secret— Your OAuth client secret (store securely)
Generating a Token
Request an access token from the Annie OAuth endpoint:Using OAuth Tokens
Include the access token in theAuthorization header:
Quickstart
Ready to build? Follow the quickstart to create your first agent.