Authentication
Overview
The Pico API uses token-based authentication. Each authentication token is specific to a Pico instance and cannot be shared across instances.
Authentication Header
To authenticate API requests, include your token in the x-pico-api-org header:
x-pico-api-org: your-api-token
Example Request
curl -X POST https://api.example.com/graphql \
-H "Content-Type: application/json" \
-H "x-pico-api-org: your-api-token" \
-d '{"query": "{ ... }"}'
Obtaining an API Token
API tokens are generated on a per-instance basis. To request an authentication token for your Pico instance, please contact support. Our team will generate and provide a token specific to your instance.