Skip to content
First requestVisit website ↗
Navigation

Test a saved Voice AI API tool

Shared workspace limit is two active requests and ten starts per minute across all server instances. Served by the separate Voice API. Requires verified workspace owner/admin membership and VOICE_AI_API_TOOLS enabled. Credentials never appear in responses.

POST
https://api.channelautomation.com/api/workspaces/{workspaceId}/voice-ai/tools/{toolId}/test

Authorization

  • BearerAuth
    HTTP Bearer (JWT)
    required

Path parameters

  • workspaceId
    string
    required
  • toolId
    string
    required
    format: uuid

Header parameters

  • Idempotency-Key
    string
    required

    Generate a fresh UUID for a new test; retain it when retrying an uncertain test request.

    format: uuid

Request body JSON required

  • version
    optional
    integer

    Required current saved version for update, archive and test.

  • args
    optional
    object

    Tool arguments; sends a real request using the saved tool and credential.

Returns

200

Successful operation

400

Invalid request

401

Missing or invalid access token

403

Workspace admin required or feature disabled

404

Tool not found

409

Version, name or execution conflict

413

Request too large

429

Test rate limit exceeded

503

Storage or credential service unavailable

Type to search…

↑↓ navigate↵ selectEsc close