Add a user identity

POST /api/my-account/identities

Add an identity (social identity) to the user, a logto-verification-id in header is required for checking sensitive permissions, and a verification record for the social identity is required.

application/json

Body Required

Responses

POST /api/my-account/identities
curl \
 -X POST https://[tenant_id].logto.app/api/my-account/identities \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"newIdentifierVerificationRecordId":"string"}'
Request examples
{
  "newIdentifierVerificationRecordId": "string"
}