This guide explains how to create a new assessment in TrustArc using the Assessment Manager API, including how to assign internal tags (tag groups and tag values) at creation time.
Before you begin, ensure you have the following:
Retrieve Available Tag Groups
Before creating an assessment with tags, retrieve the list of tag groups available in your account. This provides the tag group names and their IDs, which you will need in Step 2.
This endpoint returns all tag groups applicable to assessments for the current user's account. No additional parameters are required.
Note: Record the id (UUID) of each tag group you want to use. You will pass this value to the Tag Values API in Step 2.
Retrieve Tag Values for a Tag Group
Once you have a tag group ID, retrieve the available values for that group. Results are paginated.
Example: To retrieve the first page of values for a tag group:
Note: Record the tag value names you want to use (e.g., "North America"). You will reference these by name in the Create Assessment request body.
Build the Create Assessment Request Payload
Construct a JSON body for the Create Assessment API call. The sections below describe each field.
nameThe display name of the assessment.
assessmentTemplateNameThe exact name of the Assessment Template to use. The template must already exist in your account.
assessmentStateControls whether the assessment is published for survey responses at creation time. Accepted values:
SURVEY — Assessment is immediately published and respondents can begin filling it out.OPEN — Assessment is created but not yet published. Use this to review or configure before sending to respondents.assessmentOwnerThe TrustArc user who owns the assessment. Provide their AAA email address and name.
approvalHierarchyOne or more tiers of approvers. Each tier is assigned a sequential tier number and can contain multiple approvers.
respondentsThe user(s) who will fill out the assessment. Can include multiple users.
descriptionA short description of the assessment.
participantsAdditional users who can view or collaborate on the assessment but are not respondents or approvers.
tagsAssigns one or more tag groups with their values to the assessment. Each entry represents a tag group. Each tag group must include at least one value.
Note: Tag group names and tag value names must exactly match what is returned by the Tag Group Options and Tag Value Options APIs. Refer to Steps 1 and 2 to retrieve these values.
Submit the Create Assessment Request
Once your payload is assembled, submit the request to the Assessment creation endpoint using a POST call with a JSON body.
Complete Example Payload