Query parameters
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Headers
Bearer $TOKEN
Create a Slack integration for incidents. You'll get a link back to open in your browser and finish setting up the integration.
Query parameters
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Headers
Bearer $TOKEN
Returns the newly created integration authorization.
Response body
The API token is missing or invalid.
Response body
The token is read-only, your role doesn't allow the action, or the token can't be used for this API.
Response body
Slack couldn't be connected right now. Nothing is created. Try again later.
Response body
Response attributes
The ID of the integration authorization, such as hD0Ms9nZ2Yd4mVq1pX7bL8cT3rF6wK5jA0eS9uG2iNy.
Always integration_authorization.
The integration being connected. Possible values: slack, linear, jira.
Whether the integration is connected yet.
Valid values:pending: Waiting for a person to open authorization_url and finish the sign-in.completed: The integration is connected. integration_id is its ID.failed: The sign-in didn't connect the integration. status_reason says why.expired: Nobody finished the sign-in in time.
Why connecting failed, as the sign-in page showed it. null unless status is failed.
The link that connects the integration. Open it in a browser, sign in to Better Stack, then sign in with the provider. null once the link expires or the sign-in ends. A link created with your own sign-in rather than an API token opens only for you.
When the link stops opening, 30 minutes after it was created. A sign-in started before then has 30 more minutes to finish. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
The ID of the connected integration. null until status is completed.
Team the integration is connected to, such as t123.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.