Question
Can I append custom parameters to the webhook URL?
Applies To
- Webhook URL
- Custom Parameters
Answer
Yes. You may add any parameters you want to your URL.
Vonage API will append any extra query string parameters you add onto the end of the GET request it sends to your URL.
For example, you could specify the following inbound webhook URL:
https://secure.domain.com/whatever.csp?myparam1=x&myparam2=y
And we might send the following via a GET for an inbound SMS:
https://secure.domain.com/whatever.csp?msisdn=66837000111&to=12150000025&messageId=000000FFFB0356D2
Please note that there are character limits for the parameters you wish to add. For more information, please refer to the specific API developer documentation.
Articles in this section
- Which IP addresses should I allow for the Vonage messaging-related API services?
- How fast can I send Redact API requests?
- How fast can I send Numbers API requests?
- What are Vonage's HTTP session time-out limits for a webhook response?
- What time zone are Vonage API logs in?
- TLS Error Submitting HTTPS Request to Vonage API
- Special Characters Not Displaying When Sent
- Can I use a static IP address instead of rest.nexmo.com or api.nexmo.com?
- Can I append custom parameters to the Webhook URL?
- How to Build a REST Implementation that Scales Better Than SMPP