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.
Shell
go get github.com/flindev/boundry-goQuickstart
Set BOUNDRY_API_KEY, keep it on the server, and send from a domain verified in this project.
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 method | What it does | API reference |
|---|---|---|
client.API.ListApiKeys(...) | listApiKeys | View endpoint → |
client.API.CreateApiKey(...) | createApiKey | View endpoint → |
client.API.DeleteApiKey(...) | deleteApiKey | View endpoint → |
client.API.ListBroadcasts(...) | listBroadcasts | View endpoint → |
client.API.CreateBroadcast(...) | createBroadcast | View endpoint → |
client.API.DeleteBroadcast(...) | deleteBroadcast | View endpoint → |
client.API.GetBroadcast(...) | getBroadcast | View endpoint → |
client.API.UpdateBroadcast(...) | updateBroadcast | View endpoint → |
client.API.CancelBroadcast(...) | cancelBroadcast | View endpoint → |
client.API.ListBroadcastClickedLinks(...) | listBroadcastClickedLinks | View endpoint → |
client.API.GetBroadcastMetrics(...) | getBroadcastMetrics | View endpoint → |
client.API.ListBroadcastRecipients(...) | listBroadcastRecipients | View endpoint → |
client.API.SendBroadcast(...) | sendBroadcast | View endpoint → |
client.API.ListContactProperties(...) | listContactProperties | View endpoint → |
client.API.CreateContactProperty(...) | createContactProperty | View endpoint → |
client.API.DeleteContactProperty(...) | deleteContactProperty | View endpoint → |
client.API.GetContactProperty(...) | getContactProperty | View endpoint → |
client.API.UpdateContactProperty(...) | updateContactProperty | View endpoint → |
client.API.ListContacts(...) | listContacts | View endpoint → |
client.API.CreateContact(...) | createContact | View endpoint → |
client.API.DeleteContact(...) | deleteContact | View endpoint → |
client.API.GetContact(...) | getContact | View endpoint → |
client.API.UpdateContact(...) | updateContact | View endpoint → |
client.API.ListContactSegments(...) | listContactSegments | View endpoint → |
client.API.RemoveContactFromSegment(...) | removeContactFromSegment | View endpoint → |
client.API.AddContactToSegment(...) | addContactToSegment | View endpoint → |
client.API.GetContactTopics(...) | getContactTopics | View endpoint → |
client.API.UpdateContactTopics(...) | updateContactTopics | View endpoint → |
client.API.ListDomains(...) | listDomains | View endpoint → |
client.API.CreateDomain(...) | createDomain | View endpoint → |
client.API.DeleteDomain(...) | deleteDomain | View endpoint → |
client.API.GetDomain(...) | getDomain | View endpoint → |
client.API.UpdateDomain(...) | updateDomain | View endpoint → |
client.API.VerifyDomain(...) | verifyDomain | View endpoint → |
client.API.CreateDomainClaim(...) | createDomainClaim | View endpoint → |
client.API.GetDomainClaim(...) | getDomainClaim | View endpoint → |
client.API.VerifyDomainClaim(...) | verifyDomainClaim | View endpoint → |
client.API.ListEmails(...) | listEmails | View endpoint → |
client.API.SendEmail(...) | sendEmail | View endpoint → |
client.API.GetEmail(...) | getEmail | View endpoint → |
client.API.UpdateScheduledEmail(...) | updateScheduledEmail | View endpoint → |
client.API.ListEmailAttachments(...) | listEmailAttachments | View endpoint → |
client.API.GetEmailAttachment(...) | getEmailAttachment | View endpoint → |
client.API.CancelEmail(...) | cancelEmail | View endpoint → |
client.API.RetryEmail(...) | retryEmail | View endpoint → |
client.API.GetEmailSource(...) | getEmailSource | View endpoint → |
client.API.SendBatchEmails(...) | sendBatchEmails | View endpoint → |
client.API.GetEmailMetrics(...) | getEmailMetrics | View endpoint → |
client.API.ListReceivedEmails(...) | listReceivedEmails | View endpoint → |
client.API.GetReceivedEmail(...) | getReceivedEmail | View endpoint → |
client.API.ListReceivedEmailAttachments(...) | listReceivedEmailAttachments | View endpoint → |
client.API.GetReceivedEmailAttachment(...) | getReceivedEmailAttachment | View endpoint → |
client.API.GetReceivedEmailSource(...) | getReceivedEmailSource | View endpoint → |
client.API.GetReceivedEmailThread(...) | getReceivedEmailThread | View endpoint → |
client.API.Health(...) | health | View endpoint → |
client.API.ListLogs(...) | listLogs | View endpoint → |
client.API.GetLog(...) | getLog | View endpoint → |
client.API.AuthorizeOAuth(...) | authorizeOAuth | View endpoint → |
client.API.AuthorizeOAuthPost(...) | authorizeOAuthPost | View endpoint → |
client.API.ListOAuthGrants(...) | listOAuthGrants | View endpoint → |
client.API.RevokeOAuthGrant(...) | revokeOAuthGrant | View endpoint → |
client.API.RegisterOAuthClient(...) | registerOAuthClient | View endpoint → |
client.API.RevokeOAuthToken(...) | revokeOAuthToken | View endpoint → |
client.API.ExchangeOAuthToken(...) | exchangeOAuthToken | View endpoint → |
client.API.ListSegments(...) | listSegments | View endpoint → |
client.API.CreateSegment(...) | createSegment | View endpoint → |
client.API.DeleteSegment(...) | deleteSegment | View endpoint → |
client.API.GetSegment(...) | getSegment | View endpoint → |
client.API.ListSegmentContacts(...) | listSegmentContacts | View endpoint → |
client.API.GetSegmentMetrics(...) | getSegmentMetrics | View endpoint → |
client.API.ListSuppressions(...) | listSuppressions | View endpoint → |
client.API.CreateSuppression(...) | createSuppression | View endpoint → |
client.API.DeleteSuppression(...) | deleteSuppression | View endpoint → |
client.API.GetSuppression(...) | getSuppression | View endpoint → |
client.API.DeleteBatchSuppressions(...) | deleteBatchSuppressions | View endpoint → |
client.API.CreateBatchSuppressions(...) | createBatchSuppressions | View endpoint → |
client.API.ListTemplates(...) | listTemplates | View endpoint → |
client.API.CreateTemplate(...) | createTemplate | View endpoint → |
client.API.DeleteTemplate(...) | deleteTemplate | View endpoint → |
client.API.GetTemplate(...) | getTemplate | View endpoint → |
client.API.UpdateTemplate(...) | updateTemplate | View endpoint → |
client.API.DuplicateTemplate(...) | duplicateTemplate | View endpoint → |
client.API.PublishTemplate(...) | publishTemplate | View endpoint → |
client.API.ListTopics(...) | listTopics | View endpoint → |
client.API.CreateTopic(...) | createTopic | View endpoint → |
client.API.DeleteTopic(...) | deleteTopic | View endpoint → |
client.API.GetTopic(...) | getTopic | View endpoint → |
client.API.UpdateTopic(...) | updateTopic | View endpoint → |
client.API.ListProjectWebhookEvents(...) | listProjectWebhookEvents | View endpoint → |
client.API.ListWebhooks(...) | listWebhooks | View endpoint → |
client.API.CreateWebhook(...) | createWebhook | View endpoint → |
client.API.DeleteWebhook(...) | deleteWebhook | View endpoint → |
client.API.GetWebhook(...) | getWebhook | View endpoint → |
client.API.UpdateWebhook(...) | updateWebhook | View endpoint → |
client.API.ListWebhookEvents(...) | listWebhookEvents | View endpoint → |
client.API.GetWebhookEvent(...) | getWebhookEvent | View endpoint → |
client.API.ListWebhookAttempts(...) | listWebhookAttempts | View endpoint → |