The API lives at https://api.minket.com/v1. Authenticate with Authorization: Bearer <api key>; the quickstart covers authentication, pagination and errors, and API keys the scopes. POSTs take an Idempotency-Key. The operation ids are the names in every SDK, the CLI's minket api and the OpenAPI document; the explorer shows the same document interactively.

Groups

  • Emails

    Send, batch, schedule, reschedule and cancel mail, and read it with its timeline. 10 operations.

  • Attachments

    Reusable attachments: upload once, reference by id in any number of emails. 4 operations.

  • Uploads

    Presigned uploads for attachments above 4 MB and large contact imports. 2 operations.

  • Templates

    Hosted templates with typed variables, versions and previews. 10 operations.

  • Domains

    Sending and receiving domains, DNS records, verification and deliverability. 9 operations.

  • Webhooks

    Signed webhook endpoints, their deliveries, replays and test events. 10 operations.

  • Events

    The event feed: every event webhooks deliver, readable with a cursor. 2 operations.

  • Inbound

    Received mail with verdicts and attachments, routing rules and forwarding. 10 operations.

  • Mailboxes

    Connected Gmail, Microsoft and SMTP mailboxes to send as a person. 4 operations.

  • Suppressions

    Addresses that are never sent to, by reason and stream. 3 operations.

  • Contacts

    Contacts with properties, consent, double opt-in, imports, exports and custom events. 15 operations.

  • Segments

    Static and rule-based segments of the audience. 8 operations.

  • Topics

    Subscription topics shown on the preference center. 5 operations.

  • Broadcasts

    Marketing sends to a segment: drafts, scheduling, A/B tests and recipients. 11 operations.

  • Automations

    Workflows triggered by events, their versions and runs. 11 operations.

  • Keys

    API keys of the project, and the calling key itself. 4 operations.

  • Logs

    API request logs with status, latency, key and error code. 2 operations.

  • Members

    Members of the organization and their roles. 1 operation.

All 121 operations

