Skip to content

IntegrationsEmail · Beta

SparkPost API integration

Put SparkPost in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Built for specific customer use cases. Issues are resolved quickly.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1,150+ apps

01Proxy API

Call the SparkPost API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the SparkPost API. You call us, we call SparkPost, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APISparkPost

GEThttps://api.truto.one/proxy/?integrated_account_id=…

SparkPost’s own response, passed back

02MCP server

SparkPost tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets SparkPost tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin SparkPost
  • Ab testList, Get one, Create, Update, Delete
  • Ab test cancelCreate
  • Ab test draftGet one, Create, Update, Delete
  • Ab test draft scheduleCreate
  • AccountList, Bulk update
  • Data privacy opt out requestCreate
  • Data privacy rtbf requestCreate
  • Events ingestList
  • Events messageList
  • Events message documentationList
  • Events message samplesList
  • Inbound domainsList, Get one, Create, Delete
  • Ingest eventGet one, Create
  • Ingest events documentationList
  • Ingest events failureGet one
  • Ingest events samplesList
  • Inline seeds configList, Create, Bulk update
  • Inline seeds optionsList, Bulk update
  • Inline seeds statusList
  • Ip poolsList, Get one, Create, Update, Delete
  • MetricsList
  • Metrics benchmarks inbox rateList
  • Metrics campaignsList
  • Metrics deliverabilityList
  • Metrics deliverability attemptList
  • Metrics deliverability bounce classificationList
  • Metrics deliverability bounce reasonList
  • Metrics deliverability bounce reason domainList
  • Metrics deliverability campaignList
  • Metrics deliverability delay reasonList
  • Metrics deliverability delay reason domainList
  • Metrics deliverability domainList
  • Metrics deliverability ip poolList
  • Metrics deliverability link nameList
  • Metrics deliverability mailbox providerList
  • Metrics deliverability mailbox provider regionList
  • Metrics deliverability query filters schemaList
  • Metrics deliverability rejection reasonList
  • Metrics deliverability rejection reason domainList
  • Metrics deliverability sending domainList

And 47 more. Open the tool names to see all.

