# Tags

**List Tags:**

```yaml
GET /api/pub/tags
```

**Add a tag to a lead:**&#x20;

```yaml
PUT /api/pub/lead/{leadId}/tags?userId=123
```

Params: leadId (number): the lead ID. userId (number): the user ID from the lead.

Body: \
\- userId (number): the user ID from the lead. \
\- tagIds (list of numbers): the tag IDs. For tag IDs, the tags are expected to be base 10 numbers. For This list will accept a maximum of 10 tags at a time.

**Remove a tag from a lead:**&#x20;

```yaml
DELETE /api/pub/lead/{leadId}/tags?userId=123
```

Params: leadId (number): the lead ID. userId (number): the user ID from the lead.

Body: \
\- userId (number): the user ID from the lead. \
\- tagIds (list of numbers): the tag IDs. For tag IDs, the tags are expected to be base 10 numbers. For This list will accept a maximum of 10 tags at a time.
