Introduction to REST API

Introduction to Testinvite's REST API system. Documentation for the endpoints, requests & responses, use-cases and more
January, 2025

Testinvite offers a REST API system for clients to integrate our system into theirs and automate the workflow. 

Services are offered in REST API

The REST API services include the following:

  • Listing your Tests
    • Listing your Users
      • Listing your Tasks
        • Listing & Creating Candidates under a Task
          • Listing your Test Sessions & Results
            • Listing Proctoring Evidences of a Test Session

              Authentication

              To authenticate requests to the API, include your access key's authorization token in the Authorization header of each HTTP request. You can find your unique token on your organization's page. Use the following format:

              Authorization: <your-token>
              Ensure the token is kept secure, as it provides access to your organization's data.

              To test if the API service is active and authentication is set up properly, you can use the endpoint below. A successful request means everything is good to go.

              GET https://www.testinvite.com/api/integration/rest/hello-world

              Endpoint List 

              Base URL: https://www.testinvite.com/api/integration/rest

              Please find below the endpoints for the REST API service. Make sure to when using these endpoints, the access key being used has the appropriate permissions.

              ResourcePurposeRouteHTTP MethodDocumentation
              TestsFetch multiple tests/v1/testsGETClick
              Search for tests with filters/v1/tests/filterPOSTClick
              Fetch one test by its id/v1/tests/:idGETClick
              UsersFetch multiple users/v1/usersGETClick
              Search for users with filters/v1/users/filterPOSTClick
              Fetch one user by its id/v1/users/:idGETClick
              Fetch one user by its id and get additional details/v1/users/:id/expandPOSTClick
              TasksFetch multiple tasks/v1/tasksGETClick
              Search for tasks with filters/v1/tasks/filterPOSTClick
              Fetch one task by its id/v1/tasks/:idGETClick
              CandidateFetch one candidate under a task  by their id/v1/tasks/:taskId/candidates/:idGETClick
              Fetch multiple candidates/v1/tasks/:taskId/candidatesGETClick
              Create a new candidate under a task/v1/tasks/:taskId/candidatesPOSTClick
              Test instancesFetch multiple test instances/v1/tasks/:taskId/test-instancesGETClick
              Search for test instances with filters/v1/tasks/:taskId/test-instances/filterPOSTClick
              Fetch one test instance by its id/v1/tasks/:taskId/test-instances/:idGETClick
              Fetch one test instance by its id and get additional details/v1/tasks/:taskId/test-instances/:id/expandPOSTClick
              Proctoring EvidencesFetch proctoring evidences of a test session/v1/tasks/:taskId/test-instances/:id/proctoring-evidencesGETClick
              AnswersFetch all answers of a test session/v1/tasks/:taskId/test-instances/:id/answersGETComing Soon
              Go Back
              Talk to a representative
              Figure out if TestInvite is a good match for your organization
              Book a demo