POST /channel-custom-fields.json
Body Required
-
Channel
-
Custom field
-
Purpose
Values are
name
ordescription
.
POST /channel-custom-fields.json
curl \
-X POST http://api.example.com/v1/channel-custom-fields.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":42,"customFieldId":42,"purpose":"name"}'
Request example
{
"channelId": 42,
"customFieldId": 42,
"purpose": "name"
}
Response examples (200)
{
"channelId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"customFieldId": 42,
"id": 42,
"purpose": "name",
"updatedAt": "2024-05-04T09:42:00+00:00"
}