PassThrough Requests for getting the Job related fields

Sample PassThrough requeats for getting the list of possible values of metaData.workflowId and metaData.structureLinkId fields in create job Api for Pinpoint.

List Workflows

Use the id field, in the response, as the metaData.workflowId 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": "hiring_workflows"
}'

and the response could look like the following:

{
  "success": true,
  "data": {
    "response": {
      "body": {
        "data": [
          {
            "id": "15390",
            "type": "hiring_workflows",
            "attributes": {
              "created_at": "2025-03-19T18:06:01+00:00",
              "name": "Customer Service",
              "updated_at": "2025-03-19T18:06:01+00:00"
            },
            "relationships": {
              "stages": {
                "meta": {
                  "included": false
                }
              }
            }
          },
          {
            "id": "15391",
            "type": "hiring_workflows",
            "attributes": {
              "created_at": "2025-03-19T18:06:01+00:00",
              "name": "Marketing",
              "updated_at": "2025-03-19T18:06:01+00:00"
            },
            "relationships": {
              "stages": {
                "meta": {
                  "included": false
                }
              }
            }
          },
          {
            "id": "15407",
            "type": "hiring_workflows",
            "attributes": {
              "created_at": "2025-03-20T13:40:45+00:00",
              "name": "Hiring",
              "updated_at": "2025-03-20T13:40:45+00:00"
            },
            "relationships": {
              "stages": {
                "meta": {
                  "included": false
                }
              }
            }
          }
        ],
        "meta": {}
      },
      "headers": {
        "date": "Mon, 16 Feb 2026 18:00:51 GMT",
        "content-type": "application/vnd.api+json; charset=utf-8",
        "x-frame-options": "SAMEORIGIN",
        "x-xss-protection": "1; mode=block",
        "x-content-type-options": "nosniff",
        "x-download-options": "noopen",
        "x-permitted-cross-domain-policies": "none",
        "referrer-policy": "strict-origin-when-cross-origin",
        "x-pinpoint-version": "7b0409389bd3e75a4351964edb20db71a8f283f1-1771189203",
        "etag": "W/\"58ba9b65a1883156418527729cfe8eec\"",
        "cache-control": "max-age=0, private, must-revalidate",
        "content-security-policy-report-only": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; media-src 'self' https: blob:; script-src 'self' https: 'strict-dynamic' 'nonce-b738be1b01822c2e15e51443d8110b04'; style-src 'self' https: 'unsafe-inline'; connect-src 'self' https: wss:; frame-ancestors 'self'; base-uri 'none'; report-uri https://csp-report.browser-intake-datadoghq.eu/api/v2/logs?dd-api-key=pub7dcbc8d08b4cd1dd6d37b5500bb63929&dd-evp-origin=content-security-policy&ddsource=csp-report&ddtags=service%3Apinpoint_production%2Cenv%3Aproduction",
        "set-cookie": "_pinpoint_session=bH8UOWU5Bzp8eFnlUb7G83dd%2FtXAjRvAmiyoxu3auiH0PId49Lv3mQXcv9odlu0H2f8fyNJP79enUTY5UWlv45IKHqrE92HAwEREgKAPoq9W%2FCpriEkFuhprC4U0idtqQQApCoRQX46zCZCIwtqs9agbQCUQ%2FTXXuskPgyRKGcJmuDmR5bnvczI%2F72goiiddMts%2BCtCeN6SQNogisxNu--hDLF0Fh0wWo9QbH%2B--3KW2oVKuiTXP9uAJGS8QMw%3D%3D; domain=.pinpointhq.com; path=/; expires=Tue, 17 Feb 2026 06:00:51 GMT; secure; HttpOnly; SameSite=None",
        "x-request-id": "2210c315-6678-40ce-8d34-f1880d4af1b4",
        "x-runtime": "0.033674",
        "strict-transport-security": "max-age=31536000; includeSubDomains",
        "x-powered-by": "cloud66",
        "content-length": "660"
      }
    }
  }
}



List Structure Links

Use the id field, in the response, as the metaData.structureLinkId 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": "structure_links"
}'

and the response could look like the following:

{
  "success": true,
  "data": {
    "response": {
      "body": {
        "data": [
          {
            "id": "621211",
            "type": "structure_links",
            "attributes": {
              "created_at": "2025-03-19T18:06:02+00:00",
              "updated_at": "2025-03-19T18:06:02+00:00",
              "division_id": "9212",
              "location_id": "48989",
              "department_id": "54250",
              "structure_custom_group_one_id": null,
              "accepts_speculative_applications": true
            },
            "relationships": {
              "location": {
                "meta": {
                  "included": false
                }
              },
              "department": {
                "meta": {
                  "included": false
                }
              },
              "division": {
                "meta": {
                  "included": false
                }
              },
              "structure_custom_group_one": {
                "meta": {
                  "included": false
                }
              }
            }
          }
        ],
        "meta": {}
      },
      "headers": {
        "date": "Mon, 16 Feb 2026 18:10:18 GMT",
        "content-type": "application/vnd.api+json; charset=utf-8",
        "x-frame-options": "SAMEORIGIN",
        "x-xss-protection": "1; mode=block",
        "x-content-type-options": "nosniff",
        "x-download-options": "noopen",
        "x-permitted-cross-domain-policies": "none",
        "referrer-policy": "strict-origin-when-cross-origin",
        "x-pinpoint-version": "7b0409389bd3e75a4351964edb20db71a8f283f1-1771189203",
        "etag": "W/\"82c15d69e2a8f934623fc9d63013ad90\"",
        "cache-control": "max-age=0, private, must-revalidate",
        "content-security-policy-report-only": "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; media-src 'self' https: blob:; script-src 'self' https: 'strict-dynamic' 'nonce-c55c4cf37218b7f62b0d8bcffa9a9d71'; style-src 'self' https: 'unsafe-inline'; connect-src 'self' https: wss:; frame-ancestors 'self'; base-uri 'none'; report-uri https://csp-report.browser-intake-datadoghq.eu/api/v2/logs?dd-api-key=pub7dcbc8d08b4cd1dd6d37b5500bb63929&dd-evp-origin=content-security-policy&ddsource=csp-report&ddtags=service%3Apinpoint_production%2Cenv%3Aproduction",
        "set-cookie": "_pinpoint_session=Jst6PG6vJp2QbQLf7XK6FrkLJNe2iQ29U2%2FXfYRhDhvozNyIBJw%2BpOKTYyEwKIXzEYGrGS%2FN171YHRo5pcSsrFPMeKPdZU3hNcQUpxXkHDV%2FcCXKgMqYerh90dxcchu2eXMPBR8f5NPIUXztIoxe77l85rp5s4UFGjh39aDF63IsWpEfbhe2R1FE%2B%2F2EjnDtiwTUC8mqayrnjEUXouFy--dLR2KaeH7xtjqb%2Fx--DnzRCulb6XCqFlDpYWb4Cg%3D%3D; domain=.pinpointhq.com; path=/; expires=Tue, 17 Feb 2026 06:10:18 GMT; secure; HttpOnly; SameSite=None",
        "x-request-id": "8c42cbea-2292-4540-9f65-cde77147c84e",
        "x-runtime": "0.047234",
        "strict-transport-security": "max-age=31536000; includeSubDomains",
        "x-powered-by": "cloud66",
        "content-length": "34292"
      }
    }
  }
}