All methods
Every SDK method, its name in each language, and the HTTP request it makes. Paths are relative to https://api.msgine.net/api/v1. Request and response fields are described in the API reference.
Node.js and Python methods hang off the client (msgine.sms.send); Go methods hang off the client's services and take a context.Context first (client.SMS.Send(ctx, ...)). Python parameters are snake_case versions of the API's field names (scheduled_for, idempotency_key, from_).
SMS
| Node.js | Python | Go | Request |
|---|---|---|---|
sms.send | sms.send | SMS.Send | POST /developers/sms |
sms.list | sms.list | SMS.List | GET /developers/sms/history |
WhatsApp
| Node.js | Python | Go | Request |
|---|---|---|---|
whatsapp.send | whatsapp.send | WhatsApp.Send | POST /developers/whatsapp |
whatsapp.list | whatsapp.list | WhatsApp.List | GET /developers/whatsapp/history |
whatsapp.inbound | whatsapp.inbound | WhatsApp.Inbound | GET /developers/whatsapp/inbound |
Email
| Node.js | Python | Go | Request |
|---|---|---|---|
email.send | email.send | Email.Send | POST /developers/email |
email.list | email.list | Email.List | GET /developers/email/history |
Push
| Node.js | Python | Go | Request |
|---|---|---|---|
push.send | push.send | Push.Send | POST /developers/push |
push.list | push.list | Push.List | GET /developers/push/history |
push.confirm | push.confirm | Push.Confirm | POST /developers/push/delivery |
push.devices.register | push.devices.register | Push.Devices.Register | POST /developers/push/device |
push.devices.list | push.devices.list | Push.Devices.List | GET /developers/push/devices |
push.devices.remove | push.devices.remove | Push.Devices.Remove | DELETE /developers/push/device |
push.config.get | push.config.get | Push.Config.Get | GET /developers/push/config |
push.config.set | push.config.set | Push.Config.Set | PUT /developers/push/config |
push.config.delete | push.config.delete | Push.Config.Delete | DELETE /developers/push/config |
Messages
| Node.js | Python | Go | Request |
|---|---|---|---|
messages.get | messages.get | Messages.Get | GET /developers/{id} |
Webhooks
| Node.js | Python | Go | Request |
|---|---|---|---|
webhooks.create | webhooks.create | Webhooks.Create | POST /developers/webhooks |
webhooks.list | webhooks.list | Webhooks.List | GET /developers/webhooks |
webhooks.get | webhooks.get | Webhooks.Get | GET /developers/webhooks/{id} |
webhooks.update | webhooks.update | Webhooks.Update | PATCH /developers/webhooks/{id} |
webhooks.delete | webhooks.delete | Webhooks.Delete | DELETE /developers/webhooks/{id} |
webhooks.rotateSecret | webhooks.rotate_secret | Webhooks.RotateSecret | POST /developers/webhooks/{id}/rotate-secret |
webhooks.deliveries | webhooks.deliveries | Webhooks.Deliveries | GET /developers/webhooks/{id}/deliveries |
webhooks.test | webhooks.test | Webhooks.Test | POST /developers/webhooks/{id}/test |
webhooks.events | webhooks.events | Webhooks.Events | GET /developers/webhooks/events |
verifyWebhook | verify_webhook | VerifyWebhook | verifies a delivery locally |
Workflows
| Node.js | Python | Go | Request |
|---|---|---|---|
workflows.list | workflows.list | Workflows.List | GET /developers/workflows |
workflows.create | workflows.create | Workflows.Create | POST /developers/workflows |
workflows.get | workflows.get | Workflows.Get | GET /developers/workflows/{id} |
workflows.update | workflows.update | Workflows.Update | PATCH /developers/workflows/{id} |
workflows.archive | workflows.archive | Workflows.Archive | DELETE /developers/workflows/{id} |
workflows.validate | workflows.validate | Workflows.Validate | POST /developers/workflows/{id}/validate |
workflows.publish | workflows.publish | Workflows.Publish | POST /developers/workflows/{id}/publish |
workflows.pause | workflows.pause | Workflows.Pause | POST /developers/workflows/{id}/pause |
workflows.resume | workflows.resume | Workflows.Resume | POST /developers/workflows/{id}/resume |
workflows.versions | workflows.versions | Workflows.Versions | GET /developers/workflows/{id}/versions |
workflows.nodeTypes | workflows.node_types | Workflows.NodeTypes | GET /developers/workflows/node-types |
workflows.platformEvents | workflows.platform_events | Workflows.PlatformEvents | GET /developers/workflows/platform-events |
workflows.runs.start | workflows.runs.start | Workflows.Runs.Start | POST /developers/workflows/{id}/runs |
workflows.runs.list | workflows.runs.list | Workflows.Runs.List | GET /developers/workflows/{id}/runs |
workflows.runs.get | workflows.runs.get | Workflows.Runs.Get | GET /developers/workflows/runs/{runId} |
workflows.runs.cancel | workflows.runs.cancel | Workflows.Runs.Cancel | POST /developers/workflows/runs/{runId}/cancel |
workflows.launches.create | workflows.launches.create | Workflows.Launches.Create | POST /developers/workflows/{id}/launches |
workflows.launches.list | workflows.launches.list | Workflows.Launches.List | GET /developers/workflows/{id}/launches |
workflows.launches.get | workflows.launches.get | Workflows.Launches.Get | GET /developers/workflows/launches/{launchId} |
workflows.launches.cancel | workflows.launches.cancel | Workflows.Launches.Cancel | POST /developers/workflows/launches/{launchId}/cancel |
workflows.hooks.get | workflows.hooks.get | Workflows.Hooks.Get | GET /developers/workflows/{id}/hook |
workflows.hooks.create | workflows.hooks.create | Workflows.Hooks.Create | POST /developers/workflows/{id}/hook |
workflows.hooks.delete | workflows.hooks.delete | Workflows.Hooks.Delete | DELETE /developers/workflows/{id}/hook |
workflows.secrets.list | workflows.secrets.list | Workflows.Secrets.List | GET /developers/workflows/secrets |
workflows.secrets.set | workflows.secrets.set | Workflows.Secrets.Set | PUT /developers/workflows/secrets/{name} |
workflows.secrets.delete | workflows.secrets.delete | Workflows.Secrets.Delete | DELETE /developers/workflows/secrets/{name} |
workflows.messagingPolicy.get | workflows.messaging_policy.get | Workflows.MessagingPolicy.Get | GET /developers/workflows/messaging-policy |
workflows.messagingPolicy.update | workflows.messaging_policy.update | Workflows.MessagingPolicy.Update | PUT /developers/workflows/messaging-policy |
Events
| Node.js | Python | Go | Request |
|---|---|---|---|
events.send | events.send | Events.Send | POST /developers/events |
Opt-outs
| Node.js | Python | Go | Request |
|---|---|---|---|
optOuts.list | opt_outs.list | OptOuts.List | GET /developers/opt-outs |
optOuts.create | opt_outs.create | OptOuts.Create | POST /developers/opt-outs |
optOuts.delete | opt_outs.delete | OptOuts.Delete | DELETE /developers/opt-outs/{id} |
Contact fields
| Node.js | Python | Go | Request |
|---|---|---|---|
contactFields.list | contact_fields.list | ContactFields.List | GET /developers/contacts/fields |
contactFields.create | contact_fields.create | ContactFields.Create | POST /developers/contacts/fields |
contactFields.update | contact_fields.update | ContactFields.Update | PATCH /developers/contacts/fields/{id} |
contactFields.delete | contact_fields.delete | ContactFields.Delete | DELETE /developers/contacts/fields/{id} |
Analytics
| Node.js | Python | Go | Request |
|---|---|---|---|
analytics.summary | analytics.summary | Analytics.Summary | GET /developers/analytics/summary |
analytics.messaging | analytics.messaging | Analytics.Messaging | GET /developers/analytics/messaging |
analytics.engagement | analytics.engagement | Analytics.Engagement | GET /developers/analytics/engagement |
analytics.developer | analytics.developer | Analytics.Developer | GET /developers/analytics/developer |
analytics.overview | analytics.overview | Analytics.Overview | GET /developers/analytics/overview |
analytics.daily | analytics.daily | Analytics.Daily | GET /developers/analytics/daily |
Lists
Every list of messages, workflows, runs and opt-outs returns items, total, page and pages, and takes page and limit. Webhooks, deliveries, launches, contact fields and secrets come back as plain lists. push.devices.list returns devices, total and active.