An overview of Plain’s GraphQL API.
https://core-api.uk.plain.com/graphql/v1
Content-Type: application/json
Authorization: Bearer YOUR_TOKEN
where the token is your API key. See authentication for more details.query
: the GraphQL query stringvariables
: a JSON object of variables used in the GraphQL queryoperationName
: the name of your GraphQL operation (this is just for tracking and has no impact on the API call or result)https://core-api.uk.plain.com/graphql/v1/schema.graphql
customer:read
permission. See authentication for details on how to get an API key
PLAIN_TOKEN
: The API keyPLAIN_CUSTOMER_EMAIL
: The email of the customer you want to fetch