cURL
curl --request POST \ --url https://api.kit.com/v4/bulk/custom_fields/subscribers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "custom_field_values": [ { "subscriber_id": 0, "subscriber_custom_field_id": 0, "value": "value_0" }, { "subscriber_id": 1, "subscriber_custom_field_id": 1, "value": "value_1" }, { "subscriber_id": 2, "subscriber_custom_field_id": 2, "value": "value_2" }, { "subscriber_id": 3, "subscriber_custom_field_id": 3, "value": "value_3" } ], "callback_url": null } '
{ "custom_field_values": [ { "subscriber_id": 598, "subscriber_custom_field_id": 119, "value": "Smith" }, { "subscriber_id": 598, "subscriber_custom_field_id": 120, "value": "Acme Inc" } ], "failures": [ { "errors": [ "Subscriber does not exist" ], "custom_field_value": { "subscriber_id": null, "subscriber_custom_field_id": 151, "value": "Jones" } }, { "errors": [ "Custom field does not exist" ], "custom_field_value": { "subscriber_id": 598, "subscriber_custom_field_id": 999999, "value": "Test" } } ] }
Documentation IndexFetch the complete documentation index at: https://developers.kit.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://developers.kit.com/llms.txt
Use this file to discover all available pages before exploring further.
Authenticate API requests via an OAuth token
Show child attributes
Creates or updates custom field values synchronously when 100 or less values are requested
Was this page helpful?