Prompts
Create Prompt
Calls
Vector Stores
Conversational Pathways
- GETGet All Pathways Information
- GETGet Single Pathway Information
- POSTCreate Pathway
- POSTUpdate Pathway
- DELDelete Pathway
- Pathway Chat
- Pathway Versions
- Pathway Folders
Inbound Numbers
Outbound Numbers
Custom Tools
Web Agents
Custom Twilio Accounts
Batches
Prompts
Create Prompt
Create and store a prompt for future use.
POST
/
v1
/
prompts
curl --request POST \
--url https://app.luly.ai/api/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://app.luly.ai/api/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"
}
}