This is the current API V1 documentation. Explore our API V2 if you’d like to test new features.

Open SidemenuDocs
Close Sidemenu

Command Retriescommand-retries

User Applications may encounter the following situations:

  • 5XX Error: Telnyx actively monitors and alerts on the rate of 500, 501, 503, or 504 errors.
  • Duplicate Webhooks: Identical webhooks may occasionally be delivered.

Telnyx carefully monitors the Call Control platform for 5XX errors, latency, and duplicate webhooks, and actively works to keep all of these to a minimum.

However, no system is perfect, and so we recommend users design their applications to do the following:

  • command_id: send a unique command_id parameter as part of your commands. The command_id must be unique for each command. We suggest using UUIDv4.
  • Retry on 5XX Errors: If your application receives a 500 error, immediately retry the command.
  • Retry on Latency >500ms: If your application fails to receive a HTTP response from Telnyx within 500ms, send an identical command.