Get Tests

Method returns tests list from StartExam using specified filters.

Request Information

Scheme

GET https://api.startexam.com/v1/tests?projectId={projectId}&type={type}&status={status}

URI Parameters

  • projectId - optional filter by project identifier, guid from StartExam.
  • type - optional filter by type. Supported values: test , survey.
  • status - optional filter by status. Supported values: active , archive , deleted.

Body Parameters

None.

Request Example

GET https://api.startexam.com/v1/tests?projectId=6824d7d6-6f46-4555-8b60-7d4cb0f3b1c8 HTTP/1.1
Host: api.startexam.com
Accept: application/json; charset=utf-8
Authorization: SharedKey 99:f52JP7GQd0xqrBzMO1NWTNVGzLENymgdUXu/Ie++NX4=
Content-Type: application/json; charset=utf-8
Date: Sat, 01 Mar 2025 13:47:15 GMT

Date and Authorization headers are constructed in the standard way.

Response Information

HTTP status code

200 OK, 400 Bad Request, etc. according the response processing guide.

Content-Type

Json.

Content

  • testId - test id, guid.
  • projectId - project id, guid.
  • type - test type, test/survey.
  • status - test status, active/archive/deleted.
  • title - test name, string.
  • description - test description, string, nullable.
  • time - test time limit, HH:MM:SS, nullable.
  • modified - test last modified in UTC, ISO 8601.

Response Example

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 657

{
  "tests": [
    {
      "testId": "bbb00f54-6c4c-4481-984a-15421c95a39d",
      "projectId": "6824d7d6-6f46-4555-8b60-7d4cb0f3b1c8",
      "type": "test",
      "status": "active",
      "title": "IQ Test",
      "description": "Standard intelligence quotient assessment",
      "time": "02:00:00",
      "modified": "2024-05-01T13:47:15Z"
    },
    {
      "testId": "aea6de53-757e-41ea-a2fd-ee8255130090",
      "projectId": "6824d7d6-6f46-4555-8b60-7d4cb0f3b1c8",
      "type": "survey",
      "status": "deleted",
      "title": "Motivation Survey",
      "description": null,
      "time": null,
      "modified": "1995-03-01T13:47:15Z"
    }
  ]
}

Try Method