Skip to content

Send test

Creates an assessment instance for a candidate. By default, SmallTalk emails the assessment link to the candidate.

POSThttps://app.smalltalk2.me/api/integration/send_test

Request body

Send a JSON object.

PropertyTypeRequiredDescription
test_idstringrequiredTest identifier returned by list_tests.
first_namestringrequiredCandidate's first name.
last_namestringrequiredCandidate's last name.
emailstringoptionalCandidate's email address.
profile_urlstringoptionalURL to the candidate's application in the partner system.
callback_urlstringoptionalURL notified by POST when the status changes. See callbacks.
no_send_emailbooleanoptionalDefaults to false. When true, SmallTalk does not email the candidate and the caller must deliver test_link.
labelstringoptionalText displayed in the interface.
expirestringoptionalExpiration timestamp. Defaults to 10 days from creation.
on_complete_redirect_urlstringoptionalURL that receives the candidate after test completion.
proctoring_modestringoptionalDISABLED or IMAGE_ON_QUESTION. Defaults to DISABLED.

Expiration format

Use an ISO 8601 timestamp with milliseconds and a UTC designator:

text
2021-02-18T21:54:42.123Z

Proctoring modes

ValueBehavior
DISABLEDDisables proctoring. This is the default.
IMAGE_ON_QUESTIONCaptures an image on every question.

Example request

bash
curl -X POST 'https://app.smalltalk2.me/api/integration/send_test' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{
    "test_id": "12345",
    "first_name": "Harry",
    "last_name": "Potter",
    "email": "hpotter@hogwarts.edu",
    "profile_url": "https://example.com/people/17681532",
    "callback_url": "https://example.com/complete"
  }'

Response

PropertyTypeAvailabilityDescription
interview_idstringalwaysIdentifies the candidate's assessment for the test_status endpoint.
test_linkstringalwaysLink to the candidate's assessment.
json
{
  "interview_id": "o2jn3r",
  "test_link": "https://app.smalltalk2.me/assessment/?id=o2jn3r"
}

SmallTalk2Me documentation