Appearance
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"
}
}Partner Auth (API Key)
All requests to production/staging require an x-api-key header.
http
x-api-key: YOUR_PARTNER_API_KEY