ProSide Golf Membership Accounts API

The membership-accounts API from ProSide Golf — 6 operation(s) for membership-accounts.

GitHub OpenAPI

Operations 7

GET /api/v1/membership-accounts List Membership Accounts #
POST /api/v1/membership-accounts Create Membership Account #
GET /api/v1/membership-accounts/{account_id} Get Membership Account #
POST /api/v1/membership-accounts/{account_id}/transition Transition Membership Account #
POST /api/v1/membership-accounts/{account_id}/members Add Membership Account Member #
PUT /api/v1/membership-accounts/{account_id}/members/{member_id} Update Membership Account Member #
PUT /api/v1/membership-accounts/{account_id}/entitlements/{entitlement_key} Put Membership Account Entitlement #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/proside-io:proside-io-membership-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

proside-io-membership-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProSide Golf Membership Accounts API
  version: 3.0.0
tags:
- name: membership-accounts
paths:
  /api/v1/membership-accounts:
    get:
      tags:
      - membership-accounts
      summary: List Membership Accounts
      operationId: list_membership_accounts_api_v1_membership_accounts_get
      security:
      - HTTPBearer: []
      parameters:
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - PENDING
            - ACTIVE
            - SUSPENDED
            - CLOSED
            type: string
          - type: 'null'
          title: Status
      - name: membership_type_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Membership Type Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 250
          minimum: 1
          default: 100
          title: Limit
      - name: X-Facility-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Facility-Id
      - name: X-Department-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Department-Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipAccountListOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - membership-accounts
      summary: Create Membership Account
      operationId: create_membership_account_api_v1_membership_accounts_post
      security:
      - HTTPBearer: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: X-Facility-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Facility-Id
      - name: X-Department-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Department-Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipAccountCreateInput'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipAccountDetailOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/membership-accounts/{account_id}:
    get:
      tags:
      - membership-accounts
      summary: Get Membership Account
      operationId: get_membership_account_api_v1_membership_accounts__account_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      - name: X-Facility-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Facility-Id
      - name: X-Department-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Department-Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipAccountDetailOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/membership-accounts/{account_id}/transition:
    post:
      tags:
      - membership-accounts
      summary: Transition Membership Account
      operationId: transition_membership_account_api_v1_membership_accounts__account_id__transition_post
      security:
      - HTTPBearer: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      - name: X-Facility-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Facility-Id
      - name: X-Department-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Department-Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipAccountTransitionInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipAccountDetailOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/membership-accounts/{account_id}/members:
    post:
      tags:
      - membership-accounts
      summary: Add Membership Account Member
      operationId: add_membership_account_member_api_v1_membership_accounts__account_id__members_post
      security:
      - HTTPBearer: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      - name: X-Facility-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Facility-Id
      - name: X-Department-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Department-Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipMemberInput'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipAccountDetailOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/membership-accounts/{account_id}/members/{member_id}:
    put:
      tags:
      - membership-accounts
      summary: Update Membership Account Member
      operationId: update_membership_account_member_api_v1_membership_accounts__account_id__members__member_id__put
      security:
      - HTTPBearer: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      - name: member_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Member Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      - name: X-Facility-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Facility-Id
      - name: X-Department-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Department-Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipMemberInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipAccountDetailOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/membership-accounts/{account_id}/entitlements/{entitlement_key}:
    put:
      tags:
      - membership-accounts
      summary: Put Membership Account Entitlement
      operationId: put_membership_account_entitlement_api_v1_membership_accounts__account_id__entitlements__entitlement_key__put
      security:
      - HTTPBearer: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Account Id
      - name: entitlement_key
        in: path
        required: true
        schema:
          type: string
          title: Entitlement Key
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      - name: X-Facility-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Facility-Id
      - name: X-Department-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Department-Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipEntitlementInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipAccountDetailOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MembershipAccountCreateInput:
      properties:
        membership_type_id:
          type: string
          format: uuid
          title: Membership Type Id
        account_number:
          type: string
          maxLength: 80
          minLength: 1
          title: Account Number
        display_name:
          type: string
          maxLength: 200
          minLength: 1
          title: Display Name
        account_kind:
          type: string
          enum:
          - HOUSEHOLD
          - CORPORATE
          title: Account Kind
          default: HOUSEHOLD
        household_structure:
          type: string
          enum:
          - SINGLE
          - PARTNER
          - FAMILY
          - CORPORATE
          title: Household Structure
        status:
          type: string
          enum:
          - PENDING
          - ACTIVE
          - SUSPENDED
          - CLOSED
          title: Status
          default: ACTIVE
        effective_from:
          type: string
          format: date
          title: Effective From
        effective_until:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Effective Until
        max_registered_people:
          anyOf:
          - type: integer
            maximum: 10000.0
            minimum: 1.0
          - type: 'null'
          title: Max Registered People
        max_anonymous_dependents:
          anyOf:
          - type: integer
            maximum: 4.0
            minimum: 0.0
          - type: 'null'
          title: Max Anonymous Dependents
        currency:
          type: string
          maxLength: 3
          minLength: 3
          title: Currency
          default: USD
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
      additionalProperties: false
      type: object
      required:
      - membership_type_id
      - account_number
      - display_name
      - household_structure
      - effective_from
      title: MembershipAccountCreateInput
    MembershipAccountOutput:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        facility_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Facility Id
        membership_type_id:
          type: string
          format: uuid
          title: Membership Type Id
        account_number:
          type: string
          title: Account Number
        display_name:
          type: string
          title: Display Name
        account_kind:
          type: string
          title: Account Kind
        household_structure:
          type: string
          title: Household Structure
        status:
          type: string
          title: Status
        effective_from:
          type: string
          format: date
          title: Effective From
        effective_until:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Effective Until
        max_registered_people:
          type: integer
          title: Max Registered People
        max_anonymous_dependents:
          type: integer
          title: Max Anonymous Dependents
        currency:
          type: string
          title: Currency
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
        version:
          type: integer
          title: Version
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
      type: object
      required:
      - id
      - organization_id
      - facility_id
      - membership_type_id
      - account_number
      - display_name
      - account_kind
      - household_structure
      - status
      - effective_from
      - effective_until
      - max_registered_people
      - max_anonymous_dependents
      - currency
      - metadata
      - version
      - created_at
      - updated_at
      title: MembershipAccountOutput
    MembershipMemberInput:
      properties:
        person_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Person Id
        relationship:
          type: string
          enum:
          - PRIMARY
          - PARTNER
          - DEPENDENT
          - CORPORATE_COORDINATOR
          - CORPORATE_MEMBER
          title: Relationship
        display_label:
          type: string
          maxLength: 160
          minLength: 1
          title: Display Label
        birth_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Birth Date
        is_anonymous_dependent:
          type: boolean
          title: Is Anonymous Dependent
          default: false
        status:
          type: string
          enum:
          - ACTIVE
          - INACTIVE
          title: Status
          default: ACTIVE
        effective_from:
          type: string
          format: date
          title: Effective From
        effective_until:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Effective Until
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
      additionalProperties: false
      type: object
      required:
      - relationship
      - display_label
      - effective_from
      title: MembershipMemberInput
    MembershipAuditOutput:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        action:
          type: string
          title: Action
        target_version:
          type: integer
          title: Target Version
        changes:
          additionalProperties: true
          type: object
          title: Changes
        occurred_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Occurred At
        correlation_id:
          type: string
          title: Correlation Id
      type: object
      required:
      - id
      - action
      - target_version
      - changes
      - occurred_at
      - correlation_id
      title: MembershipAuditOutput
    MembershipAccountEntitlementOutput:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        facility_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Facility Id
        entitlement_key:
          type: string
          title: Entitlement Key
        status:
          type: string
          title: Status
        booking_priority:
          type: integer
          title: Booking Priority
        reservation_advance_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Reservation Advance Days
        annual_usage_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Annual Usage Limit
        guest_rate_required:
          type: boolean
          title: Guest Rate Required
        effective_from:
          type: string
          format: date
          title: Effective From
        effective_until:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Effective Until
        policy:
          additionalProperties: true
          type: object
          title: Policy
        version:
          type: integer
          title: Version
      type: object
      required:
      - id
      - facility_id
      - entitlement_key
      - status
      - booking_priority
      - reservation_advance_days
      - annual_usage_limit
      - guest_rate_required
      - effective_from
      - effective_until
      - policy
      - version
      title: MembershipAccountEntitlementOutput
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MembershipAccountTransitionInput:
      properties:
        status:
          type: string
          enum:
          - ACTIVE
          - SUSPENDED
          - CLOSED
          title: Status
        effective_until:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Effective Until
        reason:
          type: string
          maxLength: 500
          minLength: 1
          title: Reason
      additionalProperties: false
      type: object
      required:
      - status
      - reason
      title: MembershipAccountTransitionInput
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MembershipAccountListOutput:
      properties:
        items:
          items:
            $ref: '#/components/schemas/MembershipAccountOutput'
          type: array
          title: Items
      type: object
      required:
      - items
      title: MembershipAccountListOutput
    MembershipEntitlementInput:
      properties:
        status:
          type: string
          enum:
          - ACTIVE
          - SUSPENDED
          - EXPIRED
          title: Status
          default: ACTIVE
        booking_priority:
          type: integer
          maximum: 32767.0
          minimum: 0.0
          title: Booking Priority
          default: 0
        reservation_advance_days:
          anyOf:
          - type: integer
            maximum: 32767.0
            minimum: 0.0
          - type: 'null'
          title: Reservation Advance Days
        annual_usage_limit:
          anyOf:
          - type: integer
            maximum: 2147483647.0
            minimum: 0.0
          - type: 'null'
          title: Annual Usage Limit
        guest_rate_required:
          type: boolean
          title: Guest Rate Required
          default: false
        effective_from:
          type: string
          format: date
          title: Effective From
        effective_until:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Effective Until
        policy:
          additionalProperties: true
          type: object
          title: Policy
      additionalProperties: false
      type: object
      required:
      - effective_from
      title: MembershipEntitlementInput
    MembershipAccountDetailOutput:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        facility_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Facility Id
        membership_type_id:
          type: string
          format: uuid
          title: Membership Type Id
        account_number:
          type: string
          title: Account Number
        display_name:
          type: string
          title: Display Name
        account_kind:
          type: string
          title: Account Kind
        household_structure:
          type: string
          title: Household Structure
        status:
          type: string
          title: Status
        effective_from:
          type: string
          format: date
          title: Effective From
        effective_until:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Effective Until
        max_registered_people:
          type: integer
          title: Max Registered People
        max_anonymous_dependents:
          type: integer
          title: Max Anonymous Dependents
        currency:
          type: string
          title: Currency
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
        version:
          type: integer
          title: Version
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        members:
          items:
            $ref: '#/components/schemas/MembershipAccountMemberOutput'
          type: array
          title: Members
        entitlements:
          items:
            $ref: '#/components/schemas/MembershipAccountEntitlementOutput'
          type: array
          title: Entitlements
        audit_history:
          items:
            $ref: '#/components/schemas/MembershipAuditOutput'
          type: array
          title: Audit History
      type: object
      required:
      - id
      - organization_id
      - facility_id
      - membership_type_id
      - account_number
      - display_name
      - account_kind
      - household_structure
      - status
      - effective_from
      - effective_until
      - max_registered_people
      - max_anonymous_dependents
      - currency
      - metadata
      - version
      - created_at
      - updated_at
      - members
      - entitlements
      - audit_history
      title: MembershipAccountDetailOutput
    MembershipAccountMemberOutput:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        person_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Person Id
        legacy_player_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Legacy Player Id
        relationship:
          type: string
          title: Relationship
        display_label:
          type: string
          title: Display Label
        birth_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Birth Date
        is_anonymous_dependent:
          type: boolean
          title: Is Anonymous Dependent
        status:
          type: string
          title: Status
        effective_from:
          type: string
          format: date
          title: Effective From
        effective_until:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Effective Until
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
        version:
          type: integer
          title: Version
      type: object
      required:
      - id
      - person_id
      - legacy_player_id
      - relationship
      - display_label
      - birth_date
      - is_anonymous_dependent
      - status
      - effective_from
      - effective_until
      - metadata
      - version
      title: MembershipAccountMemberOutput
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer