Skip to content

#196 · Public API: Linear Integration Routes

Availability: Beta

The Escape Public API (v3) now manages Linear integrations, like the Jira and ServiceNow ones.

What's New

  • Linear integration routes: list, create, get, update and delete a Linear integration with /v3/integrations/linear and /v3/integrations/linear/{id}.
  • Sync and test: POST /v3/integrations/linear/{id}/sync starts a sync run, POST /v3/integrations/linear/{id}/test tests the connection, and GET /v3/integrations/linear/{id}/runs lists the runs.
  • Credentials stay hidden: a response never contains the API key or an OAuth token. The credentials parameter is returned as [REDACTED].

Requirements and Limits

  • Create an integration with an API key: send parameters.credentials with auth_method set to api_key and the api_key. An update that changes the parameters sends the key again.
  • An integration created with auth_method set to oauth stays disconnected until someone selects Connect with Linear in the app. The API can rename and delete it, but connecting it needs the app.
  • Creating, updating, syncing and testing an integration require the Linear integration to be enabled for the organization.

Compatibility

Hard-breaking changes

None.

Soft-breaking changes

None. The routes are new, and no existing route or field changes.