> ## Documentation Index
> Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List membership plans

> List active global and company-specific membership plans available during creditor account-profile setup, including special-plan inquiry state for onboarding reloads before a plan is selected.



## OpenAPI

````yaml /api/creditor.openapi.yaml get /account-profile/memberships
openapi: 3.1.0
info:
  title: YouNegotiate Creditor API
  version: '2.0'
  description: >-
    Stateless API endpoints for creditor portal authentication and account
    access.
servers:
  - url: https://api.creditor.younegotiate.com
    description: Production
security: []
tags:
  - name: System
    description: Public creditor domain system and health endpoints.
  - name: Authentication
    description: Creditor registration, login, password, and email verification endpoints.
  - name: Account Settings
    description: >-
      Authenticated creditor profile, contact, operating-hours, and
      profile-image endpoints.
  - name: Account Profile
    description: >-
      Creditor onboarding profile, membership, billing, and setup status
      endpoints.
  - name: Setup Wizard
    description: >-
      Creditor setup wizard status, required-step completion, and optional-step
      completion.
  - name: Dashboard
    description: Creditor dashboard work queues and performance widgets.
  - name: Import / Export
    description: >-
      Creditor consumer import upload sessions, queued imports, history,
      downloads, and failed-row files.
  - name: Membership Settings
    description: >-
      Creditor membership dashboard, plan changes, payment method, cancellation,
      special-plan inquiry, and over-limit retry endpoints.
  - name: Merchant Account
    description: >-
      Existing merchant processor credentials, Tilled onboarding, and merchant
      application endpoints.
  - name: Header Profiles
    description: >-
      CSV header profile upload, mapping, download, and setup wizard completion
      endpoints.
  - name: SFTP Connections
    description: >-
      Creditor-managed SFTP connection profiles for imports, exports, and setup
      wizard completion.
  - name: Sub Accounts
    description: >-
      Creditor-managed sub account list, export, create, update, and delete
      endpoints.
  - name: Pay Terms Offers
    description: >-
      Creditor-managed master, sub-account, group, and group-sub-account Pay
      Terms endpoints.
  - name: Individual Custom Offers
    description: Creditor individual custom offer list endpoints.
  - name: Negotiations
    description: >-
      Creditor negotiation work queues, including notice responses and offer
      review counts.
  - name: Communications / CFPB Validation Letter
    description: >-
      CFPB Validation Letter tables, secure EcoLetter send/resend, CSV export,
      and print/download actions.
  - name: Communications / EcoLetter Template
    description: >-
      Creditor EcoLetter template management for secure eLetter communications
      and campaigns.
  - name: Communications / Groups
    description: >-
      Creditor communication group management for dynamic consumer targeting and
      campaign selection.
  - name: Communications / Schedule Campaign
    description: >-
      Creditor EcoLetter campaign scheduling, quote, immediate send, and
      delivery queue endpoints.
  - name: Communications / Campaign Tracker
    description: >-
      Creditor campaign tracker reporting, refresh, and consumer export
      endpoints.
  - name: Consumer Profiles
    description: Creditor Consumer Profiles list, filter options, and CSV export endpoints.
  - name: Terms & Conditions
    description: Creditor-managed master and sub-account Terms & Conditions templates.
  - name: About Us & Contact
    description: Creditor-managed company About Us content shown to consumers.
  - name: Logo & Links
    description: >-
      Creditor-managed master and sub-account personalized logo colors, size,
      and consumer link metadata.
  - name: Users
    description: >-
      Master creditor user management, invitations, and account deletion
      endpoints.
paths:
  /account-profile/memberships:
    get:
      tags:
        - Account Profile
      summary: List membership plans
      description: >-
        List active global and company-specific membership plans available
        during creditor account-profile setup, including special-plan inquiry
        state for onboarding reloads before a plan is selected.
      operationId: creditorListMembershipPlans
      responses:
        '200':
          description: Membership plans returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipListResponse'
        '401':
          $ref: '#/components/responses/Unauthenticated'
      security:
        - bearerAuth: []
components:
  schemas:
    MembershipListResponse:
      type: object
      required:
        - data
        - meta
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/CreditorMembership'
        meta:
          type: object
          required:
            - selected_membership_id
            - selected_company_membership
            - membership_inquiry_card
            - latest_membership_inquiry
          properties:
            selected_membership_id:
              type: integer
              nullable: true
            selected_company_membership:
              anyOf:
                - $ref: '#/components/schemas/CompanyMembership'
                - type: 'null'
            membership_inquiry_card:
              $ref: '#/components/schemas/MembershipInquiryCard'
            latest_membership_inquiry:
              anyOf:
                - $ref: '#/components/schemas/MembershipInquiry'
                - type: 'null'
    CreditorMembership:
      type: object
      additionalProperties: true
      properties:
        id:
          type: integer
        company_id:
          type: integer
          nullable: true
        name:
          type: string
        price:
          type: number
          format: float
        fee:
          type: number
          format: float
        e_letter_fee:
          type: number
          format: float
        upload_accounts_limit:
          type: integer
          nullable: true
        frequency:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        features:
          nullable: true
        status:
          type: boolean
        position:
          type: integer
          nullable: true
        created_at:
          type: string
          format: date-time
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
    CompanyMembership:
      type: object
      additionalProperties: true
      properties:
        id:
          type: integer
        company_id:
          type: integer
        membership_id:
          type: integer
        next_membership_plan_id:
          type: integer
          nullable: true
        status:
          type: string
          nullable: true
        current_plan_start:
          type: string
          format: date-time
          nullable: true
        current_plan_end:
          type: string
          format: date-time
          nullable: true
        cancelled_at:
          type: string
          format: date-time
          nullable: true
        membership:
          anyOf:
            - $ref: '#/components/schemas/CreditorMembership'
            - type: 'null'
        next_membership_plan:
          anyOf:
            - $ref: '#/components/schemas/CreditorMembership'
            - type: 'null'
        created_at:
          type: string
          format: date-time
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
    MembershipInquiryCard:
      type: object
      properties:
        available:
          type: boolean
          description: Whether the special-plan inquiry/contact card should be shown.
        has_pending_inquiry:
          type: boolean
          description: Whether the company already has a pending special-plan inquiry.
        created_at:
          type: string
          format: date-time
          nullable: true
          description: Timestamp for the pending inquiry, when one exists.
        contact_email:
          type: string
          format: email
          example: help@younegotiate.com
        contact_phone:
          type: string
          example: '+13212000010'
    MembershipInquiry:
      type: object
      additionalProperties: true
      properties:
        id:
          type: integer
        description:
          type: string
          nullable: true
        accounts_in_scope:
          type: integer
        status:
          type: integer
          enum:
            - 0
            - 1
            - 2
          description: 0 is New Inquiry, 1 is Plan Created, and 2 is Closed/No Deal.
        status_label:
          type: string
          example: New Inquiry
        has_special_membership:
          type: boolean
        company:
          $ref: '#/components/schemas/MembershipInquiryCompany'
        created_at:
          type: string
          format: date-time
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
    MessageResponse:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    MembershipInquiryCompany:
      type: object
      additionalProperties: true
      properties:
        id:
          type: integer
        company_name:
          type: string
        owner_full_name:
          type: string
          nullable: true
        owner_email:
          type: string
          format: email
          nullable: true
        owner_phone:
          type: string
          nullable: true
        company_phone:
          type: string
          nullable: true
        special_membership:
          anyOf:
            - $ref: '#/components/schemas/CreditorMembership'
            - type: 'null'
  responses:
    Unauthenticated:
      description: Missing or invalid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MessageResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Sanctum token

````