Voiceflow bearer token
curl --request POST \
--url https://realtime-api.voiceflow.com/v1/stable/prompt/get-many \
--header 'Authorization: Bearer <token>'
--header 'Content-Type: application/json' \
--data '{
"ids": [
"<string>"
]
}'const response = await fetch('https://realtime-api.voiceflow.com/v1/stable/prompt/get-many?projectID=<projectID>&environmentAlias=<environmentAlias>', {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"ids": [
"<string>"
]
}),
});
const data = await response.json();import requests
response = requests.post(
'https://realtime-api.voiceflow.com/v1/stable/prompt/get-many?projectID=<projectID>&environmentAlias=<environmentAlias>',
headers={'Authorization': 'Bearer <token>'},
json={
"ids": [
"<string>"
]
},
)
data = response.json()vf prompt get-many --project-id <projectID> --environment-alias <environmentAlias> \
< body.json{
"prompts": [
{
"id": "<string>",
"name": "<string>",
"system": "<string>",
"settings": {
"model": "<AIModel>",
"maxTokens": 0,
"temperature": 0,
"responseFormat": "<string>",
"reasoningEffort": "<AIReasoningEffort>",
"serviceTier": "<AIParamsServiceTier>",
"useStructuredOutput": true
},
"createdAt": "2026-09-10T00:00:00.000Z",
"updatedAt": "2026-09-10T00:00:00.000Z",
"createdByID": 0,
"updatedByID": 0
}
],
"missing": [
"<string>"
]
}Reads several prompts by ID in one call. An ID that matches no prompt in the environment is reported instead of failing the request.
Paste in your agent
1. Set up Voiceflow by following https://www.voiceflow.com/agents/setup 2. Read https://www.voiceflow.com/docs/api-reference/prompt/get-many-prompts.md — the Voiceflow documentation page "Get many prompts". Use it to help me with this part of Voiceflow and answer my questions. Refer to https://www.voiceflow.com/docs/llms.txt if you need related documentation.
curl --request POST \
--url https://realtime-api.voiceflow.com/v1/stable/prompt/get-many \
--header 'Authorization: Bearer <token>'
--header 'Content-Type: application/json' \
--data '{
"ids": [
"<string>"
]
}'const response = await fetch('https://realtime-api.voiceflow.com/v1/stable/prompt/get-many?projectID=<projectID>&environmentAlias=<environmentAlias>', {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"ids": [
"<string>"
]
}),
});
const data = await response.json();import requests
response = requests.post(
'https://realtime-api.voiceflow.com/v1/stable/prompt/get-many?projectID=<projectID>&environmentAlias=<environmentAlias>',
headers={'Authorization': 'Bearer <token>'},
json={
"ids": [
"<string>"
]
},
)
data = response.json()vf prompt get-many --project-id <projectID> --environment-alias <environmentAlias> \
< body.json{
"prompts": [
{
"id": "<string>",
"name": "<string>",
"system": "<string>",
"settings": {
"model": "<AIModel>",
"maxTokens": 0,
"temperature": 0,
"responseFormat": "<string>",
"reasoningEffort": "<AIReasoningEffort>",
"serviceTier": "<AIParamsServiceTier>",
"useStructuredOutput": true
},
"createdAt": "2026-09-10T00:00:00.000Z",
"updatedAt": "2026-09-10T00:00:00.000Z",
"createdByID": 0,
"updatedByID": 0
}
],
"missing": [
"<string>"
]
}Authorizations
Query Parameters
Response
200 - application/jsonReturns the prompts found, in request order, and missing, the requested IDs that match no prompt in this environment.
The prompts found, in request order.
Show child attributes
Plain text; markdown is not interpreted. {variable_name} inserts a variable or entity, {variable_name.path} a field of a variable. Escape a literal { or \ with a backslash. A name matching neither is stored as literal text and reported in unresolvedReferences; secrets are not available here.
Show child attributes
Was this page helpful?
Thanks for your feedback.