OperationRequestSummary
getEmailMetricsGET /v1/emails/metricsGet email metrics
sendEmailPOST /v1/emailsSend an email
listEmailsGET /v1/emailsList emails
sendBatchPOST /v1/emails/batchSend up to 100 emails
getEmailGET /v1/emails/{id}Get an email
rescheduleEmailPATCH /v1/emails/{id}Reschedule a scheduled email
cancelEmailPOST /v1/emails/{id}/cancelCancel a scheduled email
listEmailEventsGET /v1/emails/{id}/eventsGet an email's event timeline
listEmailAttachmentsGET /v1/emails/{id}/attachmentsList an email's attachments with download URLs
shareEmailPOST /v1/emails/{id}/shareShare an email
createAttachmentPOST /v1/attachmentsStore a reusable attachment (inline up to 4 MB, or from an upload)
listAttachmentsGET /v1/attachmentsList reusable attachments
getAttachmentGET /v1/attachments/{id}Get a reusable attachment with a download URL
deleteAttachmentDELETE /v1/attachments/{id}Delete a reusable attachment
createUploadPOST /v1/uploadsCreate a presigned upload
getUploadGET /v1/uploads/{id}Get an upload's status
createTemplatePOST /v1/templatesCreate a hosted template
listTemplatesGET /v1/templatesList templates
getTemplateGET /v1/templates/{id}Get a template (by id or alias)
updateTemplatePATCH /v1/templates/{id}Update a template (creates a new draft version)
deleteTemplateDELETE /v1/templates/{id}Delete a template
publishTemplatePOST /v1/templates/{id}/publishPublish the current draft version
duplicateTemplatePOST /v1/templates/{id}/duplicateDuplicate a template
listTemplateVersionsGET /v1/templates/{id}/versionsList a template's versions
getTemplateVersionGET /v1/templates/{id}/versions/{version}Get one version
previewTemplatePOST /v1/templates/{id}/previewRender a template with variables
createDomainPOST /v1/domainsAdd a sending or receiving domain
listDomainsGET /v1/domainsList domains
getDomainGET /v1/domains/{id}Get a domain with its DNS records
updateDomainPATCH /v1/domains/{id}Update a domain
deleteDomainDELETE /v1/domains/{id}Remove a domain
verifyDomainPOST /v1/domains/{id}/verifyCheck DNS and SES verification now
listDomainDmarcReportsGET /v1/domains/{id}/dmarcList DMARC aggregate reports for a domain
getDomainReputationGET /v1/domains/{id}/reputationPostmaster and seed-test history for a domain
runSeedTestPOST /v1/domains/{id}/seedtestRun an inbox placement test now
createWebhookPOST /v1/webhooksCreate a webhook endpoint
listWebhooksGET /v1/webhooksList webhook endpoints
getWebhookGET /v1/webhooks/{id}Get a webhook endpoint
updateWebhookPATCH /v1/webhooks/{id}Update a webhook endpoint
deleteWebhookDELETE /v1/webhooks/{id}Delete a webhook endpoint
rotateWebhookSecretPOST /v1/webhooks/{id}/rotateRotate the signing secret
listWebhookDeliveriesGET /v1/webhooks/{id}/deliveriesList deliveries to an endpoint
getWebhookDeliveryGET /v1/webhooks/{id}/deliveries/{deliveryId}Get a delivery with its attempt log
replayWebhookDeliveriesPOST /v1/webhooks/{id}/replayReplay deliveries
testWebhookPOST /v1/webhooks/{id}/testSend a test event
listEventsGET /v1/eventsList events
getEventGET /v1/events/{id}Get an event
listInboundRoutesGET /v1/inbound/routesList inbound routing rules
createInboundRoutePOST /v1/inbound/routesCreate an inbound routing rule
updateInboundRoutePATCH /v1/inbound/routes/{id}Update an inbound routing rule
deleteInboundRouteDELETE /v1/inbound/routes/{id}Delete an inbound routing rule
listInboundGET /v1/inboundList received messages
getInboundGET /v1/inbound/{id}Get a received message with its parsed content and verdicts
listInboundAttachmentsGET /v1/inbound/{id}/attachmentsList a received message's attachments with download URLs
getInboundAttachmentGET /v1/inbound/{id}/attachments/{attachmentId}Get one attachment with a download URL
forwardInboundPOST /v1/inbound/{id}/forwardForward a received message
shareInboundPOST /v1/inbound/{id}/shareShare a received message
listMailboxesGET /v1/mailboxesList connected mailboxes
createMailboxPOST /v1/mailboxesConnect a mailbox
getMailboxGET /v1/mailboxes/{id}Get a mailbox
deleteMailboxDELETE /v1/mailboxes/{id}Disconnect a mailbox
listSuppressionsGET /v1/suppressionsList suppressed addresses
createSuppressionPOST /v1/suppressionsSuppress an address
deleteSuppressionDELETE /v1/suppressions/{id}Remove a suppression
createContactPOST /v1/contactsCreate a contact
listContactsGET /v1/contactsList contacts
importContactsPOST /v1/contacts/importImport contacts from CSV
listImportsGET /v1/contacts/importList imports
getImportGET /v1/contacts/import/{id}Get an import
exportContactsPOST /v1/contacts/exportExport contacts as CSV
sendContactEventPOST /v1/contacts/eventsSend a custom event for a contact
listContactPropertiesGET /v1/contacts/propertiesList contact properties
createContactPropertyPOST /v1/contacts/propertiesDefine a contact property
deleteContactPropertyDELETE /v1/contacts/properties/{id}Delete a contact property
getContactGET /v1/contacts/{id}Get a contact (by id or email)
updateContactPATCH /v1/contacts/{id}Update a contact
deleteContactDELETE /v1/contacts/{id}Delete a contact
listContactConsentGET /v1/contacts/{id}/consentConsent ledger for a contact
sendContactOptinPOST /v1/contacts/{id}/optinSend a double opt-in confirmation
createSegmentPOST /v1/segmentsCreate a segment
listSegmentsGET /v1/segmentsList segments
getSegmentGET /v1/segments/{id}Get a segment
updateSegmentPATCH /v1/segments/{id}Update a segment
deleteSegmentDELETE /v1/segments/{id}Delete a segment
listSegmentContactsGET /v1/segments/{id}/contactsList a segment's contacts
addSegmentContactsPOST /v1/segments/{id}/contactsAdd contacts to a static segment
removeSegmentContactsDELETE /v1/segments/{id}/contactsRemove contacts from a static segment
createTopicPOST /v1/topicsCreate a topic
listTopicsGET /v1/topicsList topics
getTopicGET /v1/topics/{id}Get a topic
updateTopicPATCH /v1/topics/{id}Update a topic
deleteTopicDELETE /v1/topics/{id}Delete a topic
createBroadcastPOST /v1/broadcastsCreate a broadcast
listBroadcastsGET /v1/broadcastsList broadcasts
getBroadcastGET /v1/broadcasts/{id}Get a broadcast, with its progress and analytics
updateBroadcastPATCH /v1/broadcasts/{id}Update a draft broadcast
deleteBroadcastDELETE /v1/broadcasts/{id}Delete a draft broadcast
sendBroadcastPOST /v1/broadcasts/{id}/sendSend or schedule a broadcast
cancelBroadcastPOST /v1/broadcasts/{id}/cancelCancel a scheduled or sending broadcast
duplicateBroadcastPOST /v1/broadcasts/{id}/duplicateDuplicate a broadcast
testBroadcastPOST /v1/broadcasts/{id}/testSend a test copy to up to five addresses
listBroadcastRecipientsGET /v1/broadcasts/{id}/recipientsList a broadcast's recipients and their status
listBroadcastLinksGET /v1/broadcasts/{id}/linksList the links a broadcast's recipients clicked
createAutomationPOST /v1/automationsCreate an automation (draft)
listAutomationsGET /v1/automationsList automations
getAutomationGET /v1/automations/{id}Get an automation with its current definition
updateAutomationPATCH /v1/automations/{id}Update an automation
deleteAutomationDELETE /v1/automations/{id}Archive an automation
publishAutomationPOST /v1/automations/{id}/publishPublish the current version
stopAutomationPOST /v1/automations/{id}/stopPause an automation and stop its waiting runs
duplicateAutomationPOST /v1/automations/{id}/duplicateDuplicate an automation
listAutomationVersionsGET /v1/automations/{id}/versionsList versions
listAutomationRunsGET /v1/automations/{id}/runsList runs
getAutomationRunGET /v1/automations/{id}/runs/{runId}Get a run with its step history
listKeysGET /v1/keysList API keys of the project
createKeyPOST /v1/keysCreate an API key
getCurrentKeyGET /v1/keys/currentDescribe the key making the request
revokeKeyDELETE /v1/keys/{id}Revoke an API key
listLogsGET /v1/logsList API request logs
getLogGET /v1/logs/{id}Get one request log entry
listMembersGET /v1/membersList members of the organization

Updated