cURL
curl --request POST \ --url https://api.kit.com/v4/bulk/tags \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tags": [ { "name": "Test Tag 0" }, { "name": "Test Tag 1" }, { "name": "Test Tag 2" }, { "name": "Test Tag 3" } ], "callback_url": null }'
{ "tags": [ { "id": 59, "name": "Existing Tag", "created_at": "2023-02-17T11:43:55Z" }, { "id": 60, "name": "Attended Event", "created_at": "2023-02-17T11:43:55Z" }, { "id": 61, "name": "Newsletter", "created_at": "2023-02-17T11:43:55Z" }, { "id": 62, "name": "Re-engage", "created_at": "2023-02-17T11:43:55Z" } ], "failures": [] }
See “Bulk & async processing” for more information.
Authenticate API requests via an OAuth token
Show child attributes
Creates or returns existing tags synchronously when 100 or less tags are requested
Was this page helpful?