API Reference
Built-in Tools
Custom Tools
Calls
Post-call Analysis
Phone Numbers
- GETRetrieve a paginated list of all phone numbers configured in your PIA Platform account
- POSTCreate a new phone number
- GETRetrieve detailed information about a specific phone number configuration
- DELRemove a phone number configuration from the PIA Platform
- PATCHUpdate the configuration of an existing phone number
Knowledge Bases
Knowledge Bases v2
Prompt Generation
Public Sharing
Prompt Generation
Generate Prompt
Generate a prompt based on the provided instruction and context.
POST
/
v1
/
prompt-generation
/
prompt
/
generate
{
"user_id": "<string>",
"prompt_id": "<string>",
"prompt": "<string>"
}
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
{
"user_id": "<string>",
"prompt_id": "<string>",
"prompt": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.