Skip to main content
POST

Headers

x-signature
string
required

Required for API-key authenticated requests. HMAC-SHA256(secretKey, timestamp + METHOD + path + body) as lowercase hex. Omit only for JWT/OAuth session tokens or public routes.

x-timestamp
string
required

Required with x-signature. Epoch milliseconds; rejected if drift exceeds 5 minutes. Omit only for JWT/OAuth session tokens or public routes.

Body

application/json

OpenAPI schema McpAuthWithSocialBodyDto. Subset of GraphQL AuthWithSocialInput restricted to Google.

type
enum<string>
required

Social provider. Only GOOGLE is currently exposed on the MCP REST API.

Available options:
GOOGLE,
FACEBOOK,
APPLE,
TWITTER,
DISCORD,
TELEGRAM
Example:

"GOOGLE"

fingerprint
string
required

Device fingerprint / visitor id.

Example:

"fp_browser_abc123"

redirectPath
string

Frontend path the client wants to land on after OAuth verification.

Example:

"/dashboard"

receiveMarketingOffers
boolean

Opt-in to marketing offers / communications (applied only if this flow creates a new user).

promoCode
string

Promo code (new users only).

referrerUsername
string

Username of the referring user (new users only).

referrerUserId
string

User id of the referring user (new users only).

Example:

"507f1f77bcf86cd799439011"

Response

OAuth URL generated.

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload