PATCH
/
api
/
v1
/
custom-fields
Update Custom Fields (Bulk)
curl --request PATCH \
  --url https://app.journeybee.io/api/v1/custom-fields \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customFields": [
    {
      "id": 123,
      "label": "<string>",
      "required": true,
      "shared": true,
      "options": [
        {}
      ]
    }
  ]
}'
{
  "updated": [
    {}
  ]
}

Authentication

curl -X PATCH "https://app.journeybee.io/api/v1/custom-fields" \
  -H "Authorization: Bearer your-api-key-uuid" \
  -H "Content-Type: application/json" \
  -d '[{"id": 5, "label": "Updated Revenue Potential", "required": true}]'

Request Body Schema

customFields
array
required
Array of custom field updates

Response Schema

updated
array
Array of updated custom field IDs

Notes

  • Requires API key with write_access permission
  • Bulk operation for efficiency