Best practices for webhook/callback URL Best practices for webhook/callback URL

Best practices for webhook/callback URL

Vonage API Support

Question

What are the best practices for webhook or call-back URLs?

Applies To

  • Inbound SMS webhooks
  • Delivery Receipts webhooks

Answer

Vonage validates the URL according to RFC-1034. Follow these best practices to improve security and performance when using webhook URL:

  • Ensure the URL begins with a letter and concludes with either a letter or a digit. Interior characters should exclusively comprise letters, numbers, and hyphens; refrain from using underscores in the URL.
  • Employ a secure HTTPS connection for transmitting data.