Skip to main content

Test endpoints

/authentication_test responds 200 only when the host, the API key and the signature are correct. Use GET to test a request without a body and POST to also test the payload_md5. How to build the headers: Authentication test.

Available on
ProfileHostRequired permission
Managermanager-api—
Consultantconsultant-api—
Assignorassignor-api—

Base URL for each host: Environments (Hosts).

GET​

ENDPOINT
/authentication_test
METHOD
GET

No body and no payload_md5 in the signature.

Response​

STATUS
200
{
"success": "Congrats!"
}

POST​

ENDPOINT
/authentication_test
METHOD
POST

Body attributes​

namestringrequiredAny text from 1 to 255 characters. The response returns the same value. The body does not accept other fields.
{
"name": "QI Tech"
}

Response​

STATUS
200
{
"name": "QI Tech",
"success": "Congrats!"
}

Errors​

StatusCodeWhen it happens
400QIT000001POST without name, with an empty name, with any field other than name or with a body that is not JSON.
401*000008Invalid API key. It is almost always another profile's base URL.
401*000016The signed payload_md5 does not match the bytes sent in the POST.

The other signature errors are in Authentication errors.

Authentication, permission and host errors: see API errors.