Skip to content

Overview

Every documented route of Sendwing’s API: the public API and the routes only Sendwing’s own apps call (the web app, admin).

Routes marked x-internal are internal: they may change at any time, and aren’t in the public reference (https://api.sendwing.app/openapi.json). The others are public, and change only in new API versions.

Paths are relative to https://api.sendwing.app. Generated from the routes by pnpm openapi:generate; don’t edit it by hand.

Security scheme type: apiKey

Header parameter name: x-api-key

Security scheme type: oauth2

Flow type: authorizationCode

Authorization URL: https://app.sendwing.app/core/api/auth/oauth2/authorize

Token URL: https://api.sendwing.app/api/auth/oauth2/token

Refresh URL: https://api.sendwing.app/api/auth/oauth2/token

Scopes:

  • contacts:read - Read contacts, their custom properties, tags, mailing lists and segments
  • contacts:write - Add and change contacts: their fields, tags (new ones too), lists, subscription and events
  • contacts:delete - Delete contacts, and every record of them
  • audience:write - Create, change and delete custom properties, tags, mailing lists and segments
  • templates:read - Read email templates
  • templates:write - Create, change and delete email templates
  • campaigns:read - Read campaigns
  • campaigns:write - Create, change and delete campaign drafts, without sending them
  • campaigns:send - Send, schedule and cancel campaigns, and send test emails
  • workflows:read - Read workflows
  • workflows:write - Create, change and archive workflows, without publishing them
  • workflows:publish - Publish, pause and resume workflows, and enroll contacts
  • emails:send - Send one-off emails to any address with the emails API, and see what became of them
  • domains:read - Read sending domains and the sending settings
  • domains:write - Add, check and remove sending domains
  • webhooks - Create, read and delete webhook endpoints, and read webhook events
  • offline_access - Get a refresh token, to stay connected after the access token expires