Show tool names155 tools, for developers
  • create_a_spark_post_ab_testCreate an A/B Test. Returns the A/B test ID, when successful. Required: name, default_template, variants, metric, audience_selection, test_mode, start_time.
  • delete_a_spark_post_ab_test_by_idDelete an A/B Test. Required: id.
  • get_single_spark_post_ab_test_by_idRetrieve an A/B Test. Required: id.
  • list_all_spark_post_ab_testList All A/B Tests. Returns an array of latest versions of your A/B tests.
  • update_a_spark_post_ab_test_by_idUpdate an A/B Test. You can not update an A/B test while it is running . Tests in running state must be cancelled before updating. If the A/B test's latest version is cancelled or completed, updating it creates a new version, effectively restarting the test. The winning_template_id will be reset for the new version. If winning_template_id existed in the previous version, the default_tempate.template_id of the new version will default to that value, unless overridden by the update. Returns Returns the new version . Required: id.
  • create_a_spark_post_ab_test_cancelCancel an A/B Test. Any transmissions using this A/B test will send the default_template . Returns the status . Required: ab_test_id.
  • create_a_spark_post_ab_test_draftCreate an A/B Test draft. Required: name, default_template.
  • delete_a_spark_post_ab_test_draft_by_idDelete an A/B Test Draft. Required: id.
  • get_single_spark_post_ab_test_draft_by_idRetrieve an A/B Test draft. Required: id.
  • update_a_spark_post_ab_test_draft_by_idUpdate an A/B Test draft. Returns the A/B test ID. Required: id.
  • create_a_spark_post_ab_test_draft_scheduleSchedule an A/B Test draft. Required: draft_id, start_time.
  • spark_post_account_bulk_updateUpdate account information.
  • list_all_spark_post_accountRetrieve account information.
  • create_a_spark_post_data_privacy_opt_out_requestAdd opt out request.
  • create_a_spark_post_data_privacy_rtbf_requestAdd request to be forgotten.
  • list_all_spark_post_events_ingestSearch for Ingest Events. Returns a list of ingest events that matched the filtered search.
  • list_all_spark_post_events_messageRetrieve First Page.
  • list_all_spark_post_events_message_documentationEvents Documentation. Returns a list of descriptions of the event fields that could be included in a response from the message events search. Fields will vary by event type.
  • list_all_spark_post_events_message_samplesEvents Samples. Returns an example message event for each event type listed in the events parameter.
  • create_a_spark_post_inbound_domainCreate an Inbound Domain. Required: domain.
  • delete_a_spark_post_inbound_domain_by_idDelete an Inbound Domain. Required: id.
  • get_single_spark_post_inbound_domain_by_idRetrieve an Inbound Domain. Required: id.
  • list_all_spark_post_inbound_domainsList all Inbound Domains. Returns an array with all your inbound domains.
  • create_a_spark_post_ingest_eventSend Ingest Events. Post a new-line delimited list of JSON events. Required Headers Header Value ------------------ ---------------------- Content-Encoding gzip Content-Type application/x-ndjson Required: msys.
  • get_single_spark_post_ingest_event_by_idGet Ingest Batch. Downloads a gzip file of the ingest batch events. The binary of the gzip will be displayed in the response body. Required: id.
  • list_all_spark_post_ingest_events_documentationIngest Events Documentation. Returns a list of descriptions of the event fields that could be included in a POST to the ingest events API. Fields will vary by event type. Event fields including "required": true must be present in the event and fields including "reporting": true are recommended as they are used to drive various reporting services.
  • get_single_spark_post_ingest_events_failure_by_idGet Failure Ingest Batch. Downloads a gzip file of the ingest batch with failures. The binary of the gzip will be displayed in the response body. Required: id.
  • list_all_spark_post_ingest_events_samplesIngest Events Samples. Returns an example message event for each event type listed in the events parameter.
  • spark_post_inline_seeds_config_bulk_updateUpdate Seed Config. Make updates to config details for the authenticated account. Only one seed config with 5 match/exclude rules max is currently supported. Auth context (from API key) provides customer and subaccount IDs.
  • create_a_spark_post_inline_seeds_configCreate Seed Config. Create seed config for the authenticated account.
  • list_all_spark_post_inline_seeds_configGet Seed Config. Returns config details for the authenticated account. Only one seed config with 5 match/exclude rules max is currently supported. One or the other of (match, exclude) may be used, not both. Auth context (from API key) provides customer and subaccount IDs.
  • spark_post_inline_seeds_options_bulk_updateUpdate Options. Make updates to options for the authenticated account. If no subaccount ID is provided via the X-MSYS-SUBACCOUNT header this will update the primary account's options.
  • list_all_spark_post_inline_seeds_optionsGet Options. Returns Inline Seeds options. If no subaccount ID is provided via the X-MSYS-SUBACCOUNT header this will return the primary account and all subaccount options. If a subaccount ID is provided this will return the subaccount's options. If enabled is false Automatic Inline Seeding is currently paused. If set back to true a campaign will resume from its previous state unless it has reached the 24 hour timeout window and been reset. This will not interrupt a campaign that has already begun seeding. A
  • list_all_spark_post_inline_seeds_statusList Active Campaigns. Returns read-only list of seed-eligible campaigns that have recent activity. Intended use case is informational - checking status via API or UI. Set the X-MSYS-SUBACCOUNT header to get campaigns for a specific subaccount (set the header to 0 to get campaigns for the primary account). Do not set the X-MSYS-SUBACCOUNT header to get campaigns for the primary account and all subaccounts.
  • create_a_spark_post_ip_poolCreate an IP Pool. Creates an IP Pool and returns a unique ID based on the name. This ID is used for sending with this pool. Required: name.
  • delete_a_spark_post_ip_pool_by_idDelete an IP Pool. Deletes an IP Pool and moves all sending IPs in that pool to the default pool. The default pool cannot be deleted. Required: id.
  • get_single_spark_post_ip_pool_by_idRetrieve an IP Pool. Returns a specific IP Pool. Required: id.
  • list_all_spark_post_ip_poolsList IP Pools. Returns a list of all your IP Pools.
  • update_a_spark_post_ip_pool_by_idUpdate an IP Pool. To update sending IP pool assignments see Sending IPs. Required: id, name.
  • list_all_spark_post_metricsDiscoverability Links. The Metrics API is designed for discoverability of child links. Calling the API root displays a list of URIs that exists within the Metrics API.
  • list_all_spark_post_metrics_benchmarks_inbox_rateInbox Rate. Provides daily inbox rate industry benchmarks of 25th, 50th (median), and 75th percentile. Note: The Inbox Rate Industry Benchmark endpoint is available to the SparkPost Deliverability Add-On customers only. Required: from.
  • list_all_spark_post_metrics_campaignsCampaigns. Returns a list of campaigns that the Metrics API contains data on.
  • list_all_spark_post_metrics_deliverabilityMetrics Summary. Provides high-level summary of aggregate metrics and lists the child endpoints that contain aggregate data, which can be used as "group by" qualifiers. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_attemptDeliveries By Attempt. Provides aggregate count of deliveries grouped by the attempt number. This endpoint supports at most 3 entries in the results Array, attempts: 1, attempts: 2, and attempts: 3+. Required: from.
  • list_all_spark_post_metrics_deliverability_bounce_classificationBounce Classification Metrics. Provides aggregate metrics, specific to bounce events, grouped by the bounce classification. (See Bounce Classification Codes.) Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_bounce_reasonBounce Reason Metrics. Provides aggregate metrics, specific to bounce events, grouped by the bounce reasons. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_bounce_reason_domainBounce Reason Metrics By Domain. Provides aggregate metrics, specific to bounce events, grouped by the domain and bounce reasons. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_campaignMetrics by Campaign. Provides aggregate metrics grouped by campaign over the time window specified. With include=injection_dates , each result also has first_injected_at and last_injected_at : the campaign's first and last injection in the range. Both are UTC ISO 8601 strings, such as 2026-03-07T14:05:00Z . timezone does not apply to them. Their precision matches the data the range reads: minute for recent data, hour or day for longer ranges. Both are null when the campaign has no injections in the range, or when me Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_delay_reasonDelay Reason Metrics. Provides aggregate metrics, specific to delay events, grouped by the delay reasons. Required: from.
  • list_all_spark_post_metrics_deliverability_delay_reason_domainDelay Reason Metrics By Domain. Provides aggregagte metrics, specific to delay events, grouped by the domain and delay reasons. Required: from.
  • list_all_spark_post_metrics_deliverability_domainMetrics by Recipient Domain. Provides aggregate metrics grouped by domain over the time window specified. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_ip_poolMetrics by IP Pool. Provides aggregate metrics grouped by IP pool over the time window specified. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_link_nameEngagement Details. Provides deliverability metrics, specific to engagement events (clicks/opens), grouped by the link name (or URL if no link name exists). To name the links in your messages, read about the data-msys-link-name HTML attribute here. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_mailbox_providerMetrics by Mailbox Provider. Provides aggregate metrics grouped by mailbox provider over the time window specified. Required: from, metrics.
  • list_all_metrics_deliverability_mailbox_provider_regionMetrics by Mailbox Provider Region. Provides aggregate metrics grouped by mailbox provider region over the time window specified. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_query_filters_schemaAdvanced Query JSON Schema. Retrieves the JSON schema for validating the query_filters JSON value.
  • list_all_spark_post_metrics_deliverability_rejection_reasonRejection Reason Metrics. Provides aggregate metrics, specific to rejection events, grouped by the rejection reasons. Required: from.
  • list_all_metrics_deliverability_rejection_reason_domainRejection Reason Metrics By Domain. Provides aggregate metrics, specific to rejection events, grouped by the domain and rejection reasons. Required: from.
  • list_all_spark_post_metrics_deliverability_sending_domainMetrics by Sending Domain. Provides aggregate metrics grouped by sending domain over the time window specified. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_sending_ipMetrics by Sending IP. Provides aggregate metrics grouped by sending IP over the time window specified. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_subaccountMetrics by Subaccount. Provides aggregate metrics grouped by subaccount over the time window specified. Please note that primary account events will be returned grouped by the subaccount_id field containing the value 0 . Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_subject_campaignMetrics by Subject Campaign. Note: Only available to SparkPost Deliverability Add-On customers Provides aggregate metrics grouped by deliverability add-on subject campaign over the time window specified. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_templateMetrics by Template. Provides aggregate metrics grouped by template over the time window specified. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_time_seriesTime-Series Metrics. Provides aggregate metrics ordered by a precision of time. Required: from, metrics.
  • list_all_spark_post_metrics_deliverability_watched_domainMetrics by Watched Domain. Provides aggregate metrics grouped by watched domain over the time window specified. The difference between domain and watched domain is that watched domains are comprised of the top 99% domains in the world. Required: from, metrics.
  • list_all_spark_post_metrics_domainsDomains. Returns a list of domains that the Metrics API contains data on.
  • list_all_spark_post_metrics_ip_poolsIP Pools. Returns a list of IP pools that the Metrics API contains data on.
  • list_all_spark_post_metrics_mailbox_provider_regionsMailbox Provider Regions. Returns a list of mailbox provider regions that the Metrics API contains data on.
  • list_all_spark_post_metrics_mailbox_providersMailbox Providers. Returns a list of mailbox providers that the Metrics API contains data on.
  • list_all_spark_post_metrics_sending_domainsSending Domains. Returns a list of sending domains that the Metrics API contains data on.
  • list_all_spark_post_metrics_sending_ipsSending IPs. Returns a list of sending IPs that the Metrics API contains data on.
  • list_all_spark_post_metrics_subject_campaignsSubject Campaigns. Returns a list of deliverability add-on subject campaigns that the Metrics API contains data on.
  • list_all_spark_post_metrics_templatesTemplates. Returns a list of templates that the Metrics API contains data on.
  • create_a_spark_post_recipient_listCreate a Recipient List. At a minimum, the recipients array is required, which must contain a valid address. Use the num_rcpt_errors parameter to limit the number of recipient errors returned. Required: recipients.
  • delete_a_spark_post_recipient_list_by_idDelete a Recipient List. If a transmission contains a recipient list, the recipient list cannot be deleted if the transmission is submitted or generating. Required: id.
  • get_single_spark_post_recipient_list_by_idRetrieve a Recipient List. Retrieve details about a specified recipient list by specifying its id in the URI path. To retrieve the recipients contained in a list, the list must be specified and the show_recipients parameter must be set to true. Required: id.
  • list_all_spark_post_recipient_listsList all Recipient Lists. Returns an array of abbreviated recipient list objects. The recipients for each list are not included in the results. Retrieve a single list to get a list the recipients.
  • update_a_spark_post_recipient_list_by_idUpdate a Recipient List. If a recipients array is provided in the update request, it will replace the current recipients. This means that if you're adding, updating, or removing a single recipient, the recipients array must contain all current recipients, regardless they are being changed or not. Limitations If a transmission using the recipient list has a state of "submitted" or "generating", the list cannot be updated. Also, if the transmission is scheduled and is within 10 minutes of the scheduled time, the list won' Required: id.
  • get_single_spark_post_recipient_validation_single_by_idEmail Address Validation. Validate a single email address. The response will contain whether the address is valid , neutral , risky , undeliverable or typo along with additional metadata about the address. If the email address is undeliverable, a reason will also be provided. Use UTF-8 encoding for special characters like / . Required: id.
  • create_a_spark_post_relay_webhookCreate a Relay Webhook. Create a relay webhook by providing a relay webhooks object as the POST request body. Required: target, match.
  • delete_a_spark_post_relay_webhook_by_idDelete a Relay Webhook. Delete a relay webhook by specifying the webhook ID in the URI path. Required: id.
  • get_single_spark_post_relay_webhook_by_idRetrieve a Relay Webhook. Retrieve a specific relay webhook by specifying the webhook ID in the URI path. Required: id.
  • list_all_spark_post_relay_webhooksList all Relay Webhooks. List all your relay webhooks.
  • update_a_spark_post_relay_webhook_by_idUpdate a Relay Webhook. Update a relay webhook by specifying the webhook ID in the URI path. Required: id.
  • create_a_spark_post_relay_webhooks_validateValidate a Relay Webhook. The validation request sends an example batch to the target URL, validates that the target responds with HTTP 200, and returns information on the response received from the target. Example batch Required: relay_webhook_id.
  • list_all_spark_post_seedsRetrieve Seed List. In order for a primary account to specify retrieval of a subaccount, the X-MSYS-SUBACCOUNT header must be set with the desired subaccount id. A primary or subaccount retrieving its own seed list does not need to explicitly set this. We recommend that you cache the seed list and update it when our Seed List Update Notification service sends out an email with the latest seed list.
  • create_a_spark_post_sending_domainCreate a Sending Domain. Creates a new sending domain. Each domain and its subdomains can only be added to a single account. Note : When adding a sending domain to your account, the domain must be verified within two weeks or it will be removed from your account. Returns the domain and a success message. If generate_dkim was true, the dkim object is also returned. In case the sending domain gets blocked due to compliance validations, an HTTP 400 response is returned along with the error code, description and message wit Required: domain.
  • delete_a_spark_post_sending_domain_by_idDelete a Sending Domain. Warning : Before deleting a sending domain please ensure you are no longer using it. After deleting a sending domain, any new transmissions that use it will result in a rejection. This includes any transmissions that are in progress, scheduled for the future, or use a stored template referencing the sending domain. Required: id.
  • get_single_spark_post_sending_domain_by_idRetrieve a Sending Domain. Returns the full sending domain object, except the domain field. Required: id.
  • list_all_spark_post_sending_domainsList all Sending Domains. Returns an array with all the sending domains in your account. Use the query parameters to filter on the various status options.
  • update_a_spark_post_sending_domain_by_idUpdate a Sending Domain. Required: id.
  • create_a_spark_post_sending_domains_dkim_keyCreate a DKIM Key. Creates a new DKIM key. The system generates the keypair automatically unless you provide your own. When providing your own keys, all three fields ( private , public , selector ) must be provided together. - Data Structure - id (string, required) - Unique identifier. 1-64 characters, alphanumeric plus hyphen/underscore, must start with alphanumeric. - signing_domain (string) - Domain for DKIM signature. Defaults to the sending domain. - headers (string) - Colon-separated headers to sign. - Defau Required: domain.
  • delete_a_spark_post_sending_domains_dkim_key_by_idDelete a DKIM Key. Deletes a DKIM key. The default key cannot be deleted. Required: domain, id.
  • get_single_spark_post_sending_domains_dkim_key_by_idRetrieve a DKIM Key. Retrieves a specific DKIM key by ID. Using key_id of "default" returns the domain's primary DKIM key. The default key has is_default: true and no created_at / updated_at fields. Required: domain, id.
  • list_all_spark_post_sending_domains_dkim_keysList DKIM Keys. Retrieves all DKIM keys for a domain, including the default key. The default key is always first in the list and does not have created_at or updated_at fields. The dns object is not included in list responses. Required: domain.
  • update_a_spark_post_sending_domains_dkim_key_by_idUpdate a DKIM Key. Updates an existing DKIM key. Only headers and signing_domain can be updated individually. To replace keys, all three ( private , public , selector ) must be provided together. The default key cannot be updated via this endpoint. Use the Update a Sending Domain endpoint instead. Changing signing_domain or key fields resets dkim_status to unverified . - Data Structure - signing_domain (string) - New signing domain. - headers (string) - New headers to sign. - private (string) - New private key. Re Required: domain, id.
  • create_a_spark_post_sending_domains_dkim_keys_verifyVerify a DKIM Key. Initiates DNS verification for a specific DKIM key. The default key cannot be verified via this endpoint. Use the Verify a Sending Domain endpoint with dkim_verify: true instead. Required: domain, key_id.
  • create_a_spark_post_sending_domains_verifyVerify a Sending Domain. Enterprise accounts: Depending on your setup, sending domains might be verified automatically when they are created, and can be used to send immediately. In that case, there is no need separately verify sending domains. To find out if this applies to you, ask your TAM. Verify via DNS To verify your DKIM or CNAME, include dkim_verify or cname_verify in the request. SparkPost will check against and verify the associated DNS record type for the specified sending domain. The request will return an e Required: domain.
  • get_single_spark_post_sending_ip_by_idRetrieve a Sending IP. Retrieves a specific sending IP. Required: id.
  • list_all_spark_post_sending_ipsList all sending IPs. Returns a list of all sending IPs.
  • update_a_spark_post_sending_ip_by_idUpdate a Sending IP. Updates which IP Pool holds the sending IP. Required: id.
  • create_a_spark_post_snippetCreate a Snippet. Required: id, content, shared_with_subaccounts.
  • delete_a_spark_post_snippet_by_idDelete a Snippet. Required: id.
  • get_single_spark_post_snippet_by_idRetrieve a Snippet. Required: id.
  • list_all_spark_post_snippetsList all Snippets. Returns an array with all your Snippets.
  • update_a_spark_post_snippet_by_idUpdate a Snippet. Unlike the Templates API, if a content object is provided in the update request, it only needs to include the fields that are being updated. Fields that are not included will keep their current values. To remove a content field that was specified previously, simply set that field to an empty string in the update request. Required: id.
  • create_a_spark_post_subaccountCreate a Subaccount. Creates a new subaccount and an initial subaccount API key. Subaccount API keys are only allowed very specific grants. Subaccounts are allowed to send mail using the SMTP protocol or Transmissions API, retrieve sending statistics via the Message Events API, manage their Sending Domains, manage their Suppression List, and manage their Templates. Returns the subaccount's ID, along with the API key and API key label, if one was created. Stored recipients lists and stored templates are currently not Required: name.
  • get_single_spark_post_subaccount_by_idRetrieve a Subaccount. This endpoint only returns information about the subaccount, not the resources associated with it. Required: id.
  • list_all_spark_post_subaccountsList Subaccounts. Returns a list of your subaccounts. Passing certain query parameters will cause results to be paginated.
  • update_a_spark_post_subaccount_by_idUpdate a subaccount. Required: id.
  • list_all_spark_post_subaccounts_summaryRetrieve Subaccounts Summary. Returns the total number of subaccounts.
  • spark_post_suppression_list_bulk_updateBulk Create or Update Suppressions. Bulk create or update entries in the suppression list. If a recipient was added by our compliance system, it cannot be updated. Please note that in the unlikely scenario where your receive a HTTP 5xx level error response while bulk loading, only some of your suppression entries may have been successfully created or updated. If this occurs, please re-submit your original request again for processing. Required: recipients, recipient, type.
  • delete_a_spark_post_suppression_list_by_idDelete a Suppression. Deleting from subaccounts If your account has subaccounts, please provide the X-MSYS-SUBACCOUNT header when deleting from a specific subaccount suppression list. - Omit the header to delete from the primary account suppression list. - Use the subaccount's ID to delete from a specific subaccount suppression list. Deleting from mailing lists Use the list_id query parameter to control which suppression entries are deleted: - Use ?list_id=newsletter-weekly.example1.com to delete the suppression from Required: id.
  • get_single_spark_post_suppression_list_by_idRetrieve a Suppression. Return all suppression entries for a recipient. If the recipient is not in the suppression list, an HTTP status of 404 is returned. Searching with Subaccounts If your account has subaccounts, please provide the X-MSYS-SUBACCOUNT header when performing a lookup on a specific suppression list. - Use a value of 0 to only search against the primary account suppression list. - Use the subaccount's ID to perform a lookup on a specific subaccount suppression list. If the X-MSYS-SUBACCOUNT header is not Required: id.
  • list_all_spark_post_suppression_listSearch Suppressions. Perform a filtered search for entries in your suppression list. Returns an array of suppression objects. Use the list_id query parameter to control which suppression entries are returned: - Use ?list_id=newsletter-weekly.example1.com to return only suppressions for that specific mailing list. - Use ?list_id= (empty value) to return only account-level suppression entries (not bound to any mailing list). - Omit the parameter to return all suppression entries (account-level and all list-specific).
  • update_a_spark_post_suppression_list_by_idCreate or Update a Suppression. If the recipient was added by our compliance system, it cannot be updated. Required: id, type.
  • list_all_spark_post_suppression_list_summaryRetrieve Summary. Returns the total number of suppressions for your account, as well as a break down of suppressions by source.
  • create_a_spark_post_templateCreate a Template. Templates are created as drafts. Required: content.
  • delete_a_spark_post_template_by_idDelete a Template. Deletes both published and draft versions of a template. If a transmission uses a template, the template cannot be deleted if the transmission is submitted or generating. Required: id.
  • get_single_spark_post_template_by_idRetrieve a Template. Use the draft query parameter to specify the draft or published version of the template. Required: id.

