Atlas
Admin — Integrations

Connect Linear via API key

Validates a Linear personal API key via the Linear GraphQL API and saves the installation for the current workspace.

POST
/api/v1/admin/integrations/linear

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:3001/api/v1/admin/integrations/linear" \  -H "Content-Type: application/json" \  -d '{    "apiKey": "string"  }'
{
  "message": "string",
  "userName": "string",
  "userEmail": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}