Planable Members API

The Members API from Planable — 1 operation(s). List workspace members with their roles and approval-level assignments.

OpenAPI Specification

planable-members-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Planable Public Members API
  version: 1.0.0
  description: 'REST API for managing Planable companies, workspaces, pages, posts and more.


    **Plan eligibility:** new API tokens can only be generated by companies on the **Pro** and **Enterprise**
    plans. Tokens that have already been generated continue to work regardless of plan.'
servers:
- url: https://api.planable.io/api/v1
security:
- bearerAuth: []
tags:
- name: Members
paths:
  /members:
    get:
      tags:
      - Members
      summary: List workspace members
      description: Returns the members of a workspace with their permissions, membership type (team or
        client), and approver status. Use this to map member ids to people when requesting approvals or
        interpreting comment authors.
      parameters:
      - name: workspaceId
        in: query
        required: true
        schema:
          type: string
      security:
      - bearerAuth: []
      responses:
        '200':
          description: List of workspace members
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        email:
                          type: string
                        permissions:
                          type: array
                          items:
                            type: string
                        membership:
                          type: string
                        isApprover:
                          type: boolean
                        approvalLevelIds:
                          type: array
                          items:
                            type: string
                        avatarUrl:
                          type:
                          - string
                          - 'null'
                      required:
                      - id
                      - name
                      - email
                      - permissions
                      - membership
                      - isApprover
                      - avatarUrl
                required:
                - data
        '400':
          description: Validation error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Token does not have access to this workspace
        '404':
          description: Workspace not found
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pln_*
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
              - VALIDATION_ERROR
              - UNAUTHORIZED
              - FORBIDDEN
              - NOT_FOUND
              - METHOD_NOT_ALLOWED
              - RATE_LIMITED
              - POST_ALREADY_PUBLISHED
              - PUBLISHING_IN_PROGRESS
              - WORKSPACE_LIMIT_REACHED
              - INTERNAL
            message:
              type: string
            requestId:
              type: string
          required:
          - code
          - message
          - requestId
      required:
      - error