GET
/
v1
/
voice
/
agents
/
{agent}
/
prompts
cURL
curl --request GET \
  --url https://api.comm.com/api/v1/voice/agents/{agent}/prompts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "agent_id": "<string>",
      "welcome_message": "<string>",
      "prompt": "<string>",
      "voice_id": "<string>",
      "voice_name": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent
string<uuid>
required

The agent ID

Response

200
application/json

Array of AgentPromptResource

The response is of type object.