Event Markers
Create Event Marker
Creates a marker event in a manual collection. Reuses an existing event when externalId matches.
Creates a marker event in a manual collection. Reuses an existing event when externalId matches.
Authorization
apiKeyAuth x-api-key<token>
FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
In: header
Path Parameters
idOrSlug*string
collectionId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v0/project/string/event-marker-collections/string/events" \ -H "Content-Type: application/json" \ -d '{ "timestamp": "string", "title": "string" }'{ "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"}timestamp*||||
Event time as an ISO 8601 string, Unix seconds, or Unix milliseconds. Values below 1_000_000_000_000 are interpreted as seconds.
title*string
description?string|null|null
icon?string|null|null
emoji?string|null|null
color?string|null|null
metadata?|null|null
externalId?|null|null