Skip to main content
POST
This endpoint requires authentication.

Request Body

string
required
The ID token obtained from the provider (Google, Apple, or Facebook)

Response

A successful request returns HTTP 200 OK status. The provider is linked to the current user’s account.

Error Responses

object
Error details when the request fails
Common error cases:
  • 400 Bad Request: Invalid or missing ID token
  • 400 Bad Request: Email mismatch between accounts
  • 400 Bad Request: Provider already linked to this account
  • 401 Unauthorized: Missing or invalid access token
  • 409 Conflict: Provider already linked to another account