Query Parameter | Description |
ak | This is your Public-API-Key, which Mettl uses to identify your account. |
ts | This is the current UNIX or Epoch Timestamp (the number of seconds between 1970-01-01 00:00:00 and current UTC Time). Any current generated Timestamp will be valid for 24 hours only. |
asgn | This is a unique Signature which has to be generated for each API request. The Signature is generated by creating a String-to-Sign and hashing it with your Private-API-Key using the HMAC-SHA256 (for version v2 and v3) or HMAC-SHA1 (for v1) hashing algorithm with Base-64 and URL encoding. Read more about the above Signature Generation Process in API Authentication and Signature Generation . |
as | This is a JSON string containing the assessment level details of the assessment to be edited. The format for the JSON is given below |
Property | Description |
instructions | Instructions shown before and during the assessment. This value is a string and also accepts HTML tags |
allowCopyPaste | Determines whether copy and paste is allowed in the assessment. This value is a boolean. |
exitRedirectionURL | Link or URL to redirect the test-taker after assessment finishes. This value is a string. |
showReportToCandidate | Determines whether the report is shown to the test-taker after assessment finishes. This value is a boolean. |
onScreenCalculator | Determines whether an on-screen scientific calculator is available to test-taker during the assessment. This value is a boolean. |