Prompts
Get Prompt
GET
/
v1
/
prompts
curl --request GET \
--url https://api.vocode.dev/v1/prompts \
--header 'Authorization: <authorization>'
{
"collect_fields": [
{
"description": "<string>",
"field_type": "field_type_email",
"label": "<string>",
"name": "<string>"
}
],
"content": "<string>",
"context_endpoint": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt_template": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"required_context_keys": [],
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
id
string
requiredResponse
200 - application/json
collect_fields
object[]
content
string
default: context_endpoint
string
id
string
requiredprompt_template
object
user_id
string
requiredcurl --request GET \
--url https://api.vocode.dev/v1/prompts \
--header 'Authorization: <authorization>'
{
"collect_fields": [
{
"description": "<string>",
"field_type": "field_type_email",
"label": "<string>",
"name": "<string>"
}
],
"content": "<string>",
"context_endpoint": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt_template": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"required_context_keys": [],
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}