Roark Organization Project Member API

The Organization Project Member API from Roark — 2 operation(s) for organization project member.

Operations 4

GET /v1/org/project/{projectId}/member List project members #
POST /v1/org/project/{projectId}/member Invite a member #
PUT /v1/org/project/{projectId}/member/{memberId} Update a member role #
DELETE /v1/org/project/{projectId}/member/{memberId} Remove a member #

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/roark:roark-organization-project-member-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

roark-organization-project-member-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Roark Analytics Organization Project Member API
  description: The Roark Analytics API gives you access to the same API that powers the award winning Roark Analytics platform.
  version: 1.0.0
servers:
- description: Production
  url: https://api.roark.ai
security:
- Bearer: []
tags:
- name: Organization Project Member
paths:
  /v1/org/project/{projectId}/member:
    get:
      responses:
        '200':
          description: The project members
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListOrgProjectMembersResponse'
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Authentication error
              example:
                type: authentication
                code: unauthorized
                message: Authentication required
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Permission error
              example:
                type: forbidden
                code: permission_denied
                message: You do not have permission to access this resource
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Not found error
              example:
                type: not_found
                code: resource_not_found
                message: The requested resource could not be found
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Server error
              example:
                type: internal
                code: internal_error
                message: Internal server error
          description: Internal Server Error
      operationId: getV1OrgProjectByProjectIdMember
      tags:
      - Organization Project Member
      summary: List project members
      description: List active and pending-invite members of a project.
      parameters:
      - schema:
          type: string
        in: path
        name: projectId
        required: true
    post:
      responses:
        '200':
          description: The created membership
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/OrgProjectMember'
                required:
                - data
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Validation error
              example:
                type: validation
                code: invalid_parameter
                message: The request was invalid
                param: email
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Authentication error
              example:
                type: authentication
                code: unauthorized
                message: Authentication required
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Permission error
              example:
                type: forbidden
                code: permission_denied
                message: You do not have permission to access this resource
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Not found error
              example:
                type: not_found
                code: resource_not_found
                message: The requested resource could not be found
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Server error
              example:
                type: internal
                code: internal_error
                message: Internal server error
          description: Internal Server Error
      operationId: postV1OrgProjectByProjectIdMember
      tags:
      - Organization Project Member
      summary: Invite a member
      description: Invite a user to the project by email with a role. If the user has no Roark account yet, an invite email is sent and the membership is INVITED until they accept; existing users are added directly. Use this for onboarding and for assigning users to projects.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteOrgProjectMemberInput'
      parameters:
      - schema:
          type: string
        in: path
        name: projectId
        required: true
  /v1/org/project/{projectId}/member/{memberId}:
    put:
      responses:
        '200':
          description: The updated membership
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/OrgProjectMember'
                required:
                - data
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Validation error
              example:
                type: validation
                code: invalid_parameter
                message: The request was invalid
                param: email
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Authentication error
              example:
                type: authentication
                code: unauthorized
                message: Authentication required
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Permission error
              example:
                type: forbidden
                code: permission_denied
                message: You do not have permission to access this resource
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Not found error
              example:
                type: not_found
                code: resource_not_found
                message: The requested resource could not be found
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Conflict error
              example:
                type: conflict
                code: resource_in_use
                message: The resource is in use and cannot be deleted
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Server error
              example:
                type: internal
                code: internal_error
                message: Internal server error
          description: Internal Server Error
      operationId: putV1OrgProjectByProjectIdMemberByMemberId
      tags:
      - Organization Project Member
      summary: Update a member role
      description: Change a project member role.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrgProjectMemberInput'
      parameters:
      - schema:
          type: string
        in: path
        name: projectId
        required: true
      - schema:
          type: string
        in: path
        name: memberId
        required: true
    delete:
      responses:
        '200':
          description: Removal result
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/DeleteOrgResourceResponse'
                required:
                - data
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Authentication error
              example:
                type: authentication
                code: unauthorized
                message: Authentication required
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Permission error
              example:
                type: forbidden
                code: permission_denied
                message: You do not have permission to access this resource
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Not found error
              example:
                type: not_found
                code: resource_not_found
                message: The requested resource could not be found
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Conflict error
              example:
                type: conflict
                code: resource_in_use
                message: The resource is in use and cannot be deleted
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                description: Server error
              example:
                type: internal
                code: internal_error
                message: Internal server error
          description: Internal Server Error
      operationId: deleteV1OrgProjectByProjectIdMemberByMemberId
      tags:
      - Organization Project Member
      summary: Remove a member
      description: Remove a member from the project. The last owner/admin cannot be removed (409).
      parameters:
      - schema:
          type: string
        in: path
        name: projectId
        required: true
      - schema:
          type: string
        in: path
        name: memberId
        required: true
components:
  schemas:
    DeleteOrgResourceResponse:
      type: object
      properties:
        id:
          type: string
        deleted:
          type: boolean
          const: true
      required:
      - id
      - deleted
    ListOrgProjectMembersResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/OrgProjectMember'
      required:
      - data
    ErrorResponse:
      type: object
      properties:
        type:
          type: string
          enum:
          - validation
          - authentication
          - forbidden
          - not_found
          - conflict
          - payment_required
          - rate_limit
          - internal
          description: The error type category
          examples:
          - validation
          - authentication
        code:
          type: string
          description: Machine-readable error code identifier
          examples:
          - invalid_parameter
          - missing_required_field
          - unauthorized
        message:
          type: string
          description: Human-readable error message
          examples:
          - The request was invalid
          - Authentication required
        param:
          type: string
          description: The parameter that caused the error (if applicable)
          examples:
          - email
          - user_id
        details:
          description: Additional error context information
      required:
      - type
      - code
      - message
    UpdateOrgProjectMemberInput:
      type: object
      properties:
        role:
          type: string
          enum:
          - OWNER
          - ADMIN
          - MEMBER
          - VIEWER
      required:
      - role
    OrgProjectMember:
      type: object
      properties:
        id:
          type: string
        projectId:
          type: string
        userId:
          type:
          - string
          - 'null'
        inviteeEmail:
          type:
          - string
          - 'null'
        role:
          type: string
          enum:
          - OWNER
          - ADMIN
          - MEMBER
          - VIEWER
        status:
          type: string
        configManaged:
          type: boolean
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
      - id
      - projectId
      - userId
      - inviteeEmail
      - role
      - status
      - configManaged
      - createdAt
      - updatedAt
    InviteOrgProjectMemberInput:
      type: object
      properties:
        email:
          type: string
          format: email
          description: Email address to invite
          example: jane@seek.com
        role:
          type: string
          enum:
          - OWNER
          - ADMIN
          - MEMBER
          - VIEWER
          description: Project role to grant
      required:
      - email
      - role
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT