PassThrough Requests for getting the Job related fields
Sample PassThrough requeats for getting the list of possible values for questionId
field in create job
Api for Breezy.
List Questionnaires
Use the _id
field, in the response, as questionId
in create job
api.
A cURL request could look like this:
curl --location 'https://api.getknit.dev/v1.0/passthrough' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"method": "GET",
"path": "questionnaires"
}
'
and the response could look like the following:
{
"success": true,
"data": {
"response": {
"body": "[{\"_id\":\"b506827e9232\",\"name\":\"Test Candidate\",\"sections\":[{\"_id\":1757332084729,\"questions\":[{\"text\":\"Describe your self.\",\"type\":{\"id\":\"text\",\"name\":\"Text\"},\"_id\":\"1e4f4e8e05bb\"}]}],\"message_template\":{\"type\":\"message\",\"body\":\"Hi [[candidate_first_name]],\\r\\n\\r\\nWe'd like to ask you a few more questions. When you have a couple of minutes, please click the following link and fill out the form.\\r\\n\\r\\n[[questionnaire_link]]\\r\\n\\r\\nThank you,\\r\\n[[company_user_first_name]]\"},\"options\":{\"move_to\":{}}}]",
"headers": {
"Date": "Tue, 09 Sep 2025 08:24:09 GMT",
"Content-Type": "application/json; charset=utf-8",
"Connection": "keep-alive",
"Server": "nginx/1.22.1",
"X-Powered-By": "Redstone",
"X-RateLimit-Limit": "100",
"X-RateLimit-Remaining": "99",
"X-RateLimit-Reset": "1757406310",
"ETag": "W/\"1f8-yGqkC5SCVX7C3KlGIL9K/BriBTs\"",
"Vary": "Accept-Encoding",
"content-length": "504"
}
}
}
}
Updated about 2 hours ago