Create a connect link
A page where your client connects their accounts into the profile ({id} may be its external_id). redirect_url's origin must be allowed in /v1/connect/redirect-origins (422 redirect_origin_not_allowed); state comes back unchanged.
Requires the write scope. Owner key or session only: a profile key gets 403 owner_key_required.
bearerAuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringapplication/json- body
redirect_url?stringurilength <= 2000state?stringlength <= 500platforms?array<>1 <= itemsThe link.
application/json- response
url*stringUsable once, until expires_at.
profile_id*stringuuidexpires_at*stringdate-timecurl -X POST 'https://api.tebar.app/v1/profiles/string/connect-links' \
-H 'Content-Type: application/json' \
-d '{}'{
"url": "string",
"profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
"expires_at": "2019-08-24T14:15:22Z"
}Delete a profile DELETE
The profile disappears right away; its keys, MCP tokens, and connect links stop working, its accounts are disconnected, and waiting posts are canceled. The rest is removed in the background, then a profile.deleted webhook is sent. The default profile cannot be deleted. Requires the write scope. Owner key or session only: a profile key gets 403 owner_key_required.
List allowed redirect origins GET
Requires the read scope. Owner key or session only: a profile key gets 403 owner_key_required.