Webhooks

Manage webhooks to receive real-time notifications about meeting events through client.webhooks.

1. List Available Organizations

Returns organizations accessible to your external application. Use these IDs when creating webhooks.

list_available_organizations(
    extra_headers: dict | None = None,
) -> list[AvailableOrganization]

Sync Example

from meemo import MeemoClient

client = MeemoClient(
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET",
    base_url="https://your-meemo-instance.com",
)

orgs = client.webhooks.list_available_organizations()
for org in orgs:
    print(f"  [{org.id}] {org.name}")

Async Example

Returns list[AvailableOrganization]. Each item has fields: id, name.


2. Create Webhook

Register a new webhook to receive events for one or more organizations.

Parameters

Parameter
Type
Description

target_url

str

Required. HTTPS URL where events will be sent.

events

list[str]

Required. List of events to subscribe to (see Available Events).

organization_ids

list[int]

Required. List of organization IDs to monitor.

description

str

Description of the webhook.

Available Events

  • meeting.created

  • meeting.deleted

  • meeting.transcription_completed

  • meeting.transcription_failed

  • meeting.summarization_completed

Sync Example

Async Example

Returns list[Webhook] — one webhook object per organization. Each Webhook has fields: id, target_url, secret_key, events, is_active, description, created_at, organization_id, failure_count, last_failure_reason.


3. List Webhooks

Returns all webhooks registered for your accessible organizations.

Sync Example

Async Example

Returns WebhookListResponse with fields: count, next, previous, results (list of Webhook).


4. Get Webhook Details

Parameters

Parameter
Type
Description

webhook_id

int

Required. The webhook ID.

Sync Example

Async Example

Returns Webhook.


5. Delete Webhook

Parameters

Parameter
Type
Description

webhook_id

int

Required. The webhook ID to delete.

Sync Example

Async Example

Returns None.


6. List Webhook Events (Logs)

View delivery logs for your webhooks.

Parameters

Parameter
Type
Description

webhook_id

int

Filter events by specific webhook ID.

Sync Example

Async Example

Returns WebhookEventListResponse with fields: count, results (list of WebhookEvent).


7. Get Webhook Event Details

Parameters

Parameter
Type
Description

event_id

int

Required. The webhook event ID.

Sync Example

Async Example

Returns WebhookEvent with fields: id, webhook_id, event_uuid, event_type, status, response_status, attempt_count, created_at.


Error Responses

Status
Condition

400

Invalid parameters (e.g., missing required fields, invalid URL).

401

Missing or invalid access token.

403

Application does not have access to the specified organizations.

404

Webhook or event not found.

Last updated

Was this helpful?