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 \
 --request POST https://[tenant_id].logto.app/api/my-account/identities \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"newIdentifierVerificationRecordId":"string"}'
Request examples
{
  "newIdentifierVerificationRecordId": "string"
}