Verify a social verification record

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
  • 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
  • Bad Request

  • Unauthorized

  • Forbidden

  • Not Found

  • Unprocessable Content

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