Integrations

Create an integration for an account

post/integrations

Request

  • Base URL
    https://company.aha.io/api/v1
  • Auth
    • OAuth 2
      Authorization codehttps://{account-domain}.aha.io/oauth/authorize
      Token URLhttps://{account-domain}.aha.io/oauth/token
    • or HTTP bearer
    • or API key in cookie session
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body

Example request

{
  "integration": {
    "enabled": true
  }
}

Response

Successful operation

Example response

{
  "integration": {
    "id": "6776881149495993093",
    "service_name": "zendesk",
    "name": "Zendesk",
    "created_at": "2019-01-01T00:00:00.000Z",
    "template_id": null,
    "enabled": true,
    "callback_token": "5e0c518000f2be23",
    "updated_at": "2019-01-01T00:00:00.000Z",
    "last_error_at": null,
    "last_webhook_request_at": null,
    "url": "https://company.aha.io/integrations/6776881149495993093",
    "resource": "https://company.aha.io/api/v1/integrations/6776881149495993093",
    "owner": {
      "type": "Project",
      "id": "131414752",
      "url": "https://company.aha.io/projects/PRJ1",
      "resource": "https://company.aha.io/projects/PRJ1"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.