Base URL
All MCP endpoints use your Knotie AI base URL:Authorization: Bearer pkt_... header. The legacy X-API-Key header is deprecated. See Authentication for details.
Customer management
Create customer (onboard)
Response
200 OK:
- Creates the customer record
- Sends portal invite email (if
allowPortalAccessistrue) - Applies plan features (if
planIdis provided)
Create customer (simple)
List customers
Response
200 OK:
Get customer
200 OK:
Update customer
enableAdvancedAnalytics, enableApiAccess, customerPortalEnabled), menu visibility (showKnowledgeBase, showIntegration, allowedApps, etc.), team settings (maxTeamMembers, enableTeamMembers), AI credit settings, and deployment tracking fields.
Validation:
- Email format is validated and must be unique within your partner scope
- Credit plan IDs are validated if provided
200 OK: Same shape as the GET response.
Portal access
Enable portal access
200 OK:
- Creates or updates customer credentials
- Generates a temporary password
- Sends a branded portal invite email
Block / unblock portal access
200 OK:
Reset customer password
200 OK:
Agent mapping
Map customer to Retell agent
Response
200 OK:
Unmap customer from Retell agent
Map customer to VAPI agent
Unmap customer from VAPI agent
Team members
Add team member
Response
200 OK:
- Team member count is checked against the customer’s
maxTeamMemberslimit
List team members
200 OK:
Delete team member
200 OK: