Integrations
Create an integration for an account
Changed onpost/integrations
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA 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
- info
endpoint added
- info