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
| Name | Description |
|---|---|
codetype: Numeric String | Required. The code you received after calling Request Verification Code({{PHONE_NUMBER_ID}}/request_code). |
Request Body
{"code"=>"<your-requested-code>"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
{"success":true}