To make API requests, you need to send a request URL using one of the following methods:
-
GET: Retrieves the current values of resources.
-
POST: Creates or updates resources based on the data provided.
-
PUT: Overwrites existing resources.
-
DELETE: Deletes resources.
The following is the basic format of a well-structured URL:
https://<serviceURL>/api/<version>/<resourcePath>
A typical URL used by a Trend Micro Email Security service has three significant parts:
-
serviceURL: identifies the root of the Trend Micro Email Security service.
The value of serviceURL varies according to your location.
Location
Service Root URL
North America, Latin America and Asia Pacific
api.tmes.trendmicro.com
Europe and Africa
api.tmes.trendmicro.eu
Australia and New Zealand
api.tmes-anz.trendmicro.com
Japan
api.tmems-jp.trendmicro.com
Singapore
api.tmes-sg.trendmicro.com
India
api.tmes-in.trendmicro.com
Middle East (UAE)
api.tmes-uae.trendmicro.com
-
version: indicates the version of the REST API. The supported value is v1.
-
resourcePath: identifies the resource to be interacted with.
Target
Path
Description
Domains
domains
Targets all domains associated with your account.
Directory users
domains/{domain}/users
Targets all the directory users belonging to the specified domain.
Policy event logs
log/policyeventlog
Targets all policy event logs that meet specified criteria.
Mail tracking logs
log/mailtrackinglog
Targets all mail tracking logs that meet specified criteria.