Agents

List outbound prompts

Retrieve all outbound prompts for an agent

get/agents/{agentId}/outbound-prompts

Request

  • Base URL: https://api.telvana.com
  • URL: https://api.telvana.com/agents/{agentId}/outbound-prompts
  • Auth: API key in header x-api-key

Path parameters

agentIdstring required
Example:jm1u1cawc7dka1x84mrjvb4y

Unique identifier for the agent

Response

Outbound prompts retrieved successfully

Example response

{
  "data": [
    {
      "id": "prompt_abc123",
      "title": "Appointment Confirmation",
      "instructions": "Call to confirm the appointment for {{firstName}} at {{appointmentTime}}.",
      "agentId": "jm1u1cawc7dka1x84mrjvb4y",
      "createdAt": "2025-01-01T00:00:00.000Z",
      "updatedAt": "2025-01-01T00:00:00.000Z"
    },
    {
      "id": "prompt_def456",
      "title": "Follow-up Call",
      "instructions": "Follow up with {{firstName}} regarding their recent inquiry.",
      "agentId": "jm1u1cawc7dka1x84mrjvb4y",
      "createdAt": "2025-01-02T00:00:00.000Z",
      "updatedAt": "2025-01-02T00:00:00.000Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.