Skip to Content
ChangelogPartner API

Partner API

Release notes for the server-to-server Partner API. Versions match info.version in the API reference, where new endpoints carry a “New in” label.

0.5.9

9 November 2026. Create, invite, link, and manage access of employees.

  • Adds POST /employees to create an employee without portal access. It sends no email and assigns no role. See Employees and Trainers.
  • Adds POST /employees:invite to create an employee and invite them to the Partner Portal as a trainer in one atomic call. It sends the invitation email.
  • Adds POST /employees:link to set the External ID of an employee created in the Partner Portal without one, by their Zing employee id. It works for any role.
  • Adds GET /employees/{external_id} to get one employee.
  • Adds POST /employees/{external_id}/invitation to invite or re-invite an employee. It sends the invitation email.
  • Adds PATCH /employees/{external_id} to disable or re-enable a trainer’s portal access with access_state ACTIVE or DISABLED. Member links are kept.
  • Only the trainer role can be granted through the API; any other role returns 403 with role_not_allowed.
  • Zing never retries employee writes. After a timeout, check the state with GET /employees/{external_id} before repeating an invite.
  • GET /employees items now carry the full employee: email, preferred_name, job_title, specialty, photo_url, created_at, and updated_at are added to the existing fields.
  • 400 and 403 errors can now carry a stable code next to detail, as 409 already did. New 409 codes: external_id_taken, email_taken, already_has_access, requires_portal_access. New 400 codes: role_required, email_missing.

0.5.8

6 November 2026. Employees and Trainers, planned workouts, and Partner Portal webhook events.

  • Adds GET /employees to list Partner Portal employees, with search by name, email, or External ID and a portal_role filter. See Employees and Trainers.
  • Adds GET and PUT /employees/{external_id}/members to list a trainer’s members and to replace the whole list with up to 200 members.
  • Adds PUT and DELETE /employees/{external_id}/members/{partner_user_id} to link or unlink one member.
  • Adds POST /employees/members:batch to add or remove up to 500 trainer–member links, with a result per item.
  • New statuses on these endpoints: 409 with a code (requires_trainer, member_limit) and 503 when the service is temporarily unavailable.
  • Adds GET /users/{partner_user_id}/workouts/planned to list the workouts planned for today and the next six days in the user’s timezone. See Planned workouts.
  • Adds webhook events employee.created, employee.updated, location.created, location.updated, and location.deleted for Partner Portal changes. They are partner-level events with partner_user_id: null and are sent only once enabled for a destination. See Webhooks.

0.5.7

8 October 2026.

  • Adds PATCH /users/{partner_user_id}/name to set a member’s first name, last name, or both. See Member Names.
  • Adds POST /users/names:batch to set names for up to 500 members in one request, with a per-member updated or not_found result.
  • GET /users and GET /users/{partner_user_id} return first_name and last_name.
  • The names are shown in the Partner Portal. They never replace the name the member chose in the Zing app, and the app does not show them.

0.5.6

24 September 2026. Webhook events.

  • Adds subscription.trial_started, subscription.paid_started, and subscription.stopped for a member’s subscription lifecycle.
  • Adds promo_code.redeemed.
  • Breaking: removes workout.updated and workout.deleted. Use workout.completed and the Pull API for workout data.
  • A non-2xx response or a timeout may trigger a retry. See Webhooks.

0.5.5

10 September 2026. Pull API responses. See Pull.

  • Breaking: workouts use completed_at instead of occurred_at, add category, and no longer return completion_percentage, intensity, or summary.
  • Breaking: workout exercises use exercise_id, name, and repetitions instead of exercise_type, exercise_name, and reps. weight is an object with value and unit. Adds group_index, result_index, phase, and target.
  • Breaking: tests use completed_at, test_type, and score instead of occurred_at, type, and raw_score.
  • GET /tests/{test_id} returns a fitness test detail (score, level, fitness age, and per-exercise metrics) or a flexibility test detail (stretching scores per body area and per movement).
  • Webhook deliveries return delivery_id, destination_id, transport_type, http_status (instead of last_http_status), delivered_at, and created_at.
  • Documents the 400, 403, 405, and 500 error responses. 401 responses include a WWW-Authenticate header.
  • The base URL is https://api.dev-ai.coach/v1.

0.5.4

31 August 2026. Webhook signing.

  • X-Timestamp is Unix time in whole seconds.
  • X-Signature is a lowercase hexadecimal HMAC-SHA256 digest of X-Timestamp + "." + raw body, keyed with the full webhook secret. See Webhooks for verification examples.

0.5.3

12 March 2026. First published version: Pull API endpoints for status, users, workouts, tests, body composition, usage, and webhook deliveries, plus the workout.completed, workout.updated, workout.deleted, test.fitness_result, test.flexibility_result, body_composition.measurement, and user.deleted webhook events.

Last updated on