Skip to main content

Authorization

Every API call needs to be authenticated using a so calles "Bearer Token". This token is passed along as header field in the HTTP request. Details on how to get this token are covered in this section. Besides the token these header fields are mandatory:

header nameexampledescription
AuthorizationBearer eyJhbGciOiJ...dQssw5cBearer token issued in OAuth workflow
X-VersionCAD System/1.0name of product along with version
X-Instancesrv-prod-01hostname

Example request

POST /graphql HTTP/1.1
Authorization: Bearer eyJhbGciOiJ...dQssw5c
Accept: application/json
Content-Type: application/json
X-Version: CAD System/1.0
X-Instance: srv-prod-01
...

query {
missonResources {
nodes {
name
id
}
}
}