---
updatedAt: 2026-10-31T08:03:05.000Z
agentTools:
  projectIndex: https://developer.accelevents.com/llms.txt
---

# Create an Interest Tag

A user can use this API to create an interest tag for an event. This API can be access by event admin and super admin. For creating new interest tag, need to pass request body param for interest.
User have to pass their authentication key for user authentication.
This API used at host side to create new interest tag.

Here is the description of response attributes, which returns to the form of JSON.

This API Returns created an interest tag ID. which auto generated whenever will create new interest tag.

Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Error code
      </th>

      <th>
        Error Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        400
      </td>

      <td>
        The request could not be understood by the server due to malformed syntax.
      </td>
    </tr>

    <tr>
      <td>
        401
      </td>

      <td>
        You are not authorized to view the resource.
      </td>
    </tr>

    <tr>
      <td>
        403
      </td>

      <td>
        Accessing the resource you were trying to reach is forbidden.
      </td>
    </tr>

    <tr>
      <td>
        404
      </td>

      <td>
        The resource you were trying to reach is not found.
      </td>
    </tr>

    <tr>
      <td>
        4030201
      </td>

      <td>
        Not Event Host
      </td>
    </tr>

    <tr>
      <td>
        4090005
      </td>

      <td>
        Interest with same name already exists in event, please give a different name
      </td>
    </tr>

    <tr>
      <td>
        4060094
      </td>

      <td>
        Failed to add interest tags, Reason: An event can have a maximum of 500 tags.
      </td>
    </tr>

    <tr>
      <td>
        4060463
      </td>

      <td>
        you can not add interest tag more than \{limitValue} under this plan. if you have already upgraded plan, publish your event to associate upgraded plan with this event.
      </td>
    </tr>

    <tr>
      <td>
        4060462
      </td>

      <td>
        Interest tag feature is available under \{commaSeparatedPlanNames} plans only. if you have already upgraded plan, publish your event to associate upgraded plan with this event.
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accelevents",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.accelevents.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rest/host/event/{eventUrl}/interest": {
      "post": {
        "summary": "Create an Interest Tag",
        "description": "A user can use this API to create an interest tag for an event. This API can be access by event admin and super admin. For creating new interest tag, need to pass request body param for interest.\nUser have to pass their authentication key for user authentication.\nThis API used at host side to create new interest tag.",
        "operationId": "create-an-interest-tag",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "API Authentication Token",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "eventUrl",
            "in": "path",
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "interestDto": {
                    "type": "object",
                    "description": "Create an interest tag",
                    "properties": {
                      "id": {
                        "type": "string",
                        "description": "Unique interest tag Id Of Event For getting interest tag details by id"
                      },
                      "name": {
                        "type": "string",
                        "description": "It's contains the interest tag name. e.g.,Music, Dancing etc."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "f0068c59-901b-4e9d-b453-2926ebcaf3c8"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```