Skip to main content
The project integrations endpoints let your application connect an approved integration to a user’s project, the same as clicking Connect in the dashboard. They require an OAuth access token; see the OAuth overview. Your application can disconnect only the integrations it connected itself.

GET /projects/:project_id/integrations

Required scope: project.integrations.read Lists the integrations available for the project and whether each one is connected.

Response fields

Returns an array of integration objects.
string
required
The integration ID.
string
required
The integration name.
string
required
Short description of what the integration does.
string
required
Icon URL.
boolean
required
Whether the integration is connected to the project.

Example response


PUT /projects/:project_id/integrations/:integration_id

Required scope: project.integrations.write Connects an integration to the project. Top.gg runs the integration handshake and starts delivering events to it.

Response

Returns 204 No Content on success.

Error responses


DELETE /projects/:project_id/integrations/:integration_id

Required scope: project.integrations.write Disconnects an integration your application connected. The integration receives an integration.delete event.

Response

Returns 204 No Content on success.

Error responses