Skip to main content
Server path: /mailtrap-accounts | Type: Application | PCID required: Yes

Tools


mailtrap_accounts_create_api_token

Create API token Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID
namestringYesDisplay name for the token
resourcesobject[]NoPermissions to assign to the token

mailtrap_accounts_create_organization_sub_account

Create organization sub account Parameters:
ParameterTypeRequiredDefaultDescription
organization_idintegerYesUnique organization ID
accountobjectYesThe account value

mailtrap_accounts_delete_account_access_by_id

Remove account access Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID
account_access_idintegerYesUnique account access ID

mailtrap_accounts_delete_api_token

Delete API token Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID
idintegerYesAPI token ID

mailtrap_accounts_get_account_billing_usage

Get current billing cycle usage Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID

mailtrap_accounts_get_all_accounts

List account(s) you have access to

mailtrap_accounts_get_all_users_in_account

List User & Invite account accesses Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID
project_idsstring[]NoThe identifiers of the projects for which to include the results
inbox_idsstring[]NoThe identifiers of the inboxes for which to include the results
domain_idsstring[]NoThe identifiers of the domains for which to include the results

mailtrap_accounts_get_api_token

Get API token Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID
idintegerYesAPI token ID

mailtrap_accounts_get_organization_sub_accounts

Get organization sub accounts Parameters:
ParameterTypeRequiredDefaultDescription
organization_idintegerYesUnique organization ID

mailtrap_accounts_get_resources

Get resources Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID

mailtrap_accounts_list_api_tokens

List API tokens Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID

mailtrap_accounts_reset_api_token

Reset API token Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID
idintegerYesAPI token ID

mailtrap_accounts_update_user_permissions

Manage user or token permissions Parameters:
ParameterTypeRequiredDefaultDescription
account_idintegerYesUnique account ID
account_access_idintegerYesUnique account access ID
permissionsobject[]NoThe permissions value