Prompts
Create Prompt
Calls
Intelligence
Conversational Pathways
- GETGet All Pathways Information
- GETGet Single Pathway Information
- POSTCreate Pathway
- POSTUpdate Pathway
- DELDelete Pathway
- Pathway Chat
- Pathway Versions
- Pathway Folders
Vector Knowledge Bases
Voices
Custom Tools
Web Agents
Custom Twilio Accounts
Batches
SMS
Account
Organizations
- POSTCreate Organization
- DELDelete Organization
- GETGet Organization
- GETGet Organization Members
- GETGet Organization's Current Service Version
- GETList Organization's Service Versions
- PATCHUpdate Organization's Service Version
- PATCHUpdate Organization Members
- PATCHUpdate Organization Member Permissions
- PATCHUpdate Organization Properties
- GETGet User Organization Memberships
- DELLeave Organization
- GETGet Organization Billing Information
- GETGet Organization Billing Refill Information
Prompts
Create Prompt
Create and store a prompt for future use.
POST
/
v1
/
prompts
curl --request POST \
--url https://api.bland.ai/v1/prompts \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"prompt": "<string>",
"name": "<string>"
}'
{
"status": "success",
"prompt": {
"prompt": "# Final Test",
"name": "demo",
"id": "PT-02b2ecdi-39f2-443f-8cb0-a6c854c65fc0"
}
}
Headers
Your API key for authentication.
Body
Prompt to store.
Name of prompt you want to store as reference.
Response
Prompt object.
Prompt to store.
Name of prompt you want to store as reference.
{
"status": "success",
"prompt": {
"prompt": "# Final Test",
"name": "demo",
"id": "PT-02b2ecdi-39f2-443f-8cb0-a6c854c65fc0"
}
}
curl --request POST \
--url https://api.bland.ai/v1/prompts \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"prompt": "<string>",
"name": "<string>"
}'
{
"status": "success",
"prompt": {
"prompt": "# Final Test",
"name": "demo",
"id": "PT-02b2ecdi-39f2-443f-8cb0-a6c854c65fc0"
}
}