1. Tags
Leadfeeder API
  • Leadfeeder API
  • Authentication
  • Getting Started
  • Rate Limits
  • Relationships
  • Company ID Lifecycle
  • OpenAPI Specification Access
  • List of NACE / WZ codes
  • List of Industries
  • AI & MCP
    • Overview of the Leadfeeder MCP Server
    • Quickstart
    • Connect your AI tool
    • Authentication and permissions
  • Account
    • List Accounts
  • Companies
    • Retrieve Companies
    • Create Company Enrichment Job
    • Estimate Company Enrichment Job
    • Get Company Enrichment Job Status
    • Retrieve Company IPs
    • Match Companies
    • Search Companies
    • Search Company Signals
    • Get Company Details
    • Update a Company
    • Company Financial Reports
    • Remove Company from Lists
    • Add Company to Lists
    • Unassign Tags from Company
    • Assign Tags to Company
  • Contacts
    • Retrieve Contacts
    • Create Find Contact Data Job
    • Estimate Find Contact Data Job
    • Get Find Contact Data Job Status
    • Search Contacts
    • Get Contact Details
    • Update a Contact
    • Remove Contact from Lists
    • Add Contact to Lists
  • Web Visits
    • How to Create Custom Feed
    • Custom Feed - Filter Reference
    • Search Web Visits
    • Retrieve Visitor Companies
    • Retrieve Custom Feeds
    • Create a Custom Feed
    • Retrieve Custom Feeds Folders
    • Delete a Custom Feed
    • Get Custom Feed Details
    • Update Custom Feed
    • Retrieve Web Visits Tracker Script
    • Retrieve Goals
    • Create a Goal
    • Delete a Goal
    • Get Goal Details
    • Update a Goal
  • Campaigns
    • Retrieve Campaigns
    • Get Campaign Details
    • Update Campaign
    • Retrieve Campaign Stats
  • IP
    • Enrich Company IP Address
  • Buyer Personas
    • Retrieve Buyer Personas
    • Create a Buyer Persona
    • Delete a Buyer Persona
    • Get Buyer Persona Details
    • Update a Buyer Persona
  • Ideal Customer Profiles
    • Retrieve Ideal Customer Profiles
    • Create an Ideal Customer Profile
    • Retrieve Company ICP Matches
    • Delete an Ideal Customer Profile
    • Get Ideal Customer Profile Details
    • Update an Ideal Customer Profile
  • Tags
    • Retrieve Tags
      GET
    • Create Tag
      POST
    • Create Batch Add Tags Job
      POST
    • Get Batch Add Tags Job
      GET
    • Create Batch Remove Tags Job
      POST
    • Get Batch Remove Tags Job
      GET
    • Delete Tag
      DELETE
    • Get Tag Details
      GET
    • Update Tag
      PATCH
  • Lists
    • Retrieve Lists
    • Create a List
    • Create Batch Add to List Job
    • Get Batch Add to List Job
    • Create Batch Remove from List Job
    • Get Batch Remove from List Job
    • Retrieve Company List Memberships
    • Retrieve Contact List Memberships
    • Delete List
    • Get List Details
    • Update List
    • Retrieve List Items
  • Custom Fields
    • Retrieve Custom Fields
    • Create Custom Field
    • Delete Custom Field
    • Get Custom Field Details
    • Update Custom Field
  • Users
    • Get Current User
  • Settings
    • Get Cookie Consent Settings
    • Update Cookie Consent Settings
    • Get Data Processing Settings
    • Update Data Processing Settings
  • Usage
    • Get Endpoints Usage
  • Reference Data
    • Get Countries with Regions
    • Get Geo Suggestions
    • Get Industries
  • Schemas
    • AccountCompanyV1
    • AccountSummaryV1
    • AccountV1
    • ApiUsageV1
    • BatchAddTagsJobV1
    • BatchAddToListJobV1
    • BatchRemoveFromListJobV1
    • BatchRemoveTagsJobV1
    • BuyerPersonaRequestV1
    • BuyerPersonaV1
    • CampaignLocationV1
    • CampaignSettingsV1
    • CampaignStatsV1
    • CampaignSummaryV1
    • CampaignV1
    • CompaniesAdvancedSearchFilterItem
    • CompanyFinancialsV1
    • CompanyIndustryV1
    • CompanyLocationV1
    • CompanyIpV1
    • CompanyMatchV1
    • CompanySummaryV1
    • CompanyV1
    • ContactFilterGroupsV1
    • ConnectedListV1
    • ContactV1
    • ContactSummaryV1
    • CookieConsentSettingsV1
    • CountryV1
    • CustomFeedFolderV1
    • CustomFeedRequestV1
    • CustomFeedV1
    • CustomFieldV1
    • EnrichedIpV1
    • CRMUserV1
    • DataProcessingSettingsV1
    • CRMOrganizationV1
    • ErrorObjectV1
    • EnrichmentJobV1
    • CRMContactV1
    • GeoSuggestionV1
    • FindContactDataJobV1
    • CRMLeadV1
    • ICPV1
    • CRMConnectionV1
    • IpAddressExtendedV1
    • GoalCreateRequestV1
    • CRMSuggestionV1
    • IcpRequestV1
    • IpLocationV1
    • GoalUpdateRequestV1
    • GoalV1
    • CRMGroupConnectionV1
    • ListV1
    • LocationV1
    • MaskedCompanySummaryV1
    • NetworkV1
    • MaskedContactSummaryV1
    • SignalV1
    • TagV1
    • UserV1
    • VisitLocationV1
    • WebVisitV1
    • WebVisitsTrackerScriptV1
  1. Tags

