Last updated 6 months ago
Retrieve details for a single custom field.
ID
GET /api/admin/custom_field/{id} HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Accept: */*
Success
{ "id": 1, "name": "text", "short_name": "text", "auto_assign": "text" }
Delete a single custom field.
DELETE /api/admin/custom_field/{id} HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Accept: */*
{ "success": true, "message": "Changes saved successfully.", "formatted_message": "<b>Changes saved successfully.</b>" }
List all current custom fields in the system.
GET /api/admin/custom_fields HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Accept: */*
[ { "id": 1, "name": "text", "short_name": "text", "auto_assign": "text" } ]
Create a new custom field.
POST /api/admin/custom_fields HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 63 { "id": 1, "name": "text", "short_name": "text", "auto_assign": "text" }
Update details of a single custom field.
PUT /api/admin/custom_field/{id} HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 63 { "id": 1, "name": "text", "short_name": "text", "auto_assign": "text" }