boundry.
RegionSydney, Australia

Go SDK

github.com/flindev/boundry-go provides an ergonomic emails.send helper and the complete generated API through client.API.

Install

Browse the published package or inspect its public generated source.

terminalShell
Shell
go get github.com/flindev/boundry-go

Quickstart

Set BOUNDRY_API_KEY, keep it on the server, and send from a domain verified in this project.

send.goGo
Go
client := boundry.NewClient(os.Getenv("BOUNDRY_API_KEY"))

email, err := client.Emails.Send(context.Background(), &boundry.SendEmailParams{
    From: "Acme <hello@acme.com>",
    To: []string{"ava@northwind.com.au"},
    Subject: "Welcome to Acme",
    HTML: "<p>It works.</p>",
})
if err != nil {
    panic(err)
}

fmt.Println(email.Id)

Complete API

The low-level client is generated from the canonical Laravel OpenAPI contract, so every public operation remains available even when it does not have a convenience helper.

SDK methodWhat it doesAPI reference
client.API.ListApiKeys(...)listApiKeysView endpoint
client.API.CreateApiKey(...)createApiKeyView endpoint
client.API.DeleteApiKey(...)deleteApiKeyView endpoint
client.API.ListBroadcasts(...)listBroadcastsView endpoint
client.API.CreateBroadcast(...)createBroadcastView endpoint
client.API.DeleteBroadcast(...)deleteBroadcastView endpoint
client.API.GetBroadcast(...)getBroadcastView endpoint
client.API.UpdateBroadcast(...)updateBroadcastView endpoint
client.API.CancelBroadcast(...)cancelBroadcastView endpoint
client.API.ListBroadcastClickedLinks(...)listBroadcastClickedLinksView endpoint
client.API.GetBroadcastMetrics(...)getBroadcastMetricsView endpoint
client.API.ListBroadcastRecipients(...)listBroadcastRecipientsView endpoint
client.API.SendBroadcast(...)sendBroadcastView endpoint
client.API.ListContactProperties(...)listContactPropertiesView endpoint
client.API.CreateContactProperty(...)createContactPropertyView endpoint
client.API.DeleteContactProperty(...)deleteContactPropertyView endpoint
client.API.GetContactProperty(...)getContactPropertyView endpoint
client.API.UpdateContactProperty(...)updateContactPropertyView endpoint
client.API.ListContacts(...)listContactsView endpoint
client.API.CreateContact(...)createContactView endpoint
client.API.DeleteContact(...)deleteContactView endpoint
client.API.GetContact(...)getContactView endpoint
client.API.UpdateContact(...)updateContactView endpoint
client.API.ListContactSegments(...)listContactSegmentsView endpoint
client.API.RemoveContactFromSegment(...)removeContactFromSegmentView endpoint
client.API.AddContactToSegment(...)addContactToSegmentView endpoint
client.API.GetContactTopics(...)getContactTopicsView endpoint
client.API.UpdateContactTopics(...)updateContactTopicsView endpoint
client.API.ListDomains(...)listDomainsView endpoint
client.API.CreateDomain(...)createDomainView endpoint
client.API.DeleteDomain(...)deleteDomainView endpoint
client.API.GetDomain(...)getDomainView endpoint
client.API.UpdateDomain(...)updateDomainView endpoint
client.API.VerifyDomain(...)verifyDomainView endpoint
client.API.CreateDomainClaim(...)createDomainClaimView endpoint
client.API.GetDomainClaim(...)getDomainClaimView endpoint
client.API.VerifyDomainClaim(...)verifyDomainClaimView endpoint
client.API.ListEmails(...)listEmailsView endpoint
client.API.SendEmail(...)sendEmailView endpoint
client.API.GetEmail(...)getEmailView endpoint
client.API.UpdateScheduledEmail(...)updateScheduledEmailView endpoint
client.API.ListEmailAttachments(...)listEmailAttachmentsView endpoint
client.API.GetEmailAttachment(...)getEmailAttachmentView endpoint
client.API.CancelEmail(...)cancelEmailView endpoint
client.API.RetryEmail(...)retryEmailView endpoint
client.API.GetEmailSource(...)getEmailSourceView endpoint
client.API.SendBatchEmails(...)sendBatchEmailsView endpoint
client.API.GetEmailMetrics(...)getEmailMetricsView endpoint
client.API.ListReceivedEmails(...)listReceivedEmailsView endpoint
client.API.GetReceivedEmail(...)getReceivedEmailView endpoint
client.API.ListReceivedEmailAttachments(...)listReceivedEmailAttachmentsView endpoint
client.API.GetReceivedEmailAttachment(...)getReceivedEmailAttachmentView endpoint
client.API.GetReceivedEmailSource(...)getReceivedEmailSourceView endpoint
client.API.GetReceivedEmailThread(...)getReceivedEmailThreadView endpoint
client.API.Health(...)healthView endpoint
client.API.ListLogs(...)listLogsView endpoint
client.API.GetLog(...)getLogView endpoint
client.API.AuthorizeOAuth(...)authorizeOAuthView endpoint
client.API.AuthorizeOAuthPost(...)authorizeOAuthPostView endpoint
client.API.ListOAuthGrants(...)listOAuthGrantsView endpoint
client.API.RevokeOAuthGrant(...)revokeOAuthGrantView endpoint
client.API.RegisterOAuthClient(...)registerOAuthClientView endpoint
client.API.RevokeOAuthToken(...)revokeOAuthTokenView endpoint
client.API.ExchangeOAuthToken(...)exchangeOAuthTokenView endpoint
client.API.ListSegments(...)listSegmentsView endpoint
client.API.CreateSegment(...)createSegmentView endpoint
client.API.DeleteSegment(...)deleteSegmentView endpoint
client.API.GetSegment(...)getSegmentView endpoint
client.API.ListSegmentContacts(...)listSegmentContactsView endpoint
client.API.GetSegmentMetrics(...)getSegmentMetricsView endpoint
client.API.ListSuppressions(...)listSuppressionsView endpoint
client.API.CreateSuppression(...)createSuppressionView endpoint
client.API.DeleteSuppression(...)deleteSuppressionView endpoint
client.API.GetSuppression(...)getSuppressionView endpoint
client.API.DeleteBatchSuppressions(...)deleteBatchSuppressionsView endpoint
client.API.CreateBatchSuppressions(...)createBatchSuppressionsView endpoint
client.API.ListTemplates(...)listTemplatesView endpoint
client.API.CreateTemplate(...)createTemplateView endpoint
client.API.DeleteTemplate(...)deleteTemplateView endpoint
client.API.GetTemplate(...)getTemplateView endpoint
client.API.UpdateTemplate(...)updateTemplateView endpoint
client.API.DuplicateTemplate(...)duplicateTemplateView endpoint
client.API.PublishTemplate(...)publishTemplateView endpoint
client.API.ListTopics(...)listTopicsView endpoint
client.API.CreateTopic(...)createTopicView endpoint
client.API.DeleteTopic(...)deleteTopicView endpoint
client.API.GetTopic(...)getTopicView endpoint
client.API.UpdateTopic(...)updateTopicView endpoint
client.API.ListProjectWebhookEvents(...)listProjectWebhookEventsView endpoint
client.API.ListWebhooks(...)listWebhooksView endpoint
client.API.CreateWebhook(...)createWebhookView endpoint
client.API.DeleteWebhook(...)deleteWebhookView endpoint
client.API.GetWebhook(...)getWebhookView endpoint
client.API.UpdateWebhook(...)updateWebhookView endpoint
client.API.ListWebhookEvents(...)listWebhookEventsView endpoint
client.API.GetWebhookEvent(...)getWebhookEventView endpoint
client.API.ListWebhookAttempts(...)listWebhookAttemptsView endpoint