Create Batch Add Tags Job

POST
/v1/tags/batch-add-tags-jobs
Schedule an asynchronous job that adds the tags in data.attributes.tags to a set of companies. Every tag is added to every selected company. The companies are supplied either as an explicit items array (up to 100 items per request), or as an advanced_search selection that is resolved into companies (up to 100,000) when the job runs. To remove tags, use POST /v1/tags/batch-remove-tags-jobs — adding and removing are separate jobs.
Returns 202 Accepted with a job handle. Poll GET /v1/tags/batch-add-tags-jobs/{job_id} to observe progress and the outcome summary.
Credit Note: Adding tags does not consume credits.
INFO
Requires the companies:write OAuth2 scope.

Request

Authorization
API Key
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
or
Query Params

Body Params application/jsonRequired

Examples
{
    "data": {
        "attributes": {
            "advanced_search": {
                "excluded_company_ids": [
                    "651713"
                ],
                "filters": {
                    "items": [
                        {
                            "field": "country_code",
                            "operator": "in",
                            "type": "filter",
                            "value": [
                                "DE"
                            ]
                        },
                        {
                            "field": "employee_count",
                            "operator": "in_range",
                            "type": "filter",
                            "value": {
                                "gte": 50
                            }
                        }
                    ],
                    "operator": "and",
                    "type": "group"
                },
                "page": {
                    "size": 1000
                },
                "sort": {
                    "direction": "desc",
                    "field": "employee_count"
                }
            },
            "tags": [
                {
                    "id": "dd11fc370098e78e",
                    "type": "tag"
                }
            ]
        },
        "type": "batch_add_tags_job"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://api.leadfeeder.com/v1/tags/batch-add-tags-jobs?account_id=123456' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "data": {
        "attributes": {
            "advanced_search": {
                "excluded_company_ids": [
                    "651713"
                ],
                "filters": {
                    "items": [
                        {
                            "field": "country_code",
                            "operator": "in",
                            "type": "filter",
                            "value": [
                                "DE"
                            ]
                        },
                        {
                            "field": "employee_count",
                            "operator": "in_range",
                            "type": "filter",
                            "value": {
                                "gte": 50
                            }
                        }
                    ],
                    "operator": "and",
                    "type": "group"
                },
                "page": {
                    "size": 1000
                },
                "sort": {
                    "direction": "desc",
                    "field": "employee_count"
                }
            },
            "tags": [
                {
                    "id": "dd11fc370098e78e",
                    "type": "tag"
                }
            ]
        },
        "type": "batch_add_tags_job"
    }
}'

Responses

🟢202Accepted
application/json
Batch add-tags job accepted and enqueued
Bodyapplication/json

Example
{
    "data": {
        "attributes": {
            "completed_at": null,
            "configuration": {
                "items": [
                    {
                        "id": "159001425",
                        "type": "company"
                    },
                    {
                        "id": "159001426",
                        "type": "company"
                    }
                ],
                "tags": [
                    {
                        "id": "dd11fc370098e78e",
                        "type": "tag"
                    },
                    {
                        "id": "8bb95c4d8e7c5fd2",
                        "type": "tag"
                    }
                ]
            },
            "created_at": "2026-05-13T12:00:00Z",
            "status": "running"
        },
        "id": "job_550e8400-e29b-41d4-a716-446655440000",
        "type": "batch_add_tags_job"
    },
    "meta": {
        "request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠422Parameter Error
🟠429
🔴500Server Error
🔴504Gateway Timeout
Modified at 2026-10-13 07:27:21
Previous
Create Tag
Next
Get Batch Add Tags Job
Built with