Partner quickstart

From your partner secret to your first customer's athletes and workouts, with both credentials.

You need a partner secret and registered addresses first. See Becoming a partner.

Get a customer key

A customer who owns a Vitruve organization on an eligible plan opens Settings → Integrations → Export, selects Create next to your platform, and copies the key. Ask them to paste it into your platform's settings. See Connecting customers.

Store the key encrypted, linked to that customer's account on your side.

Make your first request

Call GET /organization with both headers, from a registered address, to check everything works and learn which organization the key belongs to.

curl "https://api-integrations-next.vitruve.fit/v1/organization" \
  -H "X-API-Key: CUSTOMER_INTEGRATION_KEY" \
  -H "X-Partner-Secret: YOUR_PARTNER_SECRET"

A 200 with the organization in data means the key, your secret and your address are all accepted. Otherwise:

StatusmessageCheck
401Partner credentials requiredSend X-Partner-Secret.
401Invalid partner credentialsThe secret is wrong, revoked, or the key was created for a different platform.
401Invalid API keyThe customer key was mistyped or revoked.
403Request origin not allowed for this integrationYou called from an address you did not register.
403Your plan no longer includes API accessThe customer's plan does not include export integrations.

Read the data

List the customer's athletes, then their completed workouts:

curl "https://api-integrations-next.vitruve.fit/v1/athletes?limit=100" \
  -H "X-API-Key: $CUSTOMER_KEY" -H "X-Partner-Secret: $VITRUVE_PARTNER_SECRET"

curl "https://api-integrations-next.vitruve.fit/v1/workouts?from=2026-10-01&limit=100" \
  -H "X-API-Key: $CUSTOMER_KEY" -H "X-Partner-Secret: $VITRUVE_PARTNER_SECRET"

The workout list has no content: fetch each one with GET /workouts/{id} to get its sets and repetitions. See the workout data model.

Next

On this page