openapi: 3.0.1
info:
title: Miro Developer Platform AI Interaction Logs Organization Members API
version: v2.0
description: '
### Miro Developer Platform concepts
- New to the Miro Developer Platform? Interested in learning more about platform concepts??
[Read our introduction page](https://beta.developers.miro.com/docs/introduction) and familiarize yourself with the Miro Developer Platform capabilities in a few minutes.
### Getting started with the Miro REST API
- [Quickstart (video):](https://beta.developers.miro.com/docs/try-out-the-rest-api-in-less-than-3-minutes) try the REST API in less than 3 minutes.
- [Quickstart (article):](https://beta.developers.miro.com/docs/build-your-first-hello-world-app-1) get started and try the REST API in less than 3 minutes.
### Miro REST API tutorials
Check out our how-to articles with step-by-step instructions and code examples so you can:
- [Get started with OAuth 2.0 and Miro](https://beta.developers.miro.com/docs/getting-started-with-oauth)
### Miro App Examples
Clone our [Miro App Examples repository](https://github.com/miroapp/app-examples) to get inspiration, customize, and explore apps built on top of Miro''s Developer Platform 2.0.
'
servers:
- url: https://api.miro.com/
tags:
- name: Organization Members
paths:
/v2/orgs/{org_id}/members:
get:
description: Retrieves organization members based on the organization ID and the cursor, or based on the user emails provided in the request.
This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.
operationId: enterprise-get-organization-members parameters: - in: query name: emails schema: type: string description: 'Emails of the organization members you want to retrieve. If you specify a value for the `emails` parameter, only the `emails` parameter is considered. All other filtering parameters are ignored. Maximum emails size is 10. Example: `emails=someEmail1@miro.com,someEmail2@miro.com`' example: someEmail1@miro.com - in: query name: role schema: type: string description: Filter organization members by role enum: - organization_internal_admin - organization_internal_user - organization_external_user - organization_team_guest_user - unknown - in: query name: license schema: type: string description: Filter organization members by license enum: - advanced - standard - basic - full - occasional - free - free_restricted - full_trial - unknown - in: query name: active schema: type: boolean description: Filter results based on whether the user is active or deactivated. Learn more about user deactivation. - in: query name: cursor schema: type: string description: The ID of the organization member used as the reference for pagination. To retrieve the first portion of the collection don't pass a cursor value. To retrieve the next portion of the collection, set the `cursor` parameter value to the ID of the last organization member you received in the response of the previous request. example: '3055557345821141000' - in: query name: limit schema: maximum: 100 minimum: 1 type: integer description: Limit for the number of organization members returned in the result list. format: int32 example: 100 default: 100 - description: id of the organization example: '3074457345821141000' in: path name: org_id required: true schema: type: string responses: '200': content: application/json: schema: oneOf: - $ref: '#/components/schemas/OrganizationMembersSearchResponse' - $ref: '#/components/schemas/OrganizationMembersSearchByEmailsResponse' description: Organization members queries successfully '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '409': $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' summary: Get organization members tags: - Organization Members /v2/orgs/{org_id}/members/{member_id}: get: description: Retrieves organization member information for an existing organization.This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.
operationId: enterprise-get-organization-member parameters: - description: id of the organization example: '3074457345821141000' in: path name: org_id required: true schema: type: string - description: id of the organization member example: '3055557345821141000' in: path name: member_id required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/OrganizationMember' description: Organization member found '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '409': $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' summary: Get organization member tags: - Organization Members components: schemas: OrganizationMember: description: Organization member required: - active - email - id - license - role type: object properties: id: type: string description: Id of the user example: '3074457345821140934' active: type: boolean description: Indicates if a user is active or deactivated. Learn more about user deactivation. example: true email: type: string description: User email example: user@miro.com lastActivityAt: type: string description: 'Date and time when the user was last active.