Surge
Surge provides APIs for sending and managing text messages, contacts, phone numbers, campaigns, and related communications resources.
49 actionsAPI key
What your agent can do in Surge
Looks up
- Check Account StatusCheck a Surge account's readiness for local or toll-free messaging and return any errors or missing fields.
- Download Attachment FileDownload a Surge message attachment up to 25 MB and return a downloadable file reference.
- Download Recording FileDownload a Surge recording audio file up to 25 MB and return a downloadable file reference.
- Get AccountRetrieve one Surge account by ID with its internal name, public brand name, time zone, and organization details.
- Get CampaignRetrieve one Surge messaging campaign and its registration details.
- Get ContactRetrieve one Surge contact by ID with phone number, profile fields, outbound messaging status, and metadata.
- Get MessageRetrieve one Surge message by ID with its current delivery status, body, conversation, attachments, metadata, and failure details.
- Get Phone NumberRetrieve one phone number assigned to Surge by ID with its number, type, display name, metadata, and campaign attachment details.
- Get RecordingRetrieve one Surge call recording by ID with its duration and originating call.
- Get Toll-Free CampaignRetrieve one Surge toll-free campaign by ID with registration and consent details.
Show 13 more
- Get UserRetrieve one Surge user by ID, including profile fields and metadata.
- List AccountsReturn one page of Surge accounts available to the connected project, including the account IDs needed by account-scoped tools.
- List Audience ContactsReturn one cursor-paginated page of contacts in a Surge audience.
- List Available Phone NumbersReturn one page of phone numbers available for purchase from Surge inventory.
- List Blocked ContactsReturn one page of an account's blocked contacts, newest first.
- List CampaignsReturn one page of messaging campaigns registered for a Surge account.
- List ContactsReturn one page of contacts for a Surge account, including IDs, phone numbers, names, messaging status, and metadata.
- List MessagesReturn one page of sent and received messages for a Surge account with status, body, conversation, attachment, failure, and metadata…
- List Phone NumbersReturn one page of phone numbers already assigned to a Surge account, including type, display name, metadata, and campaign attachment…
- List RecordingsReturn one cursor-paginated page of call recordings for a Surge account.
- List Toll-Free CampaignsReturn one cursor-paginated page of toll-free campaigns for a Surge account.
- List UsersReturn one cursor-paginated page of users belonging to a Surge account.
- Retrieve Account UsageReturn priced Surge usage for an account over an inclusive-start, exclusive-end UTC window of at most 90 days.
Takes action
- Add Contact to AudienceAdd an existing same-account contact to a manual audience.
- Archive AccountIrreversibly archive a Surge account.
- Block ContactBlock incoming Surge-handled calls and SMS/MMS from a number across an account.
- Check VerificationCheck a recipient-provided six-digit OTP against an existing Surge verification.
- Create AccountCreate a persistent Surge account.
- Create AudienceCreate a persistent manual audience in a Surge account.
- Create CampaignCreate and submit a Surge messaging campaign for carrier registration, or import one using its TCR ID.
- Create ContactCreate a persistent Surge contact.
- Create Toll-Free CampaignCreate a registration for an already purchased toll-free number and submit it for carrier review.
- Create UserCreate a persistent embedded-component user in a Surge account.
Show 16 more
- Create User TokenIssue a signed bearer token for a Surge embedded user.
- Create VerificationCreate a phone-number verification and immediately send an external SMS containing a one-time verification code.
- Delete RecordingIrreversibly delete a Surge call recording.
- Delete UserIrreversibly delete a Surge user and revoke their access to all embedded components.
- Purchase Phone NumberPurchase a Surge phone number for an account.
- Release Phone NumberIrreversibly release a phone number from the Surge account so it can no longer be used there.
- Resend Brand Verification OTPEnqueue an external SMS containing a brand-verification one-time password for a sole-proprietor Surge account awaiting identity…
- Send BlastCreate a Surge blast that performs an irreversible bulk external SMS/MMS send, immediately or at send_at.
- Send MessageCreate and enqueue an external SMS or MMS through Surge, immediately or up to 60 days in the future.
- Unblock ContactRemove an account-level phone-number block.
- Update AccountUpdate an account's internal name, public-facing brand name, legal organization details, or headquarters time zone.
- Update CampaignUpdate supplied campaign registration fields and resubmit the campaign for carrier review.
- Update ContactUpdate a Surge contact's phone number, email, name, metadata, or outbound messaging setting.
- Update Phone NumberUpdate any supplied phone-number fields and resubmit an empty body when no fields are supplied.
- Update Toll-Free CampaignUpdate a toll-free campaign awaiting customer fixes and resubmit the paid registration for carrier review.
- Update UserUpdate a Surge user's documented profile fields.