Mudawin

Part: For developers · Chapter 38 of 41

Meetings

Everything below assumes the Authorization: Bearer <your key> header.

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.


List meetings

GET /api/v1/meetings?status=Completed&limit=25&offset=0
Parameter
status Scheduled · InProgress · Completed · Cancelled. An unrecognised value is ignored rather than emptying the list — an empty list caused by a typo reads as "we have no meetings" and sends somebody looking in the wrong place
limit up to 100, 25 by default
offset for the next page

Response — 200

{
  "data": [
    {
      "id": 6014,
      "title": "Budget review",
      "status": "Completed",
      "platform": "Teams",
      "language": "ar",
      "scheduled_start": "2026-08-09T07:00:00Z",
      "scheduled_end":   "2026-08-09T08:00:00Z",
      "actual_start":    "2026-08-09T07:03:11Z",
      "actual_end":      "2026-08-09T07:52:40Z"
    }
  ],
  "total": 128, "limit": 25, "offset": 0
}

All times are UTC and end in Z. Timezone is a display concern, not a storage one — a meeting stored in local time becomes a lie the moment somebody in another country reads it.


One meeting

GET /api/v1/meetings/6014

Response — 200 (as above, plus participants)

{
  "id": 6014,
  "title": "Budget review",
  "participants": [
    { "name": "Mohammed Nayel", "email": "m@example.sa", "role": "Host", "attendance": "Attended" }
  ]
}
Error
404 meeting_not_found It does not exist, or it is not yours. The same answer to both, deliberately

The minutes

GET /api/v1/meetings/6014/minutes

Response — 200

{
  "status": "Published",
  "published_at": "2026-08-09T09:12:00Z",
  "language": "ar",
  "summary": "…",
  "minutes": "{ … }"
}

Not ready yet — also 200:

{ "status": "not_ready", "message": "This meeting has no minutes yet." }

Why not a 404? Because a meeting whose minutes have not been produced is not an error — it is a state your system will meet constantly while a meeting is still being processed. "Not found" would send somebody hunting for a meeting that is right there.


The transcript

GET /api/v1/meetings/6014/transcript

Response — 200

{
  "language": "ar",
  "engine": "bot service",
  "speakers_are_real": true,
  "lines": [
    { "speaker": "Mohammed Nayel", "start_seconds": 15.2, "end_seconds": 19.8, "text": "…" }
  ]
}

Look at speakers_are_real. When true, the names are real people the meeting platform identified. When false they are a recogniser's guess — "Speaker 0", "Speaker 1". A system filing these lines against named employees needs to know which of the two it has.


Book a meeting

POST /api/v1/meetings
Content-Type: application/json

{
  "title": "Budget follow-up",
  "starts_at": "2026-08-12T10:00:00+03:00",
  "duration_minutes": 60,
  "platform": "Teams",
  "meeting_url": "https://teams.microsoft.com/meet/…",
  "language": "ar"
}

starts_at is an instant, not a wall clock. Your system runs in a timezone we do not know, and "ten o'clock" from it means nothing — so the contract is ISO 8601 with an offset.

Response — 201

{ "id": 6021, "title": "Budget follow-up", "platform": "Teams", "scheduled_start": "2026-08-12T07:00:00Z" }
Error
400 title_required
400 start_required starts_at missing or unreadable
400 meeting_url_required an online platform with no link
403 read_only_key a read key
403 not_permitted this organization does not allow meetings to be created without a person — see What Mudawin does by itself
409 no_organizer no active member to own the meeting

403 not_permitted is not a fault. A request over the API is unattended by definition: nobody clicked anything, and there is no human in the room to notice that a script has just invited forty outsiders. That is exactly what the approval gate is for, so what your organization forbade by hand is forbidden here too.


Send the bot

POST /api/v1/meetings/6021/bot

Response — 200

{ "status": "joining" }

Already there:

{ "status": "Recording", "already": true }

Not an error. A system retrying a request whose answer it never saw is ordinary, and treating that as a fresh request would put two bots in the call, each recording the other.

Error
404 meeting_not_found
409 bot_not_sent with the reason