Connection

Get Integration Status

GET

Get the OAuth connection event status. This endpoint responds with a http.ServerResponse instead of json.

Path parameters

revertPublicTokenstringRequired

Headers

x-revert-api-tokenstringRequired
Your official API key for accessing revert apis.
x-api-versionstringOptional
Optional Revert API version you're using. If missing we default to the latest version of the API.

Query parameters

tenantIdstringRequired

Response

This endpoint returns an object
publicToken
string
status
enum
Allowed values: SUCCESSFAILED
integrationName
string
tenantId
string
tenantSecretToken
stringOptional
GET
$curl -G https://api.revert.dev/connection/integration-status/%3ArevertPublicToken \
> -H "x-revert-api-token: string" \
> -H "x-api-version: string" \
> -d tenantId=string
Response
1{
2 "publicToken": "string",
3 "status": "SUCCESS",
4 "integrationName": "string",
5 "tenantId": "string",
6 "tenantSecretToken": "string"
7}