> ## Documentation Index
> Fetch the complete documentation index at: https://docs.emailbison.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating Tags

Tags are a way for you to seperate different leads/sender emails/campaigns into their own categories.

<Tabs>
  <Tab title="API" icon="binary">
    Send a `POST` request to the [following endpoint](https://dedi.emailbison.com/api/reference#tag/custom-tags/post/api/tags).

    ```bash theme={null}
    /api/tags
    ```

    There are 2 fields you can provide, `name` and `default`.

    <ParamField body="name" type="string" required>
      A name for the tag.
    </ParamField>

    <ParamField body="default" deprecated type="boolean" default="false">
      Whether this is a default tag.
    </ParamField>

    An example of a request in curl:

    ```bash theme={null}
    curl https://dedi.emailbison.com/api/tags \
    --request POST \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
    --data '{
    "name": "Important",
    "default": false
    }'
    ```
  </Tab>

  <Tab title="UI" icon="browser">
    1. Navigate to `Settings` -> `Custom Tags`
    2. Click on `Create custom tag`, provide a name for your tag, click on `Create custom tag`.
  </Tab>
</Tabs>
