Can I Append Custom Parameters to the Webhook URL?

Question

  • Can I append custom parameters to the Webhook URL?

Answer

Yes! You may add any parameters you want to your URL.

Nexmo 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&price=0.02000000&status=delivered&scts=1208121359&err-code=0&message-timestamp=2012-08-12+13%3A59%3A37?myparam1=x&myparam2=y

Have more questions? Submit a request