POST sessions/setTag

POST /api/v2/sessions/setTag

Creates a new session tag for a given event.


Authentication

Authorization: Bearer <your_api_key>

Endpoint

POST /api/v2/sessions/setTag

Body Parameters

Submitted as multipart/form-data.

Parameter

Type

Required

Description

event_id

integer

Yes

The ID of the event to create the tag for

title

string

Yes

The display label for the new tag


Response Format

Success Response (HTTP 200)

JSON
{
  "code": 200,
  "response_id": "...",
  "data": {
    "id": 5,
    "status": "created"
  }
}

Error Responses

HTTP Code

Condition

Error Message

400

event_id or title is missing

Missing required parameter: <field>

400

event_id is not a valid integer

Param must be a integer: event_id

400

Event not found

Could not find an event with id = <event_id>

403

Missing or invalid API key

Forbidden


Example Request

Bash
curl -X POST "https://your-event-domain.com/api/v2/sessions/setTag" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "event_id=7" \
  -F "title=Workshop"