Verify Code

POST https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/verify_code

After you received a SMS or Voice request code from Request Verification Code, you need to verify the code that was sent to you. To verify this code, make a POST request to {{PHONE_NUMBER_ID}}/verify_code that includes the code as a parameter.

Request Parameters

NameDescription
code
type: Numeric String
Required.
The code you received after calling Request Verification Code({{PHONE_NUMBER_ID}}/request_code).

Request Body

{"code"=>"<your-requested-code>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{&quot;success&quot;:true}