KintsugiKintsugi

Poll an oauth connection-creation status

GET/connections/oauth-creation-status/{key}

Poll the status of an in-progress OAuth connect flow by the opaque key its authorize step returned. Served once, then cleared: a repeated poll with the same key after it completes returns 404, as does an unknown or expired key. Requires a valid credential but is not scoped to any organization -- the key itself, generated server-side during the authorize step, is what makes this safe to poll without one.

Authorization

Api-KeystringRequired

Your secret API key. Include it with every request.

Headers

Api-Versiondate

Release date, as YYYY-MM-DD. Defaults to 2026-07-21.

Path parameters

keystringRequired

The opaque key returned by the authorize step.

Response

statestringRequired

Opaque OAuth state the connect flow was started with.

messagestringRequired

Human-readable status of the in-progress connection.

200

Successful Response

401

Authentication failed or was missing.

403

The credential is not permitted for this request.

404

The requested resource was not found.

422

The request failed validation.

cURL
GET /connections/oauth-creation-status/{key}
-H "Api-Key: ***"
-H "Api-Version: 2026-07-21"
Example request
https://api.trykintsugi.com/connections/oauth-creation-status/{key}
Response
{
"state": "CA",
"message": "Reviewed and approved."
}
Poll an oauth connection-creation status (2026-07-21) | Kintsugi API Reference