Connect one of my accounts
Connects the account, either outright or by returning a URL to open in a browser popup — connected says which happened. Send accountFields (see GET /:app/auth) for apps that take an API key; those need no popup at all. returnTo must match the origin the request came from; the callback posts the result back to it when the user is done.
Authorizations
Use JWT token for authentication
Headers
Sent by the browser. Used to validate returnTo.
Path Parameters
App slug
Query Parameters
Assistant this applies to. Send exactly one of assistantId or agentId.
Agent this applies to. Send exactly one of assistantId or agentId.
End-user tenant. Ignored when the call carries a signed tenant session, which already names the tenant.
Subtenant within the tenant.
Origin the OAuth popup posts its result back to. Must match the request origin.