X Accounts
Create X account connect link
Changed onCreates a link to a page Xquik hosts, where a person connects an X account with no Xquik signup. Your backend never receives their password or 2FA secret, and the account belongs to you. Send accountId to reconnect 1 of your accounts instead. Connecting is free. Takes a Full access API key holding connectsXAccounts, or a dashboard session. The link works for 30 minutes, & the response is the only place its token appears. A link a key made stops while that key is paused or loses connectsXAccounts, & for good once it's revoked, rotated, expired or deleted.
post/api/v1/x/account-connection-links
Request
- Base URLhttps://xquik.com
- Auth
- API key in header x-api-key
- or API key in cookie __Host-xquik_session
Request body
Example request
{
"reference": "crm-user-7",
"returnUrl": "https://app.example.com/connected",
"accountId": "42"
}Response
Link created. Open url in a pop-up or a new tab, since the page can't load in a frame.
Example response
{
"object": "x_account_connection_link",
"id": "xlink_AAAAAAAAAAAAAAAA",
"purpose": "connect",
"status": "connected",
"reference": "crm-user-7",
"returnUrl": "https://app.example.com/connected",
"apiKeyId": "17",
"accountId": "42",
"xUserId": "9876543210",
"xUsername": "elonmusk",
"health": "healthy",
"failure": "login_failed",
"createdAt": "2026-11-08T12:00:00Z",
"expiresAt": "2026-11-08T12:30:00Z",
"completedAt": "2026-11-08T12:02:00Z",
"url": "https://xquik.com/connect-x#token=CONNECT_LINK_TOKEN"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking