The Platform API (https://api.kapso.ai/platform/v1): everything around
the messages, such as onboarding customers, connecting numbers, setup
links, broadcasts, webhooks and project data.
Conventions
Functions take attributes as maps or keyword lists. When an endpoint expects the attributes under a root key (for example
{"customer": {...}}), the function adds it for you:KapsoEx.Platform.Customers.create(client, %{name: "Acme", external_customer_id: "acme-1"}) # POST /customers {"customer": {"name": "Acme", "external_customer_id": "acme-1"}}Responses keep Kapso's envelope:
%{"data" => ...}, plus"meta"(page based lists) or"paging"(cursor based lists). UseKapsoEx.Pagination.stream/2to walk all pages.
Modules:
KapsoEx.Platform.Customers,KapsoEx.Platform.SetupLinksKapsoEx.Platform.PhoneNumbers,KapsoEx.Platform.DisplayNamesKapsoEx.Platform.Webhooks,KapsoEx.Platform.WebhookDeliveriesKapsoEx.Platform.BroadcastsKapsoEx.Platform.Messages,KapsoEx.Platform.Conversations,KapsoEx.Platform.Contacts,KapsoEx.Platform.MediaKapsoEx.Platform.FlowsKapsoEx.Platform.Events,KapsoEx.Platform.FindingsKapsoEx.Platform.Users,KapsoEx.Platform.InboxEmbeds,KapsoEx.Platform.Notifications,KapsoEx.Platform.ProviderModelsKapsoEx.Platform.ApiLogs,KapsoEx.Platform.LogSearchKapsoEx.Platform.Funding,KapsoEx.Platform.BusinessVerification