Skip to main content
GET
/
memberships
List membership plans
curl --request GET \
  --url https://api.rntor.com/v1/memberships \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Client-ID: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "Premium Membership",
      "description": "Full access to all amenities and resources",
      "cycle": "monthly",
      "price": 299,
      "currency": "USD",
      "custom_tax_rate": false,
      "tax_rate": 10,
      "minimum_commitment": false,
      "commitment_cycles": 12,
      "expiring_credits": 100,
      "expiring_day_passes": 5,
      "discount_rooms": 20,
      "discount_desks": 15,
      "discount_equipment": 10,
      "discount_events": 25,
      "discount_shop": 10,
      "discount_credit_packages": 5,
      "signup_enabled": true,
      "signup_type": "standard",
      "is_active": true,
      "exclusive_resource_ids": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total": 150,
    "total_pages": 8,
    "has_more": true
  },
  "meta": {
    "request_id": "req_abc123def456",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Your API client secret

X-Client-ID
string
header
required

Your API client ID

Query Parameters

page
integer
default:1

Page number

Required range: x >= 1
per_page
integer
default:20

Items per page

Required range: 1 <= x <= 100
location_id
string<uuid>

Filter by location

is_active
boolean

Filter by active status

signup_enabled
boolean

Filter by signup enabled status

Response

Successful response

data
object[]
pagination
object
meta
object