Skip to content
Developer docsAll operations

API reference

API reference

Every operation an API key can call: 51 of them, generated from the API’s OpenAPI contract when this site is built. Each lists the scopes that may call it, and the API enforces those same lists.

  • Base URL https://api.wristworkout.com; every path starts with the version, /v1.
  • Requests and responses are JSON. Send Authorization: Bearer and your key on every request.
  • Times are Unix seconds, IDs are opaque strings, and loads are whole numbers in hundredths.

Organisation

The organisation an API key belongs to: its kind, name and counts. Organisation reference

Library

Library programmes with their revisions and the two flags, and the organisation’s own exercises and machines. Library reference

Assignments

Assign library programmes to customers with weekly slots, list assignments and unassign. Assignments reference

Customers

Linked customers: list them, read one with their assignments, change your note or their coach, unlink. Customers reference

Invitations

Create, list and revoke customer invitations. Each link works once and expires after 7 days. Invitations reference

Shared workouts

A customer’s workouts on your programmes, readable only while the customer shares them with you. Shared workouts reference

Webhook endpoints

Register webhook endpoints, send test events and read recent deliveries. Webhook endpoints reference

Your data

The read routes a personal key can call: your profile, coaching links, programmes, schedule and workouts. Your data reference