Positions

Authentication: All endpoints require an Authorization: Bearer <access token> header.

Most endpoints require an X-Company-ID: <company_id> header to scope requests to a specific company. This is the recommended header for most API operations.

Some endpoints require an X-Location-ID: <location_id> header when the query doesn't accept a locationId parameter.

See Authentication for details on how to obtain and use these headers.

Query Positions

GraphQL Query

query Positions {
  positions {
    id
    name
    description
    alias
    location {
      id
      name
    }
  }
}

Example Variables

{}

Example Response

{
  "data": {
    "positions": [
      {
        "id": "18107",
        "name": "Administrator",
        "description": "Company Administrator",
        "alias": null,
        "location": null
      },
      {
        "id": "18099",
        "name": "CTO",
        "description": "CTO",
        "alias": null,
        "location": null
      },
      {
        "id": "18100",
        "name": "Full Stack Developer",
        "description": "Full Stack Developer",
        "alias": null,
        "location": null
      },
      {
        "id": "18101",
        "name": "General Manager",
        "description": "General Manager",
        "alias": null,
        "location": null
      },
      {
        "id": "18103",
        "name": "SQA",
        "description": "SQA",
        "alias": null,
        "location": null
      }
    ]
  }
}