Visibility & Mentions

Ingest server-side SDK analytics event (page_visit)

post/api/v1/analytics/events

Request

  • Base URL
    https://app.promptingco.com
  • URL
    https://app.promptingco.com/api/v1/analytics/events
  • Auth
    • API key in header x-api-key
    • or HTTP bearer
    • or API key in cookie better-auth.session_token

Request body

event'page_visit' required
occurredAtstring date-time
eventIdstring
sessionIdstring nullable
anonymousIdstring nullable
propertiesobject

Response

Successful response

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.