Skip to main content
doc0blade47/compdocumentation home
Sign in

Connections

Get valid credentials for a connection, refreshing OAuth tokens if needed.

Used by scheduled jobs to ensure tokens are valid before running checks.

Last updated Oct 11, 2026
POST/integrations/connections/:id/ensure-valid-credentials

Parameters

Path

idstringrequired

The ID of the connection

Query

organizationIdstringrequired

The ID of the organization

Responses

201Valid credentialsapplication/json
object
400Bad request (e.g., organizationId required, connection not active, no credentials found)application/json
object
401Token refresh failed. Please reconnect the integration.application/json
object
404Connection or provider not foundapplication/json
object

Try It

POST/integrations/connections/:id/ensure-valid-credentials
Path Parameters
Query Parameters
Was this page helpful?