ApiIntegrations
Begin Connect
Start an OAuth flow.
Start an OAuth flow.
Returns the authorize URL the client should redirect the user to; sets a signed state cookie that the matching callback verifies.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
provider*Provider
Header Parameters
X-API-Key?string|null
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.levainlabs.com/api/v1/integrations/string/connect" \ -H "Content-Type: application/json" \ -d '{ "return_url": "string" }'{
"authorize_url": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}