PassThrough Requests for listing Job related fields
Sample PassThrough requeats for getting the list of possible values of recruiterId
, departmentId
, questionId
, and officeId
fields in create job
Api for TeamTailor..
List Users
Use the id
field, in the response, as recruiterId
in create job
api.
A cURL request could look like this:
curl --location 'https://api.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
"method": "GET",
"path": "users"
}'
and the response could look like the following:
{
"success": true,
"data": {
"response": {
"body": "{\"data\":[{\"id\":\"3636448\",\"type\":\"users\",\"links\":{\"self\":\"https://api.teamtailor.com/v1/users/3636448\"},\"attributes\":{\"description\":null,\"external-id\":null,\"facebook-profile\":null,\"hide-email\":null,\"hide-phone\":null,\"instagram-profile\":null,\"linkedin-profile\":null,\"locale\":null,\"login-email\":\"[email protected]\",\"name\":null,\"other-profile\":null,\"phone\":null,\"picture\":null,\"role\":\"admin\",\"role-addons\":[],\"title\":null,\"twitter-profile\":null,\"username\":\"lakeqo\",\"visible\":null,\"signature\":\"<p class='signature'>-- <br><br>Knit</p>\",\"time-format\":null,\"time-zone\":null,\"start-of-week-day\":null,\"email\":null},\"relationships\":{\"activities\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/users/3636448/relationships/activities\",\"related\":\"https://api.teamtailor.com/v1/users/3636448/activities\"}},\"department\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/users/3636448/relationships/department\",\"related\":\"https://api.teamtailor.com/v1/users/3636448/department\"}},\"location\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/users/3636448/relationships/location\",\"related\":\"https://api.teamtailor.com/v1/users/3636448/location\"}},\"jobs\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/users/3636448/relationships/jobs\",\"related\":\"https://api.teamtailor.com/v1/users/3636448/jobs\"}},\"team-memberships\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/users/3636448/relationships/team-memberships\",\"related\":\"https://api.teamtailor.com/v1/users/3636448/team-memberships\"}},\"teams\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/users/3636448/relationships/teams\",\"related\":\"https://api.teamtailor.com/v1/users/3636448/teams\"}},\"notification-settings\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/users/3636448/relationships/notification-settings\",\"related\":\"https://api.teamtailor.com/v1/users/3636448/notification-settings\"}}}}],\"meta\":{\"record-count\":1,\"page-count\":1}}",
"headers": {
"Date": "Tue, 09 Sep 2025 07:12:11 GMT",
"Content-Type": "application/vnd.api+json",
"Connection": "keep-alive",
"Server": "nginx/1.29.1",
"x-frame-options": "SAMEORIGIN",
"x-xss-protection": "0",
"x-content-type-options": "nosniff",
"x-permitted-cross-domain-policies": "none",
"referrer-policy": "strict-origin-when-cross-origin",
"x-rate-limit-limit": "50",
"x-rate-limit-remaining": "49",
"x-rate-limit-reset": "9",
"x-api-version": "20240404",
"vary": "Accept, Origin",
"x-api-cache": "miss",
"access-control-allow-origin": "*",
"access-control-allow-methods": "POST, GET, PUT, DELETE, OPTIONS",
"access-control-allow-headers": "Origin, Content-Type, Accept, Authorization, Token",
"access-control-max-age": "1728000",
"etag": "W/\"45468b3049eb5cc76471b8975c917bfb\"",
"cache-control": "must-revalidate, private, max-age=0",
"x-request-id": "e3cb5a76-6236-454a-adfa-476d47309097",
"x-runtime": "0.121087",
"x-rack-cache": "miss",
"strict-transport-security": "max-age=63072000; includeSubDomains",
"content-length": "1871"
}
}
}
}
List Departments
Use the id
field, in the response, as departmentId
in create job
api.
A cURL request could look like this:
curl --location 'https://api.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
"method": "GET",
"path": "departments"
}'
and the response could look like the following:
{
"success": true,
"data": {
"response": {
"body": "{\"data\":[{\"id\":\"466965\",\"type\":\"departments\",\"links\":{\"self\":\"https://api.teamtailor.com/v1/departments/466965\"},\"attributes\":{\"name\":\"Accounting\"},\"relationships\":{\"manager\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/departments/466965/relationships/manager\",\"related\":\"https://api.teamtailor.com/v1/departments/466965/manager\"}},\"division\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/departments/466965/relationships/division\",\"related\":\"https://api.teamtailor.com/v1/departments/466965/division\"}},\"roles\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/departments/466965/relationships/roles\",\"related\":\"https://api.teamtailor.com/v1/departments/466965/roles\"}},\"teams\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/departments/466965/relationships/teams\",\"related\":\"https://api.teamtailor.com/v1/departments/466965/teams\"}}}}],\"meta\":{\"texts\":{\"name-singular\":\"department\",\"name-plural\":\"departments\",\"all\":\"All departments\"},\"record-count\":1,\"page-count\":1}}",
"headers": {
"Date": "Tue, 09 Sep 2025 07:21:23 GMT",
"Content-Type": "application/vnd.api+json",
"Connection": "keep-alive",
"Server": "nginx/1.29.1",
"x-frame-options": "SAMEORIGIN",
"x-xss-protection": "0",
"x-content-type-options": "nosniff",
"x-permitted-cross-domain-policies": "none",
"referrer-policy": "strict-origin-when-cross-origin",
"x-rate-limit-limit": "50",
"x-rate-limit-remaining": "49",
"x-rate-limit-reset": "7",
"x-api-version": "20240404",
"vary": "Accept, Origin",
"x-api-cache": "miss",
"access-control-allow-origin": "*",
"access-control-allow-methods": "POST, GET, PUT, DELETE, OPTIONS",
"access-control-allow-headers": "Origin, Content-Type, Accept, Authorization, Token",
"access-control-max-age": "1728000",
"etag": "W/\"b38f58f4e99f12b41f56cd8a717e6af1\"",
"cache-control": "must-revalidate, private, max-age=0",
"x-request-id": "b6a90711-ade6-4509-a7e7-ad3d5560573e",
"x-runtime": "0.048866",
"x-rack-cache": "miss",
"strict-transport-security": "max-age=63072000; includeSubDomains",
"content-length": "975"
}
}
}
}
List Locations
Use the id
field, in the response, as officeId
in create job
api.
A cURL request could look like this:
curl --location 'https://api.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
"method": "GET",
"path": "locations"
}'
and the response could look like the following:
{
"success": true,
"data": {
"response": {
"body": "{\"data\":[{\"id\":\"1331405\",\"type\":\"locations\",\"links\":{\"self\":\"https://api.teamtailor.com/v1/locations/1331405\"},\"attributes\":{\"address\":\"Streets of Europe\",\"city\":\"Pune\",\"country\":\"India\",\"email\":\"[email protected]\",\"headquarters\":false,\"lat\":\"18.5846271\",\"long\":\"73.7303635\",\"name\":\"PUNE\",\"phone\":\"9543214567\",\"zip\":\"411057\"},\"relationships\":{\"teams\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/locations/1331405/relationships/teams\",\"related\":\"https://api.teamtailor.com/v1/locations/1331405/teams\"}}}},{\"id\":\"1331411\",\"type\":\"locations\",\"links\":{\"self\":\"https://api.teamtailor.com/v1/locations/1331411\"},\"attributes\":{\"address\":null,\"city\":\"Bengaluru\",\"country\":\"India\",\"email\":\"[email protected]\",\"headquarters\":true,\"lat\":\"12.9628669\",\"long\":\"77.57750899999999\",\"name\":\"BENGALURU\",\"phone\":\"9567890765\",\"zip\":null},\"relationships\":{\"teams\":{\"links\":{\"self\":\"https://api.teamtailor.com/v1/locations/1331411/relationships/teams\",\"related\":\"https://api.teamtailor.com/v1/locations/1331411/teams\"}}}}],\"meta\":{\"texts\":{\"all\":\"All locations\"},\"record-count\":2,\"page-count\":1}}",
"headers": {
"Date": "Tue, 09 Sep 2025 08:18:57 GMT",
"Content-Type": "application/vnd.api+json",
"Connection": "keep-alive",
"Server": "nginx/1.29.1",
"x-frame-options": "SAMEORIGIN",
"x-xss-protection": "0",
"x-content-type-options": "nosniff",
"x-permitted-cross-domain-policies": "none",
"referrer-policy": "strict-origin-when-cross-origin",
"x-rate-limit-limit": "50",
"x-rate-limit-remaining": "49",
"x-rate-limit-reset": "3",
"x-api-version": "20240404",
"vary": "Accept, Origin",
"x-api-cache": "miss",
"access-control-allow-origin": "*",
"access-control-allow-methods": "POST, GET, PUT, DELETE, OPTIONS",
"access-control-allow-headers": "Origin, Content-Type, Accept, Authorization, Token",
"access-control-max-age": "1728000",
"etag": "W/\"fced7d5b1549267a85cbb7937b474f08\"",
"cache-control": "must-revalidate, private, max-age=0",
"x-request-id": "250c4aff-9674-4c01-b4e4-43addc5c6492",
"x-runtime": "0.044960",
"x-rack-cache": "miss",
"strict-transport-security": "max-age=63072000; includeSubDomains",
"content-length": "1075"
}
}
}
}
List Questions
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 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
"method": "GET",
"path": "questions"
}'
and the response could look like the following:
{
"success": true,
"data": {
"response": {
"body": "{\"data\":[{\"id\":\"4056433\",\"type\":\"questions\",\"links\":{\"self\":\"https://api.teamtailor.com/v1/questions/4056433\"},\"attributes\":{\"alternatives\":[{\"id\":1,\"title\":\"Option1\"},{\"id\":2,\"title\":\"Option2\"}],\"end-with\":null,\"multiple\":false,\"question-type\":\"Choice\",\"start-with\":null,\"title\":\"Select one option\",\"description\":null,\"unit\":null,\"single-line\":null}}],\"meta\":{\"record-count\":1,\"page-count\":1}}",
"headers": {
"Date": "Tue, 09 Sep 2025 08:20:14 GMT",
"Content-Type": "application/vnd.api+json",
"Connection": "keep-alive",
"Server": "nginx/1.29.1",
"x-frame-options": "SAMEORIGIN",
"x-xss-protection": "0",
"x-content-type-options": "nosniff",
"x-permitted-cross-domain-policies": "none",
"referrer-policy": "strict-origin-when-cross-origin",
"x-rate-limit-limit": "50",
"x-rate-limit-remaining": "49",
"x-rate-limit-reset": "7",
"x-api-version": "20240404",
"vary": "Accept, Origin",
"x-api-cache": "miss",
"access-control-allow-origin": "*",
"access-control-allow-methods": "POST, GET, PUT, DELETE, OPTIONS",
"access-control-allow-headers": "Origin, Content-Type, Accept, Authorization, Token",
"access-control-max-age": "1728000",
"etag": "W/\"1e7758ce3bc49ea06d2ef1f70b9a2c23\"",
"cache-control": "must-revalidate, private, max-age=0",
"x-request-id": "4a6e6524-5dda-4842-bf4c-00f3b6607bf6",
"x-runtime": "0.038759",
"x-rack-cache": "miss",
"strict-transport-security": "max-age=63072000; includeSubDomains",
"content-length": "394"
}
}
}
}
Updated about 6 hours ago