Understanding the API Endpoint

Overview

To use the Create Assessment API, pass the access token along with the details required for the new assessment.

📋 Note: Credentials can be passed as URL parameters (client_id and client_secret) or as a Basic Authorization header where client_id is the username and client_secret is the password.

Endpoint Reference
Staging URL
https://assess-stage.truste.com/
Prod URL
https://assess.truste.com/
Method
POST
Endpoint
/api/v1/project-internal/create
Headers
User Token except for AAA-Respondent role
URL Parameters
Name Value Description
client_id String The client application credentials. Can also be supplied as a Basic Authorization header, where client_id is the username and client_secret is the password.
client_secret String
grant_type String The OAuth 2.0 grant_type method. Value must be client_credentials.
Sample curl Request
curl -X POST \
  -d 'grant_type=client_credentials&client_id=<client_id>&client_secret=<client_secret>' \
  'https://api.trustarc.com/api/auth/oauth/token'
Responses
Success Response
Code: 200 OK
Error Responses
Code: 400 Bad Request
Code: 401 Unauthorized
{
  "error": "unauthorized",
  "error_description": "Bad credentials"
}
TrustArc  ·  Assessment Manager API — Understanding the API Endpoint  ·  support.trustarc.com