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
API Keys
Revoke API Key
Revoke an API key
POST
/
v1
/
api-keys
/
{key_id}
/
revoke
Copy
{
"created_at": "2024-01-01T00:00:00",
"expiration_date": "2024-12-31T23:59:59",
"key_id": "507f1f77bcf86cd799439011",
"name": "Development API Key",
"permissions": [
"read",
"write"
],
"revoked": false
}
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
Copy
{
"created_at": "2024-01-01T00:00:00",
"expiration_date": "2024-12-31T23:59:59",
"key_id": "507f1f77bcf86cd799439011",
"name": "Development API Key",
"permissions": [
"read",
"write"
],
"revoked": false
}
Assistant
Responses are generated using AI and may contain mistakes.