You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Verify the Signature of a Webhook Sent by Vonage
351
+
352
+
If signed webhooks are enabled (the default), Vonage will sign webhooks with the signature secret found in the [API Settings](https://dashboard.nexmo.com/settings) section of the Vonage Developer Dashboard.
353
+
354
+
```python
355
+
if client.voice.verify_signature('JWT_RECEIVED_FROM_VONAGE', 'MY_VONAGE_SIGNATURE_SECRET'):
356
+
print('Signature is valid!')
357
+
else:
358
+
print('Signature is invalid!')
359
+
```
360
+
361
+
350
362
## NCCO Builder
351
363
352
364
The SDK contains a builder to help you create Call Control Objects (NCCOs) for use with the Vonage Voice API.
0 commit comments