Getting started
Guides
Endpoints
- Accounts
- Broadcasts
- Custom Fields
- Forms
- Subscribers
- Tags
- Email Templates
- Purchases
- Segments
- Sequences
- Webhooks
Tags
Bulk create tags
See “Bulk & async processing” for more information.
POST
/
v4
/
bulk
/
tags
Copy
Ask AI
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
}'
Copy
Ask AI
{
"tags": [
{
"id": 3453,
"name": "Existing Tag",
"created_at": "2023-02-17T11:43:55Z"
},
{
"id": 3454,
"name": "Attended Event",
"created_at": "2023-02-17T11:43:55Z"
},
{
"id": 3455,
"name": "Newsletter",
"created_at": "2023-02-17T11:43:55Z"
},
{
"id": 3456,
"name": "Re-engage",
"created_at": "2023-02-17T11:43:55Z"
}
],
"failures": []
}
Authorizations
Authenticate API requests via an OAuth token
Body
application/json
Response
200
application/json
Creates or returns existing tags synchronously when 100 or less tags are requested
The response is of type object
.
Copy
Ask AI
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
}'
Copy
Ask AI
{
"tags": [
{
"id": 3453,
"name": "Existing Tag",
"created_at": "2023-02-17T11:43:55Z"
},
{
"id": 3454,
"name": "Attended Event",
"created_at": "2023-02-17T11:43:55Z"
},
{
"id": 3455,
"name": "Newsletter",
"created_at": "2023-02-17T11:43:55Z"
},
{
"id": 3456,
"name": "Re-engage",
"created_at": "2023-02-17T11:43:55Z"
}
],
"failures": []
}
Assistant
Responses are generated using AI and may contain mistakes.