WePeopleDocs
IntegrationsPricingDocsSign inGet started
Get started
Docs home

Getting Started

  • What is WePeople
  • First week checklist
  • Core concepts

Product

  • Monitoring
  • Reports
  • People & profiles
  • SPACE scoring
  • Organization settings
  • Statistics
  • Billing & retention
  • Privacy model

Integrations

  • Overview
  • Slack
  • GitHub
  • Jira
  • Trust model

Developers

  • Platform overview
  • Quick start
  • Ingest guide
  • Custom statistics
  • Hosted MCP
  • TypeScript SDK

API Reference

  • Overview
  • Auth & headers
  • GET ping
  • POST events
  • POST snapshots
  • Apps statistics
  • Error codes
  • OpenAPI & SDK

Browse docs

API Reference

POST snapshots

Replace the latest snapshot for a (worker, snapshotType) pair. The user strip renders up to four metrics per app from the most recent snapshot.

Endpoint

POST/api/v1/ingest/snapshots

Headers

FieldTypeNotes
AuthorizationBearerRequired.
Content-Typeapplication/jsonRequired.
Idempotency-Keystring ≤ 200Recommended. Replay-safe for 10 min.

Request body

FieldTypeNotes
snapshotTypestringRequired. Stable id for this snapshot kind.
actorActorRequired. See POST events actor table.
timestampISO 8601Optional. Defaults to now.
metricsRecord<string, Metric>Required. number | string | { value, unit, label }.
metadataobjectOptional. ≤ 16 KB JSON.

Metric values may be:

  • A finite number (preferred)
  • A short string label (≤ 120 chars)
  • A rich object: { value, unit, label } where unit is one of count, minutes, ratio, percentage, or score

Example

curlbash
curl -X POST "https://wepeople.app/api/v1/ingest/snapshots" \
  -H "Authorization: Bearer $WEPEOPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: snapshot-oncall-001" \
  -d '{
    "snapshotType": "tickets_open",
    "actor": { "email": "alex@acme.com" },
    "metrics": {
      "open": 7,
      "sla": { "value": 0.92, "unit": "ratio", "label": "SLA %" }
    }
  }'

Response 202

application/jsonjson
{
  "requestId": "req_01HP3K5V4J3M9NVT8XZKQ9YQ2E",
  "ok": true,
  "snapshotType": "tickets_open",
  "worker": {
    "id": "wrk_2Mf…",
    "displayName": "Alex Chen"
  }
}

Errors

Same auth and validation errors as POST events. See Error codes.

On this page

  • Endpoint
  • Headers
  • Request body
  • Example
  • Response
  • Errors
WePeople

Team insight, not surveillance. A lead's-eye view built on metadata from the tools your team already uses — never source code, never messages, never DMs.

Product

  • Monitoring & Reports
  • SPACE scoring
  • Pricing

Docs

  • Docs home
  • Getting started
  • Developer platform
  • API reference
  • MCP

Integrations

  • Browse integrations

Company

  • Support
  • Status

Legal

  • Brand
  • Privacy
  • Terms

© 2026 WePeople. Built with care.

Metadata only. No source code, no message bodies, no DMs — read the policy.