Skip to Content
Event Markers

Bulk Create Event Markers

Creates up to 500 marker events in a manual collection in a single request.

POST
/v0/projects/{idOrSlug}/event-marker-collections/{collectionId}/events/bulk

Creates up to 500 marker events in a manual collection in a single request.

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string
collectionId*string

Request Body

application/json
  1. body
events*array<>

Response Body

Success

application/json
  1. response
[index: integer]?
Example Request
curl -X POST 'https://api.faststats.dev/v0/projects/string/event-marker-collections/string/events/bulk' \
  -H 'Content-Type: application/json' \
  -d '{
  "events": [
    {
      "timestamp": "string",
      "title": "string"
    }
  ]
}'
Example Response
[
  {
    "id": "string",
    "projectId": "string",
    "collectionId": "string",
    "timestamp": "string",
    "title": "string",
    "description": "string",
    "icon": "string",
    "emoji": "string",
    "color": "string",
    "metadata": {},
    "externalId": "string",
    "createdAt": "string",
    "updatedAt": "string"
  }
]