Skip to content

Partners

info

Request

This endpoint returns the partner information which is related to the given credentials, if these credentials are invalid it will return a HTTP 401 UNAUTHORIZED error code.

Security
partner
curl -i -X GET \
  https://developer.egym.com/_mock/equipment/partner-api/api/v1/partners/info \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Ok

Bodyapplication/json
namestring

The partner name.

createdAtinteger, (int64)

The date of creation.

Example:1672531200000
featureFlagsArray of strings

The feature flags enabled for this gym.

Response
{ "name": "string", "createdAt": 1672531200000, "featureFlags": [ "string" ] }