Skip to main content

Resend code to verify user phone

POST 

https://$CUSTOM-DOMAIN/v2/users/:userId/phone/resend

Resend code to verify user phone.

Request​

Path Parameters

    userId stringrequired

Body

required

    sendCode object
    returnCode object

Responses​

OK

Schema

    details

    object

    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    resourceOwner resource_owner is the organization or instance_id an object belongs to (string)
    creationDate date-time
    verificationCode in case the verification was set to return_code, the code will be returned (string)
curl -L 'https://$CUSTOM-DOMAIN/v2/users/:userId/phone/resend' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"sendCode": {},
"returnCode": {}
}'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN
Auth
Parameters
— pathrequired
Body required
{
  "sendCode": {},
  "returnCode": {}
}
ResponseClear

Click the Send API Request button above and see the response here!