Skip to main content

Create Access Tag

Create a new access tag on the platform. If a tag with the same title already exists, the existing tag is returned.

Endpoint

POST /api/access-tag

Request Body

{
"title": "Premium Member",
"AuthorId": 12345
}
FieldTypeRequiredDescription
titlestringYesThe tag name.
AuthorIdintegerNoThe user ID of the tag creator. Defaults to null.

Response

{
"success": "true",
"id": 1
}

Notes

  • The tag is created on the authenticated user's platform.
  • If a tag with the same title, PlatformId, and AuthorId already exists, it is returned instead of creating a duplicate.
  • Deprecated alias: POST /api/user-tag