And 35 more. Filter to find one.

AMCP serverno code

For any MCP client

One URL per connected SparkPost account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every SparkPost tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

One API for SparkPost and every other Emails app. One mapping to go.

The Unified Emails API gives every Emails app the same call and the same data shape. SparkPost is not mapped to it yet. Map it yourself, or ask us.

SparkPoston Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified Emails APIOne mapping to goTo do

Then: one call for every Emails app

  • Path 1 Self-serve

    Map it yourself

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Start free

  • Path 2 We do it

    Ask Truto

    • Tell us the SparkPost data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync SparkPost data on a schedule. Sent to your webhook.

A sync job reads SparkPost records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any SparkPost endpoint. With the Truto CLI.

Need a SparkPost endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any SparkPost path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use SparkPost in ChatGPT, Claude or Cursor with Elaichi.

Truto puts SparkPost in the product you build. To use SparkPost yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship SparkPost tools in your product

Give the AI in your product access to each customer’s own SparkPost account, with one MCP server per connected account.

Start free with SparkPost

Rather talk it through? Book a demo

Elaichi

For your own team

Use SparkPost in your own AI

Connect your company’s SparkPost once, then ask in the AI you already use, with exactly your own access.

Works in

SparkPost on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with SparkPost.

  1. Offer Bring-Your-Own-SparkPost for enterprise customers

    Let your enterprise users plug in their own SparkPost account so campaigns and transactional email sent from your product route through their dedicated IPs, domains, and billing contract — without you building the auth or transmission plumbing.

  2. Auto-provision isolated sending environments per customer

    For multi-tenant platforms (newsletter tools, marketing suites, CRMs), spin up a SparkPost subaccount, sending domain, and DKIM keys for every new signup so each customer's sending reputation stays isolated from the rest of your tenant base.

  3. Embed an email deliverability dashboard inside your app

    Pull SparkPost's deliverability, bounce, and mailbox-provider metrics into your UI so users see inbox placement, bounce classifications, and ISP-level performance without ever leaving your product.

  4. Power inbound email parsing for helpdesks and CRMs

    Configure SparkPost inbound domains and relay webhooks so replies to your product's notification emails get parsed into structured payloads that update tickets, deals, or conversations in real time.

  5. Automate list hygiene and compliance workflows

    Validate recipient addresses on entry, sync hard bounces into suppression lists, and process GDPR Right-to-be-Forgotten requests directly from your app so customers stay compliant and protect their sender reputation.

