Called by the customer’s backend (not the browser) to create a short-lived, end-user-scoped session token for the Connect widget. Authenticate with your API key (Authorization: Bearer sk_live_*). The endUserId field is required — it identifies which end user is connecting a provider. The returned token is passed to RouteMCPConnect.open({ token }) on the frontend. Tokens expire in 10 minutes.
Enter your API key with the Bearer prefix — e.g. Bearer sk_live_xxx (production) or Bearer sk_test_xxx (sandbox)
Required. Your internal ID for this end user. Used to scope connections and create/upsert the end_users record. Must be unique per user in your system.
"user-123"
Optional display name shown in the Connect widget header.
"Jane Doe"
Optional email address for the end user.
"jane@example.com"
Connect token created successfully. Pass the token to RouteMCPConnect.open({ token }) in the browser.