PearPear

Start linking an X account

Returns the X authorization URL to send the browser to. The flow finishes at the callback below, which returns the browser to `returnTo`.

POST
/auth/link/x/start
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Start of the X account link flow

Response Body

application/json

curl -X POST "https://example.com/auth/link/x/start" \  -H "Content-Type: application/json" \  -d '{}'
{  "authorizeUrl": "string"}