What you can build

Ship these with Truto and SparkPost.

  • One-click SparkPost account connection

    Let end users connect their SparkPost account through Truto's managed auth flow and immediately start sending transmissions from your product using their credentials.

  • Subaccount + sending domain provisioning wizard

    Create a SparkPost subaccount, sending domain, and DKIM keys for a new tenant in one flow, then surface DNS records and poll the verify endpoint until the domain is authenticated.

  • Branded click-tracking domain setup

    Provision tracking domains for each customer, trigger certificate enablement, and run verification checks so links in their emails render under their own branded URL with TLS.

  • In-app deliverability analytics

    Render dashboards backed by SparkPost's deliverability metrics — bounce reasons, rejection reasons, mailbox-provider breakdowns, and time-series trends — directly inside your product.

  • Native A/B test launcher for subject lines and templates

    Let marketers create, schedule, and analyze SparkPost A/B tests from your UI using the ab_test and template endpoints, offloading split logic to SparkPost.

  • Real-time event webhooks for opens, clicks, and bounces

    Programmatically register SparkPost webhooks on behalf of your customers and ingest open, click, delivery, delay, and spam complaint events to update records in your app instantly.

  • Recipient validation on CRM import

    Call single-recipient validation when users import contacts so risky or undeliverable addresses are flagged before they ever get emailed.

  • Automated suppression list sync

    Bulk-update SparkPost suppression lists from your app whenever a user unsubscribes, bounces, or submits a GDPR deletion request.

