Skip to main content
POST
Create a login link

Authorizations

Authorization
string
header
required

Bearer token authentication. Pass your API key as Authorization: Bearer sk_.... See Authentication for keys, scopes, and sandbox vs production.

Scopes

connected_accounts:write

Path Parameters

account_id
string
required

The account to act on. It must be one of your own accounts.

Response

Login link created.

url
string<uri>

Send the person here. It works once.

Example:

"https://connect.bachs.io/login/ll_9fK2mQ7xR4tV8wZ1"

expires_at
string<date-time>

When the link stops working, five minutes after it was made.

Example:

"2026-11-20T10:05:00Z"