Rize uses API keys in the Authorization header for authentication. You can generate an API key in Settings > API.
{
"Authorization": "Bearer YOUR_API_KEY"
}
curl -X POST <https://api.rize.io/api/v1/graphql> \\
-H "Content-Type: application/json" \\
-H "Authorization: Bearer YOUR_API_KEY" \\
-d '{"query": "query CurrentUser { currentUser { email } }"}'
With a successful response:
{"data":{"currentUser":{"email":"[email protected]"}}}