Security

Your customers’ SparkPost data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s SparkPost account

    Use Truto’s frontend SDK to connect your customer’s SparkPost account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call SparkPost

    Truto’s Proxy API is a 1-to-1 mapping of the SparkPost API. You call us, we call SparkPost, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate SparkPost’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about SparkPost on Truto.

How does authentication to SparkPost work through Truto?

SparkPost uses API key authentication. Truto manages secure storage and injection of each end user's API key, so your app never has to handle credentials directly. You can support both the main account key and subaccount-scoped keys depending on your integration pattern.

Does the integration support SparkPost subaccounts for multi-tenant sending?

Yes. Tools are available to create, list, update, and fetch subaccounts, and most sending, domain, suppression, and metrics endpoints can be scoped to a specific subaccount — making it suitable for white-labeled or BYOE architectures.

Can we send transactional and marketing emails through this integration?

Yes. The create_a_spark_post_transmission endpoint supports both transactional and non-transactional sends with dynamic substitution data, stored templates, recipient lists, A/B tests, and per-send tracking and suppression options.

How do we receive real-time events like opens, bounces, and spam complaints?

You can programmatically create SparkPost webhooks via create_a_spark_post_webhook and validate them before going live. SparkPost will then POST message and engagement events to your endpoint. The list_all_spark_post_events_message endpoint is also available for backfill or polling.

Can we automate DKIM, sending domain, and tracking domain setup for our customers?

Yes. The integration covers creating sending domains, generating and verifying DKIM keys, creating tracking domains, enabling TLS certificates, and triggering domain verification — so you can fully automate DNS onboarding inside your product.

What deliverability and analytics data can we pull?

Truto exposes the full SparkPost metrics surface: deliverability by domain, IP pool, mailbox provider, campaign, template, subaccount, and time series, plus bounce classifications, rejection reasons, delay reasons, and benchmarked inbox rates (where the Deliverability add-on is enabled on the end user's account).

Does the integration handle inbound email parsing?

Yes. You can create and manage inbound domains and relay webhooks, enabling use cases like reply-to-ticket threading in helpdesks or inbound lead capture in CRMs.

What about rate limits and pagination?

Truto handles SparkPost's pagination and retries transparently, and normalizes list responses across endpoints. If your customers hit SparkPost's per-account rate limits, Truto surfaces the errors so you can implement backoff or queueing in your app.

SparkPost

Get SparkPost integrated into your app

Sign up free, connect a test SparkPost account and make your first call today. No card and no sales call.