Skip to Content
Passage ConnectAPI ReferenceCreate Link

Create Link

Create a new link intent for account connection.

Request

POST /v1/links

Headers

HeaderValue
AuthorizationBearer YOUR_API_KEY
Content-Typeapplication/json

Body

FieldTypeRequiredDescription
providerstringYesProvider identifier (e.g., tmobile, att, verizon, ubereats)
webhookUrlstringNoURL to receive completion webhook
externalUserIdstringNoYour identifier for the user
metadataobjectNoArbitrary JSON passed through to the automation context

Response

201 Created

{ "linkId": "link_abc123", "provider": "tmobile", "status": "pending", "appClipUrl": "https://appclip.example.com/link_abc123?code=clm_xxx", "expiresAt": 1704081600000, "createdAt": 1704067200000 }

Notes

  • Creates a link record only — no session is spawned until the link is claimed
  • The appClipUrl contains the claim code and is passed to the client SDK to initiate the flow
  • Links expire after 4 hours
Last updated on