dambel

دمبل

shevron
ورود | ثبت نام

API Docs / gyms / plans / index



GET /api/v1/gyms/{gym-id}/plans

Retrieves a list of subscription plans for a specific gym.

No authentication required.


Permissions

PermissionDescription
gyms.view_allRequired to view plans for an inactive gym or inactive plans

URL Parameters

NameTypeRequiredDescriptionExample
gym-idintYesID of the gym123

Request Example

GET /api/v1/gyms/123/plans
Authorization: Bearer {token}

Response

200 OK

Returns a list of gym plan resources.

Example

{
  "data": [ { /* gym plan resource */ }, ... ]
}

For a full schema, see Gym Plan Resource.


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube