Skip to main content

TestTrunk tests trunk connectivity.

POST 

/api/v1/voice/sip-trunks/:id/test

Performs a connection test to verify trunk configuration. Does not make actual calls.

Parameters

  • id: Required, trunk to test

Response

  • success: Whether connection test passed
  • message: Test result details
  • response_time_ms: Round-trip time to provider

Errors

  • NOT_FOUND: Trunk does not exist
  • PERMISSION_DENIED: Caller lacks voice:trunk:read permission

Request

Responses

A successful response.