Moments Lab Organisation API
The Organisation API from Moments Lab — 2 operation(s) for organisation.
The Organisation API from Moments Lab — 2 operation(s) for organisation.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/moments-lab:moments-lab-organisation-api"
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.
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: 3.2.0
info:
title: Moments Lab Organisation API
version: '1.0'
contact: {}
x-logo:
url: https://assets.momentslab.com/apiv3-swagger-ui/logo_ML.png
backgroundColor: '#FFFFFF'
altText: MomentsLab logo
description: 'Operations tagged Organisation across 2 of this provider''s published API definitions: moments-lab-openapi.json, moments-lab-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://api.momentslab.io
security:
- Api-token: []
- openId: []
tags:
- name: Organisation
paths:
/organisation:
get:
description: This endpoint allows you to list all organisations. You can optionally filter by a list of uids.
operationId: OrganisationController_listOrganisations
parameters:
- name: uids
required: false
in: query
description: Optional list of organisation uids to filter by
schema:
type: array
items:
type: string
- name: X-Nb-Workspace
in: header
schema: {}
responses:
'200':
description: The request was successful.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/OrganisationResponse'
'400':
description: 'Something was wrong with the information you provided in the request. <br/> messageKey: A code or key describing the error.<br/> message: A more detailed explanation of what went wrong.'
content:
application/json:
schema:
$ref: '#/components/schemas/ClientRequestError'
'500':
description: '500: An internal server error occurred. If this happens, you should reach out to Moments Lab support for assistance.<br/>Message: The response will include a message that describes the issue.'
content:
application/json:
schema:
$ref: '#/components/schemas/ServerSideError'
summary: List organisations
tags:
- Organisation
post:
description: This endpoint allows you to create an organisation.
operationId: OrganisationController_createOrganisation
parameters:
- name: X-Nb-Workspace
in: header
schema: {}
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOrganisationRequest'
responses:
'201':
description: The organisation was created successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/OrganisationResponse'
'400':
description: 'Something was wrong with the information you provided in the request. <br/> messageKey: A code or key describing the error.<br/> message: A more detailed explanation of what went wrong.'
content:
application/json:
schema:
$ref: '#/components/schemas/ClientRequestError'
'500':
description: '500: An internal server error occurred. If this happens, you should reach out to Moments Lab support for assistance.<br/>Message: The response will include a message that describes the issue.'
content:
application/json:
schema:
$ref: '#/components/schemas/ServerSideError'
summary: Create organisation
tags:
- Organisation
servers:
- url: /
/organisation/{uid}:
get:
description: This endpoint allows you to get an organisation by its uid.
operationId: OrganisationController_findByUid
parameters:
- name: uid
required: true
in: path
schema:
type: string
- name: X-Nb-Workspace
in: header
schema: {}
responses:
'200':
description: The request was successful.
content:
application/json:
schema:
$ref: '#/components/schemas/OrganisationResponse'
'400':
description: 'Something was wrong with the information you provided in the request. <br/> messageKey: A code or key describing the error.<br/> message: A more detailed explanation of what went wrong.'
content:
application/json:
schema:
$ref: '#/components/schemas/ClientRequestError'
'500':
description: '500: An internal server error occurred. If this happens, you should reach out to Moments Lab support for assistance.<br/>Message: The response will include a message that describes the issue.'
content:
application/json:
schema:
$ref: '#/components/schemas/ServerSideError'
summary: Get organisation by uid
tags:
- Organisation
put:
description: This endpoint allows you to update an organisation.
operationId: OrganisationController_updateOrganisation
parameters:
- name: uid
required: true
in: path
schema:
type: string
- name: X-Nb-Workspace
in: header
schema: {}
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateOrganisationRequest'
responses:
'200':
description: The organisation was updated successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/OrganisationResponse'
'400':
description: 'Something was wrong with the information you provided in the request. <br/> messageKey: A code or key describing the error.<br/> message: A more detailed explanation of what went wrong.'
content:
application/json:
schema:
$ref: '#/components/schemas/ClientRequestError'
'500':
description: '500: An internal server error occurred. If this happens, you should reach out to Moments Lab support for assistance.<br/>Message: The response will include a message that describes the issue.'
content:
application/json:
schema:
$ref: '#/components/schemas/ServerSideError'
summary: Update organisation
tags:
- Organisation
delete:
description: This endpoint allows you to delete an organisation.
operationId: OrganisationController_deleteOrganisation
parameters:
- name: uid
required: true
in: path
schema:
type: string
- name: X-Nb-Workspace
in: header
schema: {}
responses:
'200':
description: The organisation was deleted successfully.
'400':
description: 'Something was wrong with the information you provided in the request. <br/> messageKey: A code or key describing the error.<br/> message: A more detailed explanation of what went wrong.'
content:
application/json:
schema:
$ref: '#/components/schemas/ClientRequestError'
'500':
description: '500: An internal server error occurred. If this happens, you should reach out to Moments Lab support for assistance.<br/>Message: The response will include a message that describes the issue.'
content:
application/json:
schema:
$ref: '#/components/schemas/ServerSideError'
summary: Delete organisation
tags:
- Organisation
servers:
- url: /
components:
schemas:
OrganisationResponse:
type: object
properties:
uid:
type: string
description: Unique identifier of the organisation
label:
type: string
description: Label of the organisation
created_at:
type: string
format: date-time
example: '2024-01-15T10:30:00Z'
description: Creation date of the organisation
updated_at:
type: string
format: date-time
example: '2024-01-15T10:30:00Z'
description: Last update date of the organisation
required:
- uid
- label
- created_at
- updated_at
UpdateOrganisationRequest:
type: object
properties:
label:
type: string
description: Label of the organisation
required:
- label
CreateOrganisationRequest:
type: object
properties:
label:
type: string
description: Label of the organisation
required:
- label
ServerSideError:
type: object
properties:
message:
type: string
description: The response will include a message that describes the issue.
required:
- message
ClientRequestError:
type: object
properties:
message_key:
type: string
description: A code or key describing the error.
message:
type: string
description: ' A more detailed explanation of what went wrong.'
required:
- message_key
- message
securitySchemes:
Api-token:
type: http
scheme: bearer
openId:
type: openIdConnect
openIdConnectUrl: https://newsbridge.eu.auth0.com/.well-known/openid-configuration
x-refined-from:
- moments-lab-openapi.json
- moments-lab-openapi.yml