MailerSend
mailersendMailerSend is a transactional email service designed for developers to integrate email sending capabilities into their applications.
Acciones disponibles (23)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Sending DomainMAILERSEND_CREATE_DOMAINAcciónTool to add a new sending domain to mailersend. use when you need to register and configure a domain before sending emails.
MAILERSEND_CREATE_DOMAINAcciónTool to add a new sending domain to mailersend. use when you need to register and configure a domain before sending emails.
Parámetros de entrada
namestringObligatorioFully qualified domain name to add for sending emails.
domain_typestringType of the domain (e.g., "custom").
add_dns_recordsbooleanIf true, automatically add recommended DNS records when supported.
skip_verificationbooleanIf true, skip verification steps during domain creation.
return_path_domain_idstringExisting domain ID to use as the return-path for this domain.
Parámetros de salida
dataobjectObligatorioDetails of the created domain.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create SMTP UserMAILERSEND_CREATE_SMTP_USERAcciónTool to create a new smtp user. use after domain setup to obtain smtp credentials.
MAILERSEND_CREATE_SMTP_USERAcciónTool to create a new smtp user. use after domain setup to obtain smtp credentials.
Parámetros de entrada
namestringObligatorioDisplay name for the SMTP user.
passwordstringOptional password for the SMTP user. If omitted, MailerSend will generate one.
domain_idstringObligatorioID of the domain to associate with this SMTP user.
Parámetros de salida
dataobjectObligatorioDetails of the created SMTP user.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create API TokenMAILERSEND_CREATE_TOKENAcciónTool to create a new api token. use when you need to generate a token with specific permissions in mailersend.
MAILERSEND_CREATE_TOKENAcciónTool to create a new api token. use when you need to generate a token with specific permissions in mailersend.
Parámetros de entrada
namestringObligatorioA descriptive name for the new API token.
scopesstring[]ObligatorioList of permission scopes to grant this token, e.g., ['email.send', 'email.read'].
Parámetros de salida
dataobjectObligatorioDetails of the newly created API token.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create WebhookMAILERSEND_CREATE_WEBHOOKAcciónTool to create a new webhook for a mailersend domain. use after you have a domain id and need to receive event notifications like sent, delivered, opened, etc.
MAILERSEND_CREATE_WEBHOOKAcciónTool to create a new webhook for a mailersend domain. use after you have a domain id and need to receive event notifications like sent, delivered, opened, etc.
Parámetros de entrada
urlstringObligatorioThe callback URL where MailerSend will send POST requests.
namestringObligatorioThe name of the webhook.
eventsstring[]ObligatorioList of events the webhook listens for (e.g., 'message.sent', 'message.delivered').
enabledbooleanWhether the webhook is enabled immediately after creation.
domain_idstringObligatorioThe ID of the domain to attach the webhook to.
Parámetros de salida
dataobjectObligatorioDetails of the created webhook.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete WebhookMAILERSEND_DELETE_WEBHOOKAcciónTool to delete an existing webhook. use when the webhook is no longer needed. returns empty response on successful deletion (http 204).
MAILERSEND_DELETE_WEBHOOKAcciónTool to delete an existing webhook. use when the webhook is no longer needed. returns empty response on successful deletion (http 204).
Parámetros de entrada
webhook_idstringObligatorioThe unique identifier of the webhook to be deleted.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API QuotaMAILERSEND_GET_API_QUOTAAcciónTool to retrieve current api usage quota. use when monitoring api rate limits to avoid exceeding allowed calls.
MAILERSEND_GET_API_QUOTAAcciónTool to retrieve current api usage quota. use when monitoring api rate limits to avoid exceeding allowed calls.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get DomainMAILERSEND_GET_DOMAINAcciónTool to fetch information for a specific sending domain. use when you need to verify domain status and dns configuration after setup or changes.
MAILERSEND_GET_DOMAINAcciónTool to fetch information for a specific sending domain. use when you need to verify domain status and dns configuration after setup or changes.
Parámetros de entrada
domain_idstringObligatorioUnique identifier for the sending domain
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Domain RecipientsMAILERSEND_GET_DOMAIN_RECIPIENTSAcciónTool to list recipients for a domain. use after obtaining the domain id to view recipients with optional pagination.
MAILERSEND_GET_DOMAIN_RECIPIENTSAcciónTool to list recipients for a domain. use after obtaining the domain id to view recipients with optional pagination.
Parámetros de entrada
pageintegerPage number for pagination, must be >= 1
limitintegerNumber of recipients per page, must be >= 1
domain_idstringObligatorioThe ID of the domain to fetch recipients for
Parámetros de salida
dataobject[]ObligatorioList of recipients for the domain
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get sending domainsMAILERSEND_GET_DOMAINSAcciónTool to retrieve a list of sending domains. use after configuring the mailersend api key.
MAILERSEND_GET_DOMAINSAcciónTool to retrieve a list of sending domains. use after configuring the mailersend api key.
Parámetros de entrada
pageintegerPage number to retrieve, starting from 1
limitintegerNumber of results per page (default 25, maximum 100)
Parámetros de salida
dataobject[]ObligatorioList of sending domain objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get general API resourcesMAILERSEND_GET_GENERAL_RESOURCESAcciónTool to retrieve general api resources and information. use when you need an overview of all mailersend endpoints before constructing specific calls.
MAILERSEND_GET_GENERAL_RESOURCESAcciónTool to retrieve general api resources and information. use when you need an overview of all mailersend endpoints before constructing specific calls.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobject[]ObligatorioList of resource categories and their endpoints.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Sender IdentitiesMAILERSEND_GET_IDENTITIESAcciónTool to list sender identities. use when you need to retrieve all configured email or domain sender identities after authenticating with your mailersend api token.
MAILERSEND_GET_IDENTITIESAcciónTool to list sender identities. use when you need to retrieve all configured email or domain sender identities after authenticating with your mailersend api token.
Parámetros de entrada
pageintegerPage number for pagination, must be >= 1
limitintegerNumber of results per page, must be >= 1
Parámetros de salida
dataobject[]ObligatorioArray of sender identity objects
metaobjectObligatorioPagination details
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get sent messagesMAILERSEND_GET_MESSAGESAcciónTool to retrieve a paginated list of sent messages. use after sending emails to view message logs.
MAILERSEND_GET_MESSAGESAcciónTool to retrieve a paginated list of sent messages. use after sending emails to view message logs.
Parámetros de entrada
pageintegerPage number for pagination (starts at 1)
limitintegerNumber of messages per page (max 100)
date_tostringdate-timeFilter messages sent on or before this datetime (ISO 8601)
date_fromstringdate-timeFilter messages sent on or after this datetime (ISO 8601)
Parámetros de salida
dataobject[]ObligatorioArray of sent message objects
metaobjectObligatorioPagination metadata info
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination navigation links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get email recipientsMAILERSEND_GET_RECIPIENTSAcciónTool to retrieve a list of email recipients. use when you need to list and filter recipients by list id or search term.
MAILERSEND_GET_RECIPIENTSAcciónTool to retrieve a list of email recipients. use when you need to list and filter recipients by list id or search term.
Parámetros de entrada
pageintegerPage number for pagination, starting from 1
limitintegerNumber of results per page (default 25, maximum 100)
searchstringTerm to search in recipient email address or name
list_idstringFilter recipients by this mailing list ID
Parámetros de salida
dataobject[]ObligatorioList of recipient objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SMS ActivityMAILERSEND_GET_SMS_ACTIVITYAcciónTool to retrieve sms activity logs. use when you need to fetch delivery status and logs of sent sms messages.
MAILERSEND_GET_SMS_ACTIVITYAcciónTool to retrieve sms activity logs. use when you need to fetch delivery status and logs of sent sms messages.
Parámetros de entrada
pageintegerPage number for pagination, starting from 1
limitintegerNumber of results per page (default: 25, max: 100)
date_tostringFilter activities created before this ISO 8601 date
date_fromstringFilter activities created after this ISO 8601 date (e.g., 2022-01-01T00:00:00+0000)
message_idstringFilter SMS activities by specific message ID
sms_number_idstringFilter by SMS number ID
Parámetros de salida
dataobject[]ObligatorioList of SMS activity objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SMS InboundsMAILERSEND_GET_SMS_INBOUNDSAcciónTool to retrieve inbound sms messages. use when you need to fetch sms messages received on your mailersend numbers.
MAILERSEND_GET_SMS_INBOUNDSAcciónTool to retrieve inbound sms messages. use when you need to fetch sms messages received on your mailersend numbers.
Parámetros de entrada
pageintegerPage number for pagination, starting from 1
limitintegerNumber of results per page (default: 25, max: 100)
Parámetros de salida
dataobject[]ObligatorioList of inbound SMS message objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SMS MessagesMAILERSEND_GET_SMS_MESSAGESAcciónTool to list sent sms messages with optional filters. use after sending sms to review message logs.
MAILERSEND_GET_SMS_MESSAGESAcciónTool to list sent sms messages with optional filters. use after sending sms to review message logs.
Parámetros de entrada
pageintegerPage number for pagination (must be >= 1)
limitintegerNumber of results per page (min 10, max 100)
statusstringenumFilter by message status
queuedsentdeliveredundeliveredfaileddate_tostringEnd date filter in YYYY-MM-DD format
date_fromstringStart date filter in YYYY-MM-DD format
recipientstringFilter by recipient phone number
Parámetros de salida
dataobject[]ObligatorioList of SMS messages
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination navigation links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SMS NumbersMAILERSEND_GET_SMS_NUMBERSAcciónTool to retrieve a paginated list of sms phone numbers. use after purchasing numbers to fetch available sms numbers.
MAILERSEND_GET_SMS_NUMBERSAcciónTool to retrieve a paginated list of sms phone numbers. use after purchasing numbers to fetch available sms numbers.
Parámetros de entrada
pageintegerPage number for pagination, starting from 1
limitintegerNumber of SMS numbers per page
Parámetros de salida
dataobject[]ObligatorioList of SMS number objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SMS recipientsMAILERSEND_GET_SMS_RECIPIENTSAcciónTool to retrieve a list of sms recipients. use when you need to list and paginate sms recipients, optionally filtering by sms number id.
MAILERSEND_GET_SMS_RECIPIENTSAcciónTool to retrieve a list of sms recipients. use when you need to list and paginate sms recipients, optionally filtering by sms number id.
Parámetros de entrada
pageintegerPage number to retrieve, starting from 1
limitintegerNumber of recipients per page (default 25, maximum 100)
sms_number_idstringFilter recipients by SMS number ID.
Parámetros de salida
dataobject[]ObligatorioList of SMS recipient objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SMTP usersMAILERSEND_GET_SMTP_USERSAcciónTool to retrieve a list of smtp users. use when you need to list and paginate smtp users.
MAILERSEND_GET_SMTP_USERSAcciónTool to retrieve a list of smtp users. use when you need to list and paginate smtp users.
Parámetros de entrada
pageintegerPage number to retrieve, starting from 1
limitintegerNumber of records per page (default 25, maximum 100)
domain_idstringIdentifier of the domain for scoping SMTP users listing
Parámetros de salida
dataobject[]ObligatorioList of SMTP user objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get email templatesMAILERSEND_GET_TEMPLATESAcciónTool to retrieve a list of email templates. use when you need to list and paginate email templates.
MAILERSEND_GET_TEMPLATESAcciónTool to retrieve a list of email templates. use when you need to list and paginate email templates.
Parámetros de entrada
pageintegerPage number for pagination, starting from 1
limitintegerNumber of templates per page (default 25, maximum 100)
Parámetros de salida
dataobject[]ObligatorioList of email templates
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API TokensMAILERSEND_GET_TOKENSAcciónTool to retrieve a list of api tokens. use when you need to list and paginate api tokens after authentication.
MAILERSEND_GET_TOKENSAcciónTool to retrieve a list of api tokens. use when you need to list and paginate api tokens after authentication.
Parámetros de entrada
pageintegerPage number for pagination, starting from 1
limitintegerNumber of items per page (min=10, max=100)
Parámetros de salida
dataobject[]ObligatorioArray of token objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get usersMAILERSEND_GET_USERSAcciónTool to retrieve a list of users associated with your account. use after authenticating with a valid api token.
MAILERSEND_GET_USERSAcciónTool to retrieve a list of users associated with your account. use after authenticating with a valid api token.
Parámetros de entrada
pageintegerPage number for pagination, must be >= 1
limitintegerNumber of users per page (default 25, maximum 100)
Parámetros de salida
dataobject[]ObligatorioList of user objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List webhooksMAILERSEND_GET_WEBHOOKSAcciónTool to retrieve a list of webhooks. use when you need to list and paginate all configured webhooks, optionally filtering by domain.
MAILERSEND_GET_WEBHOOKSAcciónTool to retrieve a list of webhooks. use when you need to list and paginate all configured webhooks, optionally filtering by domain.
Parámetros de entrada
pageintegerPage number to retrieve, starting from 1
limitintegerNumber of webhooks per page (default 25)
domain_idstringFilter webhooks belonging to this domain
Parámetros de salida
dataobject[]ObligatorioList of webhook objects
metaobjectObligatorioPagination metadata
errorstringError if any occurred during the execution of the action
linksobjectObligatorioPagination links
successfulbooleanObligatorioWhether or not the action execution was successful or not