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 /employeesto create an employee without portal access. It sends no email and assigns no role. See Employees and Trainers. - Adds
POST /employees:inviteto 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:linkto set the External ID of an employee created in the Partner Portal without one, by their Zing employeeid. It works for any role. - Adds
GET /employees/{external_id}to get one employee. - Adds
POST /employees/{external_id}/invitationto 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 withaccess_stateACTIVEorDISABLED. Member links are kept. - Only the
trainerrole can be granted through the API; any other role returns403withrole_not_allowed. - Zing never retries employee writes. After a timeout, check the state with
GET /employees/{external_id}before repeating an invite. GET /employeesitems now carry the full employee:email,preferred_name,job_title,specialty,photo_url,created_at, andupdated_atare added to the existing fields.400and403errors can now carry a stablecodenext todetail, as409already did. New409codes:external_id_taken,email_taken,already_has_access,requires_portal_access. New400codes:role_required,email_missing.
0.5.8
6 November 2026. Employees and Trainers, planned workouts, and Partner Portal webhook events.
- Adds
GET /employeesto list Partner Portal employees, with search by name, email, or External ID and aportal_rolefilter. See Employees and Trainers. - Adds
GETandPUT /employees/{external_id}/membersto list a trainer’s members and to replace the whole list with up to 200 members. - Adds
PUTandDELETE /employees/{external_id}/members/{partner_user_id}to link or unlink one member. - Adds
POST /employees/members:batchto add or remove up to 500 trainer–member links, with a result per item. - New statuses on these endpoints:
409with acode(requires_trainer,member_limit) and503when the service is temporarily unavailable. - Adds
GET /users/{partner_user_id}/workouts/plannedto 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, andlocation.deletedfor Partner Portal changes. They are partner-level events withpartner_user_id: nulland are sent only once enabled for a destination. See Webhooks.
0.5.7
8 October 2026.
- Adds
PATCH /users/{partner_user_id}/nameto set a member’s first name, last name, or both. See Member Names. - Adds
POST /users/names:batchto set names for up to 500 members in one request, with a per-memberupdatedornot_foundresult. GET /usersandGET /users/{partner_user_id}returnfirst_nameandlast_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, andsubscription.stoppedfor a member’s subscription lifecycle. - Adds
promo_code.redeemed. - Breaking: removes
workout.updatedandworkout.deleted. Useworkout.completedand 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_atinstead ofoccurred_at, addcategory, and no longer returncompletion_percentage,intensity, orsummary. - Breaking: workout exercises use
exercise_id,name, andrepetitionsinstead ofexercise_type,exercise_name, andreps.weightis an object withvalueandunit. Addsgroup_index,result_index,phase, andtarget. - Breaking: tests use
completed_at,test_type, andscoreinstead ofoccurred_at,type, andraw_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 oflast_http_status),delivered_at, andcreated_at. - Documents the
400,403,405, and500error responses.401responses include aWWW-Authenticateheader. - The base URL is
https://api.dev-ai.coach/v1.
0.5.4
31 August 2026. Webhook signing.
X-Timestampis Unix time in whole seconds.X-Signatureis a lowercase hexadecimal HMAC-SHA256 digest ofX-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.