Mudawin

Part: For developers · Chapter 37 of 41

Start here

The Mudawin API lets your own systems read your meetings, minutes and decisions, and book a meeting orclose a task — without anybody opening a browser.

This chapter describes screens only an administrator can open. Read it to know what happens there, even if those screens are not visible to you.

Base address

https://<your-mudawin-address>/api/v1

First, a key

From Organization settings → Developers, create one. Name it after the system that will use it, not after a person: systems get replaced, people move on, and a key nobody can identify is a key nobody dares revoke.

It is shown once. We keep a hash of it, not the key, so if you lose it there is no recovering it — create another and revoke the first. That is deliberate: a table of live credentials in the clear is a breach waiting for one careless backup.

Two scopes, and no more

Read only Reads and changes nothing. The default
Read and write Books meetings, sends the bot, closes tasks

Why only two? Because a list of twenty fine-grained permissions reads as careful and behaves as the opposite: nobody can hold twenty in their head, so they tick everything and move on. One question — may this key change anything? — is a question that gets answered honestly.


Sending the key

In the Authorization header, never in the URL:

GET /api/v1/meetings
Authorization: Bearer mdw_xxxxxxxxxxxxxxxxxxxx

Never put it in a URL. Anything in a URL is written into the logs of every proxy and the history of every browser it passes through, and whoever pastes it there will not be thinking of it as a password.

A quick check:

curl -H "Authorization: Bearer mdw_xxxxx" \
     https://mudawin.example.com/api/v1/meetings?limit=1

A key sees its own organization and nothing else

Nowhere in this API is there a parameter for an organization. Every query begins from the organization the key belongs to — not "and is then filtered by".

That is a practical difference, not a wording one: code that fetches a row and then asks whose it is is code that can forget to ask. Code that cannot express another organization cannot reach one.

It is also why "does not exist" and "not yours" get the same answer (404). Telling them apart turns this API into a way of discovering which ids are real somewhere else.


Response shape

Lists come under data, with their count:

{ "data": [ … ], "total": 128, "limit": 25, "offset": 0 }

Errors have one shape: a stable code to branch on, and a sentence for whoever reads the log.

{ "error": "meeting_not_found", "message": "No such meeting in this organization." }

What is in this guide

Meetings the list, one meeting, its minutes, its transcript, booking one, sending the bot
Tasks and decisions reading them, closing a task
Webhooks being told instead of asking
Errors and limits what each code means, and how many requests a minute