Official Python SDK for Midbound Cloud
pip install midbound_cloud
from midbound_cloud import MidboundCloud from midbound_cloud.types import IdentityEnrichedWebhookEvent midbound = MidboundCloud() # Verify signature and parse event event = midbound.webhooks.unwrap( payload, headers=request.headers, key=os.environ["MIDBOUND_WEBHOOK_SECRET"], ) # Handle typed events if isinstance(event, IdentityEnrichedWebhookEvent): person = event.data.enrichment.person print(person.full_name, person.linkedin_url)
Was this page helpful?
Contact support