Ideavate Developer Hub
  • Guides
    • Getting Started
      • Access Token Issuance
      • Using GraphQL
      • Example GraphQL Queries
    • Open Utilities API
      • Introduction
      • Consent and credential sharing
      • Access levels
      • Data update notifications
      • Using Auth Link
    • Data APIs
      • QR code parser
      • Vehicle lookup
  • API Reference
    • Auth Link API
      • Security
      • GET /link
      • POST /token
      • GET /status
    • GraphQL API
      • Authentication
      • Data Model
      • GET or POST /graphql
      • Error Handling
      • Webhooks
  • GraphQL Explorer
Powered by GitBook
On this page
  1. API Reference
  2. GraphQL API

Authentication

Authenticating requests to GraphQL endpoints

PreviousGraphQL APINextData Model

Last updated 2 years ago

Requests to the GraphQL API endpoints are authenticated using the Authorization header of the HTTP request which should contain an access token.

For example:

curl -X POST 'https://api.ideavate.co/v1/graphql' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: ${token type} ${access token}' \
  -d '{"query":"{ getAuthorisedUser { scope } }"}'

Depending on the client application architecture, a number of different mechanisms for are supported.

issuing access tokens