You are here:
Salesforce My Trust Center API
Use the Salesforce My Trust Center API to bring events for your tenants into your monitoring, alerting, and IT service management tools. The My Trust Center API replaces the Trust Status API, so move your existing Trust Status API integrations to the My Trust Center API.
Tenant and Event Data in the My Trust Center API
The My Trust Center API returns the same tenant and event data that you see in My Trust Center, for all the tenants associated with your Trailblazer account. Use the API to:
- List the tenants that you can access.
- Get a snapshot of the ongoing and upcoming events across your tenants.
- Search events by tenant, event type, and time window.
- Get an event's full timeline of status updates.
- Get a tenant's event history.
For setup steps, code examples, and the full API reference, see the My Trust Center API developer documentation.
Personal Access Tokens for the My Trust Center API
The My Trust Center API authenticates every request with a personal access token (PAT). To create a PAT, log in to My Trust Center, click the Settings tab, and then in the Personal Access Tokens section, click Create Token.
- A PAT can access the same tenants that you can access in My Trust Center.
- Only one PAT can be active at a time. To create another PAT, first revoke your current one.
- A PAT that you create in My Trust Center expires after 7, 15, or 30 days. Your integration can refresh the PAT through the API for up to 365 days in total. See Authenticate with a Personal Access Token in the developer documentation.
- My Trust Center shows the PAT only once. Store it in a secure location, such as a secrets manager.
Service Accounts for the My Trust Center API
To connect your monitoring tool by using a service account instead of your own account, use a service account user with the Unified Employee license. A service account user with that license can log in to My Trust Center and create a PAT. The service account user's PAT can access each tenant where the service account user exists, so create the user in every tenant that you want to monitor.
To set up the Unified Employee license and the custom profile for the service account user, see Give Users Visibility into Salesforce My Trust Center Without a Full License.
