Project
Create projects, rotate their API tokens, and configure the routes that handle outbound and inbound mail.
Get report forwarding settings
Returns the project's report forwarding destination and whether it has been verified.
path Parameters
projectIdGet report forwarding settings › Responses
ReportForwardingResource
Update report forwarding destination
Sets the address that receives forwarded reports and emails it a verification code. Reports are only forwarded once the destination is verified.
path Parameters
projectIdUpdate report forwarding destination › Request Body
destination^[\x21-\x7e]+$ · requiredUpdate report forwarding destination › Responses
ReportForwardingResource
Verify report forwarding destination
Confirms the destination with the code that was emailed to it.
path Parameters
projectIdVerify report forwarding destination › Request Body
code^[0-9]{6}$ · requiredVerify report forwarding destination › Responses
ReportForwardingResource
Resend report forwarding verification code
Emails a new verification code to the destination. Only available while the destination is unverified.
path Parameters
projectIdResend report forwarding verification code › Responses
ReportForwardingResource
List all projects for the team
query Parameters
page[size]The number of results that will be returned per page.
page[cursor]The cursor to start the pagination from.
filter[search]sortList all projects for the team › Responses
Paginated set of ProjectListData
pathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
next_cursorThe "cursor" that points to the next set of items.
next_page_urlprev_cursorThe "cursor" that points to the previous set of items.
prev_page_urlCreate a new project
Create a new project › Request Body
namesmtp_enableddelivery_modeinitial_routesshort_tokenredact_email_contentCreate a new project › Responses
ProjectCreatedData
Get project details
path Parameters
projectIdquery Parameters
includeGet project details › Responses
ProjectData
idnamedelivery_modesmtp_enabledredact_email_contentdefault_route_idtoken_generated_attoken_last_used_attoken_last_used_ipcreated_atupdated_atUpdate project settings
path Parameters
projectIdUpdate project settings › Request Body
namesmtp_enabledredact_email_contentdefault_route_idUpdate project settings › Responses
Project updated
messageHuman-readable confirmation
Rotate Project API token (legacy)
Legacy endpoint that rotates the original Project API token. Use the Project API token endpoints to list, create, or delete specific tokens.
path Parameters
projectIdRotate Project API token (legacy) › Responses
Project API token rotated
new_tokenThe new Project API token. It is only returned once
messageHuman-readable confirmation
List Project API tokens
Returns token metadata only. Token values are only returned when a token is created.
path Parameters
projectIdquery Parameters
page[size]The number of results that will be returned per page.
page[cursor]The cursor to start the pagination from.
sortList Project API tokens › Responses
Paginated set of ProjectApiToken
pathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
next_cursorThe "cursor" that points to the next set of items.
next_page_urlprev_cursorThe "cursor" that points to the previous set of items.
prev_page_urlCreate a Project API token
The token is only returned once. Use it to send through the API, or as the SMTP password when SMTP is enabled for the project.
path Parameters
projectIdCreate a Project API token › Request Body
nameA name that identifies where the token is used
short_tokenCreates a shorter token for devices that limit password length
Create a Project API token › Responses
Project API token created
A new Project API token with its value, which is only returned once.
messageHuman-readable confirmation
Delete a Project API token
List routes for a project
path Parameters
projectIdquery Parameters
page[size]The number of results that will be returned per page.
page[cursor]The cursor to start the pagination from.
sortfilter[route_type]filter[is_default]filter[search]Search by name or slug
List routes for a project › Responses
Paginated set of RouteListData
pathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
next_cursorThe "cursor" that points to the next set of items.
next_page_urlprev_cursorThe "cursor" that points to the previous set of items.
prev_page_urlCreate a new route
path Parameters
projectIdCreate a new route › Request Body
nameroute_typesluginbound_domaininbound_spam_thresholdCreate a new route › Responses
Route created
messageHuman-readable confirmation
Get route details
path Parameters
routeIdquery Parameters
include_machineInclude legacy machine observations in open and click totals. Privacy opens are reported in the observed and privacy fields without this option.
includeGet route details › Responses
RouteData
idproject_idslugnameroute_typeis_defaultcreated_atupdated_atinbound_addressPermanent compatibility address for this inbound route (<route-uuid-without-hyphens>@inbound.lettermint.co). It keeps working alongside the catch-all route domain
inbound_route_domainCatch-all receiving domain for this inbound route. Mail to any address at this domain reaches the route. Null for non-inbound routes
inbound_mx_hostnameinbound_domaininbound_domain_verified_atinbound_spam_thresholdattachment_deliverysettingsRoute settings available for this route type and team feature access
webhooks_countsuppressed_recipients_countUpdate route settings
path Parameters
routeIdUpdate route settings › Request Body
nameinbound_domaininbound_spam_thresholdUpdate route settings › Responses
Route updated
messageHuman-readable confirmation
Verify inbound domain for a route
path Parameters
routeIdVerify inbound domain for a route › Responses
Inbound domain verified
Whether the inbound domain MX records point to Lettermint. The MX record lists are only returned when verification fails.