Skip to content

Authentication Examples

User Login

Get a JWT token for user-specific operations.

graphql
mutation Login($input: LoginInput!) {
  auth {
    login(input: $input) {
      token
      expiresAt
    }
  }
}

Variables:

json
{
  "input": {
    "username": "user@example.com",
    "password": "your-password"
  }
}

Try in Playground →

Partner Auth (API Key)

All requests to production/staging require an x-api-key header.

http
x-api-key: YOUR_PARTNER_API_KEY

OwlFlow Developer Portal