API Keys
Create API Key
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
Create API Key
Create a new API key
POST
/
v1
/
api-keys
{
"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
}
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
{
"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
}