PHP SDK
boundry/sdk 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
composer require boundry/sdkQuickstart
Set BOUNDRY_API_KEY, keep it on the server, and send from a domain verified in this project.
PHP
use Boundry\Boundry;
$client = new Boundry(apiKey: getenv('BOUNDRY_API_KEY'));
$email = $client->emails->send([
'from' => 'Acme <hello@acme.com>',
'to' => 'ava@northwind.com.au',
'subject' => 'Welcome to Acme',
'html' => '<p>It works.</p>',
]);
echo $email->getId();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 → |