Mailtrap integration (Communication, Developer Tools). Imported from open-connector.
https://mailtrap.io/api/accounts
/{accountId}/projects
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
/{accountId}/projects/{projectId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| projectId | integer | required | Mailtrap project ID. |
/{accountId}/projects/{projectId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| projectId | integer | required | Mailtrap project ID. |
| project | object | required | Mailtrap project fields to update. |
/{accountId}/projects/{projectId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| projectId | integer | required | Mailtrap project ID. |
/{accountId}/inboxes
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
/{accountId}/inboxes/{inboxId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| inboxId | integer | required | Mailtrap inbox ID. |
/{accountId}/inboxes/{inboxId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| inboxId | integer | required | Mailtrap inbox ID. |
| inbox | object | required | Mailtrap inbox fields to update. |
/{accountId}/inboxes/{inboxId}/clean
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| inboxId | integer | required | Mailtrap inbox ID. |
/{accountId}/inboxes/{inboxId}/all_read
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| inboxId | integer | required | Mailtrap inbox ID. |
/{accountId}/inboxes/{inboxId}/reset_credentials
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| inboxId | integer | required | Mailtrap inbox ID. |
/{accountId}/inboxes/{inboxId}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| inboxId | integer | required | Mailtrap inbox ID. |
| search | string | optional | Search query for filtering messages. |
| lastId | integer | optional | Last message ID cursor. |
| page | integer | optional | Page number when lastId is not used. |
/{accountId}/inboxes/{inboxId}/messages/{messageId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| inboxId | integer | required | Mailtrap inbox ID. |
| messageId | integer | required | Mailtrap message ID. |
/{accountId}/inboxes/{inboxId}/messages/{messageId}/body.htmlsource
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| inboxId | integer | required | Mailtrap inbox ID. |
| messageId | integer | required | Mailtrap message ID. |
/{accountId}/contacts
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| contact | object | required | Mailtrap contact fields for creation. |
/{accountId}/contacts/{contactIdentifier}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| contactIdentifier | string | required | Mailtrap contact UUID or email address. Email values are URL-encoded by the run… |
/{accountId}/contacts/{contactIdentifier}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| contactIdentifier | string | required | Mailtrap contact UUID or email address. Email values are URL-encoded by the run… |
| contact | object | required | Mailtrap contact fields to update. |
/{accountId}/contacts/{contactIdentifier}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| contactIdentifier | string | required | Mailtrap contact UUID or email address. Email values are URL-encoded by the run… |
/{accountId}/contacts
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
/{accountId}/{listId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| listId | integer | required | Mailtrap contact list ID. |
/{accountId}/contacts/lists
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| name | string | required | Mailtrap contact-list name. |
/{accountId}/contacts/lists/{listId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| listId | integer | required | Mailtrap contact list ID. |
| name | string | required | Mailtrap contact-list name. |
/{accountId}/{listId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| listId | integer | required | Mailtrap contact list ID. |
/{accountId}/contacts
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
/{accountId}/{fieldId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| fieldId | integer | required | Mailtrap contact field ID. |
/{accountId}/{fieldId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| fieldId | integer | required | Mailtrap contact field ID. |
/{accountId}/contacts/imports
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| contacts | array | required | Contacts to import. |
/{accountId}/{importId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| importId | integer | required | Mailtrap contact import ID. |
/{accountId}/{exportId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| exportId | integer | required | Mailtrap contact export ID. |
/{accountId}/contacts/{contactIdentifier}/events
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| contactIdentifier | string | required | Mailtrap contact UUID or email address. Email values are URL-encoded by the run… |
| name | string | required | Mailtrap custom event name. |
| params | object | optional | Scalar custom event parameters. |
/{accountId}/email_templates
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
/{accountId}/{emailTemplateId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| emailTemplateId | integer | required | Mailtrap email template ID. |
/{accountId}/email_templates
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| emailTemplate | object | required | Mailtrap email template fields. |
/{accountId}/email_templates/{emailTemplateId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| emailTemplateId | integer | required | Mailtrap email template ID. |
| emailTemplate | object | required | Mailtrap email template fields. |
/{accountId}/{emailTemplateId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| emailTemplateId | integer | required | Mailtrap email template ID. |
/{accountId}/sending_domains
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
/{accountId}/{sendingDomainId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| sendingDomainId | integer | required | Mailtrap sending domain ID. |
/{accountId}/sending_domains
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| sendingDomain | object | required | Mailtrap sending domain fields. |
/{accountId}/{sendingDomainId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| sendingDomainId | integer | required | Mailtrap sending domain ID. |
/{accountId}/suppressions
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| string | optional | Suppressed email address to filter by. | |
| startTime | string | optional | Filter suppressions created after this timestamp. |
| endTime | string | optional | Filter suppressions created before this timestamp. |
/{accountId}/stats
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| startDate | string | required | Stats start date in YYYY-MM-DD format. |
| endDate | string | required | Stats end date in YYYY-MM-DD format. |
| sendingDomainIds | array | optional | Sending domain IDs to include. |
| sendingStreams | array | optional | Mailtrap sending streams to include. |
| categories | array | optional | Mailtrap sending categories to include. |
| emailServiceProviders | array | optional | Email service provider names to include. |
/{accountId}/stats/date
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| startDate | string | required | Stats start date in YYYY-MM-DD format. |
| endDate | string | required | Stats end date in YYYY-MM-DD format. |
| sendingDomainIds | array | optional | Sending domain IDs to include. |
| sendingStreams | array | optional | Mailtrap sending streams to include. |
| categories | array | optional | Mailtrap sending categories to include. |
| emailServiceProviders | array | optional | Email service provider names to include. |
/{accountId}/stats/domains
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| startDate | string | required | Stats start date in YYYY-MM-DD format. |
| endDate | string | required | Stats end date in YYYY-MM-DD format. |
| sendingDomainIds | array | optional | Sending domain IDs to include. |
| sendingStreams | array | optional | Mailtrap sending streams to include. |
| categories | array | optional | Mailtrap sending categories to include. |
| emailServiceProviders | array | optional | Email service provider names to include. |
/{accountId}/stats/categories
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| startDate | string | required | Stats start date in YYYY-MM-DD format. |
| endDate | string | required | Stats end date in YYYY-MM-DD format. |
| sendingDomainIds | array | optional | Sending domain IDs to include. |
| sendingStreams | array | optional | Mailtrap sending streams to include. |
| categories | array | optional | Mailtrap sending categories to include. |
| emailServiceProviders | array | optional | Email service provider names to include. |
/{accountId}/stats/email_service_providers
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| startDate | string | required | Stats start date in YYYY-MM-DD format. |
| endDate | string | required | Stats end date in YYYY-MM-DD format. |
| sendingDomainIds | array | optional | Sending domain IDs to include. |
| sendingStreams | array | optional | Mailtrap sending streams to include. |
| categories | array | optional | Mailtrap sending categories to include. |
| emailServiceProviders | array | optional | Email service provider names to include. |
/{accountId}/permissions
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
/{accountId}/{segments}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | integer | required | Mailtrap account ID. Omit when the connection has a default account scope. |
| segments | string | required | Path parameter: segments |