Skip to main content

Module types

Module types 

Source
Expand description

Request and response shapes of the SendClipper REST API (/v1).

The API only ever ADDS fields inside /v1; it never removes or retypes one. Unknown response fields are ignored, and a missing one takes its default. Timestamps are ISO 8601 strings, exactly as the API sends them.

Structs§

ApiKey
One of the workspace’s keys, masked.
Attachment
One file on emails().send() / sandboxes().send().
Audience
A list of contacts.
AudienceList
Every audience.
BatchItemError
Why one batch item was refused.
BatchResult
One submitted item’s outcome: status is "accepted" (id set) or "failed" (error set).
BatchSummary
Counts for a batch.
Contact
One person in an audience.
ContactList
One numbered page of contacts.
CreateContactParams
Adds a contact.
CreateDomainParams
Registers a domain.
CursorInfo
The paging block of a cursor-addressed list.
DnsRecord
One DNS record to publish.
Domain
A sending (and optionally receiving) domain.
DomainCheck
One SPF/DKIM/DMARC check.
DomainRecords
A domain with the DNS records to publish.
DownloadedFile
What a download returns.
EmailDetail
One message with its body and timeline.
EmailEvent
One step of a message’s timeline.
EmailList
One numbered page of the log.
EmailRow
One message in the log.
EmailStats
Counts per status.
ImportContactsParams
A CSV or vCard import.
ListContactsParams
Filters for contacts.
ListEmailsParams
Filters for the sent-mail log.
ListMailboxMessagesParams
Filters for an address’s mail.
ListSandboxMessagesParams
Filters for a sandbox’s messages.
ListSuppressionsParams
Filters for the list.
ListTemplatesParams
Filters for the template list.
ListWebhookDeliveriesParams
Filters for delivery attempts.
ListWebhookDispatchesParams
Filters for undelivered events.
Mailbox
One address on a receiving domain.
MailboxAttachment
One attachment of a received message.
MailboxMessage
One message in full, with its conversation.
MailboxMessageList
One cursor page of a mailbox.
MailboxMessageRow
One message in a mailbox list.
MailboxParams
Creates or changes an address.
MessageHeader
One header of a trapped message.
NamedRef
An { id, name } pair.
PreviewVariable
One tag a preview filled.
ReplayAllResult
What a bulk replay queued.
ResetSandboxCredentials
The new credentials. The token is shown once.
Sandbox
A sandbox: it traps mail, and nothing sent to it is delivered.
SandboxCredentials
Points a project at a sandbox.
SandboxMessage
One trapped message in full.
SandboxMessageSummary
One trapped message in a list.
SandboxParams
Creates or renames a sandbox.
SandboxSendResult
What the sandbox JSON door answers.
SendBatchResponse
One result per submitted item, in order.
SendEmailParams
One message. Give it a body (subject + html) or a published template (template_id or template, plus variables).
SentEmail
What emails().send() answers: the message was accepted (queued).
Suppression
Stops mail to one address.
SuppressionCounts
Counts on the list.
SuppressionCreated
created is false when the address was already suppressed; row is the entry either way.
SuppressionList
One cursor page of the list.
Template
A template with its body.
TemplateAsset
An uploaded image.
TemplateParams
Creates or changes a template. Every field is optional; on an update only the fields you set change.
TemplatePreview
A render that sent nothing.
TemplateSummary
One card in the template list.
TemplateTag
A template tag.
WebhookDispatch
One event’s delivery to one endpoint.
WebhookDispatchPage
One cursor page of dispatches.
WebhookEndpoint
A URL SendClipper posts events to.
WebhookEvent
A webhook delivery’s body.
WebhookParams
Registers or changes an endpoint.
Workspace
The workspace an API key belongs to.

Type Aliases§

Object
A JSON object, for open-ended fields.