API Reference
Getting Started
Contact
Campaign
Reports
Event
Webhook
Custom Field
Create Custom Field
Create a custom field with the given data.
POST
/
customfield
Create Custom Field
Copy
Ask AI
curl --request POST \
--url https://api.sendx.io/api/v1/rest/customfield \
--header 'Content-Type: application/json' \
--header 'X-Team-ApiKey: <api-key>' \
--data '{
"name": "Custom Field Example",
"type": 0,
"shown": true,
"isShareable": false,
"description": "An example custom field"
}'
Copy
Ask AI
{
"id": "encrypted-id-123",
"name": "Custom Field Example",
"type": 0,
"description": "An example custom field"
}
Authorizations
Body
application/json
Response
200
application/json
Custom Field created successfully.
The response is of type object
.
Was this page helpful?
Create Custom Field
Copy
Ask AI
curl --request POST \
--url https://api.sendx.io/api/v1/rest/customfield \
--header 'Content-Type: application/json' \
--header 'X-Team-ApiKey: <api-key>' \
--data '{
"name": "Custom Field Example",
"type": 0,
"shown": true,
"isShareable": false,
"description": "An example custom field"
}'
Copy
Ask AI
{
"id": "encrypted-id-123",
"name": "Custom Field Example",
"type": 0,
"description": "An example custom field"
}
Assistant
Responses are generated using AI and may contain mistakes.