Verify a social verification record

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi.logto.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Logto API references MCP server": {
  "url": "https://openapi.logto.io/mcp"
}
Close
POST /api/verifications/social/verify

Verify a social verification record by callback connector data, and save the user information to the record.

application/json

Body Required

  • connectorData object Required

    A json object constructed from the url query params returned by the social platform. Typically it contains code, state and redirectUri fields.

    Additional properties are allowed.

  • verificationRecordId string Required
  • verificationId

    The verification ID of the SocialVerification record.

Responses

  • 200 application/json

    The social verification record has been successfully verified and the user information has been saved.

    Hide response attribute Show response attribute object
    • verificationRecordId string Required
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

  • 422

    Unprocessable Content

POST /api/verifications/social/verify
curl \
 --request POST 'https://[tenant_id].logto.app/api/verifications/social/verify' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"connectorData":{},"verificationRecordId":"string"}'
Request examples
{
  "connectorData": {},
  "verificationRecordId": "string"
}
Response examples (200)
{
  "verificationRecordId": "string"
}