POST Create applicant
{{baseUrl}}/ats/applicants
HEADERS

x-apideck-consumer-id
x-apideck-app-id
Authorization
{{apiKey}}
BODY json

{
  "addresses": [
    {
      "city": "",
      "contact_name": "",
      "country": "",
      "county": "",
      "email": "",
      "fax": "",
      "id": "",
      "latitude": "",
      "line1": "",
      "line2": "",
      "line3": "",
      "line4": "",
      "longitude": "",
      "name": "",
      "phone_number": "",
      "postal_code": "",
      "row_version": "",
      "salutation": "",
      "state": "",
      "street_number": "",
      "string": "",
      "type": "",
      "website": ""
    }
  ],
  "anonymized": false,
  "applications": [],
  "archived": false,
  "birthday": "",
  "confidential": false,
  "coordinator_id": "",
  "cover_letter": "",
  "created_at": "",
  "created_by": "",
  "custom_fields": [
    {
      "description": "",
      "id": "",
      "name": "",
      "value": ""
    }
  ],
  "cv_url": "",
  "deleted": false,
  "deleted_at": "",
  "deleted_by": "",
  "emails": [
    {
      "email": "",
      "id": "",
      "type": ""
    }
  ],
  "first_name": "",
  "followers": [],
  "headline": "",
  "id": "",
  "initials": "",
  "job_url": "",
  "last_interaction_at": "",
  "last_name": "",
  "middle_name": "",
  "name": "",
  "owner_id": "",
  "phone_numbers": [
    {
      "area_code": "",
      "country_code": "",
      "extension": "",
      "id": "",
      "number": "",
      "type": ""
    }
  ],
  "photo_url": "",
  "position_id": "",
  "record_url": "",
  "recruiter_id": "",
  "rejected_at": "",
  "social_links": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ],
  "source_id": "",
  "sourced_by": "",
  "sources": [],
  "stage_id": "",
  "tags": [],
  "title": "",
  "updated_at": "",
  "updated_by": "",
  "websites": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ]
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/ats/applicants");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "x-apideck-consumer-id: ");
headers = curl_slist_append(headers, "x-apideck-app-id: ");
headers = curl_slist_append(headers, "authorization: {{apiKey}}");
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/ats/applicants" {:headers {:x-apideck-consumer-id ""
                                                                     :x-apideck-app-id ""
                                                                     :authorization "{{apiKey}}"}
                                                           :content-type :json
                                                           :form-params {:addresses [{:city ""
                                                                                      :contact_name ""
                                                                                      :country ""
                                                                                      :county ""
                                                                                      :email ""
                                                                                      :fax ""
                                                                                      :id ""
                                                                                      :latitude ""
                                                                                      :line1 ""
                                                                                      :line2 ""
                                                                                      :line3 ""
                                                                                      :line4 ""
                                                                                      :longitude ""
                                                                                      :name ""
                                                                                      :phone_number ""
                                                                                      :postal_code ""
                                                                                      :row_version ""
                                                                                      :salutation ""
                                                                                      :state ""
                                                                                      :street_number ""
                                                                                      :string ""
                                                                                      :type ""
                                                                                      :website ""}]
                                                                         :anonymized false
                                                                         :applications []
                                                                         :archived false
                                                                         :birthday ""
                                                                         :confidential false
                                                                         :coordinator_id ""
                                                                         :cover_letter ""
                                                                         :created_at ""
                                                                         :created_by ""
                                                                         :custom_fields [{:description ""
                                                                                          :id ""
                                                                                          :name ""
                                                                                          :value ""}]
                                                                         :cv_url ""
                                                                         :deleted false
                                                                         :deleted_at ""
                                                                         :deleted_by ""
                                                                         :emails [{:email ""
                                                                                   :id ""
                                                                                   :type ""}]
                                                                         :first_name ""
                                                                         :followers []
                                                                         :headline ""
                                                                         :id ""
                                                                         :initials ""
                                                                         :job_url ""
                                                                         :last_interaction_at ""
                                                                         :last_name ""
                                                                         :middle_name ""
                                                                         :name ""
                                                                         :owner_id ""
                                                                         :phone_numbers [{:area_code ""
                                                                                          :country_code ""
                                                                                          :extension ""
                                                                                          :id ""
                                                                                          :number ""
                                                                                          :type ""}]
                                                                         :photo_url ""
                                                                         :position_id ""
                                                                         :record_url ""
                                                                         :recruiter_id ""
                                                                         :rejected_at ""
                                                                         :social_links [{:id ""
                                                                                         :type ""
                                                                                         :url ""}]
                                                                         :source_id ""
                                                                         :sourced_by ""
                                                                         :sources []
                                                                         :stage_id ""
                                                                         :tags []
                                                                         :title ""
                                                                         :updated_at ""
                                                                         :updated_by ""
                                                                         :websites [{:id ""
                                                                                     :type ""
                                                                                     :url ""}]}})
require "http/client"

url = "{{baseUrl}}/ats/applicants"
headers = HTTP::Headers{
  "x-apideck-consumer-id" => ""
  "x-apideck-app-id" => ""
  "authorization" => "{{apiKey}}"
  "content-type" => "application/json"
}
reqBody = "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/ats/applicants"),
    Headers =
    {
        { "x-apideck-consumer-id", "" },
        { "x-apideck-app-id", "" },
        { "authorization", "{{apiKey}}" },
    },
    Content = new StringContent("{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/ats/applicants");
var request = new RestRequest("", Method.Post);
request.AddHeader("x-apideck-consumer-id", "");
request.AddHeader("x-apideck-app-id", "");
request.AddHeader("authorization", "{{apiKey}}");
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/ats/applicants"

	payload := strings.NewReader("{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-apideck-consumer-id", "")
	req.Header.Add("x-apideck-app-id", "")
	req.Header.Add("authorization", "{{apiKey}}")
	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/ats/applicants HTTP/1.1
X-Apideck-Consumer-Id: 
X-Apideck-App-Id: 
Authorization: {{apiKey}}
Content-Type: application/json
Host: example.com
Content-Length: 1769

{
  "addresses": [
    {
      "city": "",
      "contact_name": "",
      "country": "",
      "county": "",
      "email": "",
      "fax": "",
      "id": "",
      "latitude": "",
      "line1": "",
      "line2": "",
      "line3": "",
      "line4": "",
      "longitude": "",
      "name": "",
      "phone_number": "",
      "postal_code": "",
      "row_version": "",
      "salutation": "",
      "state": "",
      "street_number": "",
      "string": "",
      "type": "",
      "website": ""
    }
  ],
  "anonymized": false,
  "applications": [],
  "archived": false,
  "birthday": "",
  "confidential": false,
  "coordinator_id": "",
  "cover_letter": "",
  "created_at": "",
  "created_by": "",
  "custom_fields": [
    {
      "description": "",
      "id": "",
      "name": "",
      "value": ""
    }
  ],
  "cv_url": "",
  "deleted": false,
  "deleted_at": "",
  "deleted_by": "",
  "emails": [
    {
      "email": "",
      "id": "",
      "type": ""
    }
  ],
  "first_name": "",
  "followers": [],
  "headline": "",
  "id": "",
  "initials": "",
  "job_url": "",
  "last_interaction_at": "",
  "last_name": "",
  "middle_name": "",
  "name": "",
  "owner_id": "",
  "phone_numbers": [
    {
      "area_code": "",
      "country_code": "",
      "extension": "",
      "id": "",
      "number": "",
      "type": ""
    }
  ],
  "photo_url": "",
  "position_id": "",
  "record_url": "",
  "recruiter_id": "",
  "rejected_at": "",
  "social_links": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ],
  "source_id": "",
  "sourced_by": "",
  "sources": [],
  "stage_id": "",
  "tags": [],
  "title": "",
  "updated_at": "",
  "updated_by": "",
  "websites": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ]
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/ats/applicants")
  .setHeader("x-apideck-consumer-id", "")
  .setHeader("x-apideck-app-id", "")
  .setHeader("authorization", "{{apiKey}}")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/ats/applicants"))
    .header("x-apideck-consumer-id", "")
    .header("x-apideck-app-id", "")
    .header("authorization", "{{apiKey}}")
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/ats/applicants")
  .post(body)
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/ats/applicants")
  .header("x-apideck-consumer-id", "")
  .header("x-apideck-app-id", "")
  .header("authorization", "{{apiKey}}")
  .header("content-type", "application/json")
  .body("{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}")
  .asString();
const data = JSON.stringify({
  addresses: [
    {
      city: '',
      contact_name: '',
      country: '',
      county: '',
      email: '',
      fax: '',
      id: '',
      latitude: '',
      line1: '',
      line2: '',
      line3: '',
      line4: '',
      longitude: '',
      name: '',
      phone_number: '',
      postal_code: '',
      row_version: '',
      salutation: '',
      state: '',
      street_number: '',
      string: '',
      type: '',
      website: ''
    }
  ],
  anonymized: false,
  applications: [],
  archived: false,
  birthday: '',
  confidential: false,
  coordinator_id: '',
  cover_letter: '',
  created_at: '',
  created_by: '',
  custom_fields: [
    {
      description: '',
      id: '',
      name: '',
      value: ''
    }
  ],
  cv_url: '',
  deleted: false,
  deleted_at: '',
  deleted_by: '',
  emails: [
    {
      email: '',
      id: '',
      type: ''
    }
  ],
  first_name: '',
  followers: [],
  headline: '',
  id: '',
  initials: '',
  job_url: '',
  last_interaction_at: '',
  last_name: '',
  middle_name: '',
  name: '',
  owner_id: '',
  phone_numbers: [
    {
      area_code: '',
      country_code: '',
      extension: '',
      id: '',
      number: '',
      type: ''
    }
  ],
  photo_url: '',
  position_id: '',
  record_url: '',
  recruiter_id: '',
  rejected_at: '',
  social_links: [
    {
      id: '',
      type: '',
      url: ''
    }
  ],
  source_id: '',
  sourced_by: '',
  sources: [],
  stage_id: '',
  tags: [],
  title: '',
  updated_at: '',
  updated_by: '',
  websites: [
    {
      id: '',
      type: '',
      url: ''
    }
  ]
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/ats/applicants');
xhr.setRequestHeader('x-apideck-consumer-id', '');
xhr.setRequestHeader('x-apideck-app-id', '');
xhr.setRequestHeader('authorization', '{{apiKey}}');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/ats/applicants',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}',
    'content-type': 'application/json'
  },
  data: {
    addresses: [
      {
        city: '',
        contact_name: '',
        country: '',
        county: '',
        email: '',
        fax: '',
        id: '',
        latitude: '',
        line1: '',
        line2: '',
        line3: '',
        line4: '',
        longitude: '',
        name: '',
        phone_number: '',
        postal_code: '',
        row_version: '',
        salutation: '',
        state: '',
        street_number: '',
        string: '',
        type: '',
        website: ''
      }
    ],
    anonymized: false,
    applications: [],
    archived: false,
    birthday: '',
    confidential: false,
    coordinator_id: '',
    cover_letter: '',
    created_at: '',
    created_by: '',
    custom_fields: [{description: '', id: '', name: '', value: ''}],
    cv_url: '',
    deleted: false,
    deleted_at: '',
    deleted_by: '',
    emails: [{email: '', id: '', type: ''}],
    first_name: '',
    followers: [],
    headline: '',
    id: '',
    initials: '',
    job_url: '',
    last_interaction_at: '',
    last_name: '',
    middle_name: '',
    name: '',
    owner_id: '',
    phone_numbers: [{area_code: '', country_code: '', extension: '', id: '', number: '', type: ''}],
    photo_url: '',
    position_id: '',
    record_url: '',
    recruiter_id: '',
    rejected_at: '',
    social_links: [{id: '', type: '', url: ''}],
    source_id: '',
    sourced_by: '',
    sources: [],
    stage_id: '',
    tags: [],
    title: '',
    updated_at: '',
    updated_by: '',
    websites: [{id: '', type: '', url: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/ats/applicants';
const options = {
  method: 'POST',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}',
    'content-type': 'application/json'
  },
  body: '{"addresses":[{"city":"","contact_name":"","country":"","county":"","email":"","fax":"","id":"","latitude":"","line1":"","line2":"","line3":"","line4":"","longitude":"","name":"","phone_number":"","postal_code":"","row_version":"","salutation":"","state":"","street_number":"","string":"","type":"","website":""}],"anonymized":false,"applications":[],"archived":false,"birthday":"","confidential":false,"coordinator_id":"","cover_letter":"","created_at":"","created_by":"","custom_fields":[{"description":"","id":"","name":"","value":""}],"cv_url":"","deleted":false,"deleted_at":"","deleted_by":"","emails":[{"email":"","id":"","type":""}],"first_name":"","followers":[],"headline":"","id":"","initials":"","job_url":"","last_interaction_at":"","last_name":"","middle_name":"","name":"","owner_id":"","phone_numbers":[{"area_code":"","country_code":"","extension":"","id":"","number":"","type":""}],"photo_url":"","position_id":"","record_url":"","recruiter_id":"","rejected_at":"","social_links":[{"id":"","type":"","url":""}],"source_id":"","sourced_by":"","sources":[],"stage_id":"","tags":[],"title":"","updated_at":"","updated_by":"","websites":[{"id":"","type":"","url":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/ats/applicants',
  method: 'POST',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}',
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "addresses": [\n    {\n      "city": "",\n      "contact_name": "",\n      "country": "",\n      "county": "",\n      "email": "",\n      "fax": "",\n      "id": "",\n      "latitude": "",\n      "line1": "",\n      "line2": "",\n      "line3": "",\n      "line4": "",\n      "longitude": "",\n      "name": "",\n      "phone_number": "",\n      "postal_code": "",\n      "row_version": "",\n      "salutation": "",\n      "state": "",\n      "street_number": "",\n      "string": "",\n      "type": "",\n      "website": ""\n    }\n  ],\n  "anonymized": false,\n  "applications": [],\n  "archived": false,\n  "birthday": "",\n  "confidential": false,\n  "coordinator_id": "",\n  "cover_letter": "",\n  "created_at": "",\n  "created_by": "",\n  "custom_fields": [\n    {\n      "description": "",\n      "id": "",\n      "name": "",\n      "value": ""\n    }\n  ],\n  "cv_url": "",\n  "deleted": false,\n  "deleted_at": "",\n  "deleted_by": "",\n  "emails": [\n    {\n      "email": "",\n      "id": "",\n      "type": ""\n    }\n  ],\n  "first_name": "",\n  "followers": [],\n  "headline": "",\n  "id": "",\n  "initials": "",\n  "job_url": "",\n  "last_interaction_at": "",\n  "last_name": "",\n  "middle_name": "",\n  "name": "",\n  "owner_id": "",\n  "phone_numbers": [\n    {\n      "area_code": "",\n      "country_code": "",\n      "extension": "",\n      "id": "",\n      "number": "",\n      "type": ""\n    }\n  ],\n  "photo_url": "",\n  "position_id": "",\n  "record_url": "",\n  "recruiter_id": "",\n  "rejected_at": "",\n  "social_links": [\n    {\n      "id": "",\n      "type": "",\n      "url": ""\n    }\n  ],\n  "source_id": "",\n  "sourced_by": "",\n  "sources": [],\n  "stage_id": "",\n  "tags": [],\n  "title": "",\n  "updated_at": "",\n  "updated_by": "",\n  "websites": [\n    {\n      "id": "",\n      "type": "",\n      "url": ""\n    }\n  ]\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/ats/applicants")
  .post(body)
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/ats/applicants',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}',
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  addresses: [
    {
      city: '',
      contact_name: '',
      country: '',
      county: '',
      email: '',
      fax: '',
      id: '',
      latitude: '',
      line1: '',
      line2: '',
      line3: '',
      line4: '',
      longitude: '',
      name: '',
      phone_number: '',
      postal_code: '',
      row_version: '',
      salutation: '',
      state: '',
      street_number: '',
      string: '',
      type: '',
      website: ''
    }
  ],
  anonymized: false,
  applications: [],
  archived: false,
  birthday: '',
  confidential: false,
  coordinator_id: '',
  cover_letter: '',
  created_at: '',
  created_by: '',
  custom_fields: [{description: '', id: '', name: '', value: ''}],
  cv_url: '',
  deleted: false,
  deleted_at: '',
  deleted_by: '',
  emails: [{email: '', id: '', type: ''}],
  first_name: '',
  followers: [],
  headline: '',
  id: '',
  initials: '',
  job_url: '',
  last_interaction_at: '',
  last_name: '',
  middle_name: '',
  name: '',
  owner_id: '',
  phone_numbers: [{area_code: '', country_code: '', extension: '', id: '', number: '', type: ''}],
  photo_url: '',
  position_id: '',
  record_url: '',
  recruiter_id: '',
  rejected_at: '',
  social_links: [{id: '', type: '', url: ''}],
  source_id: '',
  sourced_by: '',
  sources: [],
  stage_id: '',
  tags: [],
  title: '',
  updated_at: '',
  updated_by: '',
  websites: [{id: '', type: '', url: ''}]
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/ats/applicants',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}',
    'content-type': 'application/json'
  },
  body: {
    addresses: [
      {
        city: '',
        contact_name: '',
        country: '',
        county: '',
        email: '',
        fax: '',
        id: '',
        latitude: '',
        line1: '',
        line2: '',
        line3: '',
        line4: '',
        longitude: '',
        name: '',
        phone_number: '',
        postal_code: '',
        row_version: '',
        salutation: '',
        state: '',
        street_number: '',
        string: '',
        type: '',
        website: ''
      }
    ],
    anonymized: false,
    applications: [],
    archived: false,
    birthday: '',
    confidential: false,
    coordinator_id: '',
    cover_letter: '',
    created_at: '',
    created_by: '',
    custom_fields: [{description: '', id: '', name: '', value: ''}],
    cv_url: '',
    deleted: false,
    deleted_at: '',
    deleted_by: '',
    emails: [{email: '', id: '', type: ''}],
    first_name: '',
    followers: [],
    headline: '',
    id: '',
    initials: '',
    job_url: '',
    last_interaction_at: '',
    last_name: '',
    middle_name: '',
    name: '',
    owner_id: '',
    phone_numbers: [{area_code: '', country_code: '', extension: '', id: '', number: '', type: ''}],
    photo_url: '',
    position_id: '',
    record_url: '',
    recruiter_id: '',
    rejected_at: '',
    social_links: [{id: '', type: '', url: ''}],
    source_id: '',
    sourced_by: '',
    sources: [],
    stage_id: '',
    tags: [],
    title: '',
    updated_at: '',
    updated_by: '',
    websites: [{id: '', type: '', url: ''}]
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/ats/applicants');

req.headers({
  'x-apideck-consumer-id': '',
  'x-apideck-app-id': '',
  authorization: '{{apiKey}}',
  'content-type': 'application/json'
});

req.type('json');
req.send({
  addresses: [
    {
      city: '',
      contact_name: '',
      country: '',
      county: '',
      email: '',
      fax: '',
      id: '',
      latitude: '',
      line1: '',
      line2: '',
      line3: '',
      line4: '',
      longitude: '',
      name: '',
      phone_number: '',
      postal_code: '',
      row_version: '',
      salutation: '',
      state: '',
      street_number: '',
      string: '',
      type: '',
      website: ''
    }
  ],
  anonymized: false,
  applications: [],
  archived: false,
  birthday: '',
  confidential: false,
  coordinator_id: '',
  cover_letter: '',
  created_at: '',
  created_by: '',
  custom_fields: [
    {
      description: '',
      id: '',
      name: '',
      value: ''
    }
  ],
  cv_url: '',
  deleted: false,
  deleted_at: '',
  deleted_by: '',
  emails: [
    {
      email: '',
      id: '',
      type: ''
    }
  ],
  first_name: '',
  followers: [],
  headline: '',
  id: '',
  initials: '',
  job_url: '',
  last_interaction_at: '',
  last_name: '',
  middle_name: '',
  name: '',
  owner_id: '',
  phone_numbers: [
    {
      area_code: '',
      country_code: '',
      extension: '',
      id: '',
      number: '',
      type: ''
    }
  ],
  photo_url: '',
  position_id: '',
  record_url: '',
  recruiter_id: '',
  rejected_at: '',
  social_links: [
    {
      id: '',
      type: '',
      url: ''
    }
  ],
  source_id: '',
  sourced_by: '',
  sources: [],
  stage_id: '',
  tags: [],
  title: '',
  updated_at: '',
  updated_by: '',
  websites: [
    {
      id: '',
      type: '',
      url: ''
    }
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/ats/applicants',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}',
    'content-type': 'application/json'
  },
  data: {
    addresses: [
      {
        city: '',
        contact_name: '',
        country: '',
        county: '',
        email: '',
        fax: '',
        id: '',
        latitude: '',
        line1: '',
        line2: '',
        line3: '',
        line4: '',
        longitude: '',
        name: '',
        phone_number: '',
        postal_code: '',
        row_version: '',
        salutation: '',
        state: '',
        street_number: '',
        string: '',
        type: '',
        website: ''
      }
    ],
    anonymized: false,
    applications: [],
    archived: false,
    birthday: '',
    confidential: false,
    coordinator_id: '',
    cover_letter: '',
    created_at: '',
    created_by: '',
    custom_fields: [{description: '', id: '', name: '', value: ''}],
    cv_url: '',
    deleted: false,
    deleted_at: '',
    deleted_by: '',
    emails: [{email: '', id: '', type: ''}],
    first_name: '',
    followers: [],
    headline: '',
    id: '',
    initials: '',
    job_url: '',
    last_interaction_at: '',
    last_name: '',
    middle_name: '',
    name: '',
    owner_id: '',
    phone_numbers: [{area_code: '', country_code: '', extension: '', id: '', number: '', type: ''}],
    photo_url: '',
    position_id: '',
    record_url: '',
    recruiter_id: '',
    rejected_at: '',
    social_links: [{id: '', type: '', url: ''}],
    source_id: '',
    sourced_by: '',
    sources: [],
    stage_id: '',
    tags: [],
    title: '',
    updated_at: '',
    updated_by: '',
    websites: [{id: '', type: '', url: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/ats/applicants';
const options = {
  method: 'POST',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}',
    'content-type': 'application/json'
  },
  body: '{"addresses":[{"city":"","contact_name":"","country":"","county":"","email":"","fax":"","id":"","latitude":"","line1":"","line2":"","line3":"","line4":"","longitude":"","name":"","phone_number":"","postal_code":"","row_version":"","salutation":"","state":"","street_number":"","string":"","type":"","website":""}],"anonymized":false,"applications":[],"archived":false,"birthday":"","confidential":false,"coordinator_id":"","cover_letter":"","created_at":"","created_by":"","custom_fields":[{"description":"","id":"","name":"","value":""}],"cv_url":"","deleted":false,"deleted_at":"","deleted_by":"","emails":[{"email":"","id":"","type":""}],"first_name":"","followers":[],"headline":"","id":"","initials":"","job_url":"","last_interaction_at":"","last_name":"","middle_name":"","name":"","owner_id":"","phone_numbers":[{"area_code":"","country_code":"","extension":"","id":"","number":"","type":""}],"photo_url":"","position_id":"","record_url":"","recruiter_id":"","rejected_at":"","social_links":[{"id":"","type":"","url":""}],"source_id":"","sourced_by":"","sources":[],"stage_id":"","tags":[],"title":"","updated_at":"","updated_by":"","websites":[{"id":"","type":"","url":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"x-apideck-consumer-id": @"",
                           @"x-apideck-app-id": @"",
                           @"authorization": @"{{apiKey}}",
                           @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"addresses": @[ @{ @"city": @"", @"contact_name": @"", @"country": @"", @"county": @"", @"email": @"", @"fax": @"", @"id": @"", @"latitude": @"", @"line1": @"", @"line2": @"", @"line3": @"", @"line4": @"", @"longitude": @"", @"name": @"", @"phone_number": @"", @"postal_code": @"", @"row_version": @"", @"salutation": @"", @"state": @"", @"street_number": @"", @"string": @"", @"type": @"", @"website": @"" } ],
                              @"anonymized": @NO,
                              @"applications": @[  ],
                              @"archived": @NO,
                              @"birthday": @"",
                              @"confidential": @NO,
                              @"coordinator_id": @"",
                              @"cover_letter": @"",
                              @"created_at": @"",
                              @"created_by": @"",
                              @"custom_fields": @[ @{ @"description": @"", @"id": @"", @"name": @"", @"value": @"" } ],
                              @"cv_url": @"",
                              @"deleted": @NO,
                              @"deleted_at": @"",
                              @"deleted_by": @"",
                              @"emails": @[ @{ @"email": @"", @"id": @"", @"type": @"" } ],
                              @"first_name": @"",
                              @"followers": @[  ],
                              @"headline": @"",
                              @"id": @"",
                              @"initials": @"",
                              @"job_url": @"",
                              @"last_interaction_at": @"",
                              @"last_name": @"",
                              @"middle_name": @"",
                              @"name": @"",
                              @"owner_id": @"",
                              @"phone_numbers": @[ @{ @"area_code": @"", @"country_code": @"", @"extension": @"", @"id": @"", @"number": @"", @"type": @"" } ],
                              @"photo_url": @"",
                              @"position_id": @"",
                              @"record_url": @"",
                              @"recruiter_id": @"",
                              @"rejected_at": @"",
                              @"social_links": @[ @{ @"id": @"", @"type": @"", @"url": @"" } ],
                              @"source_id": @"",
                              @"sourced_by": @"",
                              @"sources": @[  ],
                              @"stage_id": @"",
                              @"tags": @[  ],
                              @"title": @"",
                              @"updated_at": @"",
                              @"updated_by": @"",
                              @"websites": @[ @{ @"id": @"", @"type": @"", @"url": @"" } ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/ats/applicants"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/ats/applicants" in
let headers = Header.add_list (Header.init ()) [
  ("x-apideck-consumer-id", "");
  ("x-apideck-app-id", "");
  ("authorization", "{{apiKey}}");
  ("content-type", "application/json");
] in
let body = Cohttp_lwt_body.of_string "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/ats/applicants",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'addresses' => [
        [
                'city' => '',
                'contact_name' => '',
                'country' => '',
                'county' => '',
                'email' => '',
                'fax' => '',
                'id' => '',
                'latitude' => '',
                'line1' => '',
                'line2' => '',
                'line3' => '',
                'line4' => '',
                'longitude' => '',
                'name' => '',
                'phone_number' => '',
                'postal_code' => '',
                'row_version' => '',
                'salutation' => '',
                'state' => '',
                'street_number' => '',
                'string' => '',
                'type' => '',
                'website' => ''
        ]
    ],
    'anonymized' => null,
    'applications' => [
        
    ],
    'archived' => null,
    'birthday' => '',
    'confidential' => null,
    'coordinator_id' => '',
    'cover_letter' => '',
    'created_at' => '',
    'created_by' => '',
    'custom_fields' => [
        [
                'description' => '',
                'id' => '',
                'name' => '',
                'value' => ''
        ]
    ],
    'cv_url' => '',
    'deleted' => null,
    'deleted_at' => '',
    'deleted_by' => '',
    'emails' => [
        [
                'email' => '',
                'id' => '',
                'type' => ''
        ]
    ],
    'first_name' => '',
    'followers' => [
        
    ],
    'headline' => '',
    'id' => '',
    'initials' => '',
    'job_url' => '',
    'last_interaction_at' => '',
    'last_name' => '',
    'middle_name' => '',
    'name' => '',
    'owner_id' => '',
    'phone_numbers' => [
        [
                'area_code' => '',
                'country_code' => '',
                'extension' => '',
                'id' => '',
                'number' => '',
                'type' => ''
        ]
    ],
    'photo_url' => '',
    'position_id' => '',
    'record_url' => '',
    'recruiter_id' => '',
    'rejected_at' => '',
    'social_links' => [
        [
                'id' => '',
                'type' => '',
                'url' => ''
        ]
    ],
    'source_id' => '',
    'sourced_by' => '',
    'sources' => [
        
    ],
    'stage_id' => '',
    'tags' => [
        
    ],
    'title' => '',
    'updated_at' => '',
    'updated_by' => '',
    'websites' => [
        [
                'id' => '',
                'type' => '',
                'url' => ''
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "authorization: {{apiKey}}",
    "content-type: application/json",
    "x-apideck-app-id: ",
    "x-apideck-consumer-id: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/ats/applicants', [
  'body' => '{
  "addresses": [
    {
      "city": "",
      "contact_name": "",
      "country": "",
      "county": "",
      "email": "",
      "fax": "",
      "id": "",
      "latitude": "",
      "line1": "",
      "line2": "",
      "line3": "",
      "line4": "",
      "longitude": "",
      "name": "",
      "phone_number": "",
      "postal_code": "",
      "row_version": "",
      "salutation": "",
      "state": "",
      "street_number": "",
      "string": "",
      "type": "",
      "website": ""
    }
  ],
  "anonymized": false,
  "applications": [],
  "archived": false,
  "birthday": "",
  "confidential": false,
  "coordinator_id": "",
  "cover_letter": "",
  "created_at": "",
  "created_by": "",
  "custom_fields": [
    {
      "description": "",
      "id": "",
      "name": "",
      "value": ""
    }
  ],
  "cv_url": "",
  "deleted": false,
  "deleted_at": "",
  "deleted_by": "",
  "emails": [
    {
      "email": "",
      "id": "",
      "type": ""
    }
  ],
  "first_name": "",
  "followers": [],
  "headline": "",
  "id": "",
  "initials": "",
  "job_url": "",
  "last_interaction_at": "",
  "last_name": "",
  "middle_name": "",
  "name": "",
  "owner_id": "",
  "phone_numbers": [
    {
      "area_code": "",
      "country_code": "",
      "extension": "",
      "id": "",
      "number": "",
      "type": ""
    }
  ],
  "photo_url": "",
  "position_id": "",
  "record_url": "",
  "recruiter_id": "",
  "rejected_at": "",
  "social_links": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ],
  "source_id": "",
  "sourced_by": "",
  "sources": [],
  "stage_id": "",
  "tags": [],
  "title": "",
  "updated_at": "",
  "updated_by": "",
  "websites": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ]
}',
  'headers' => [
    'authorization' => '{{apiKey}}',
    'content-type' => 'application/json',
    'x-apideck-app-id' => '',
    'x-apideck-consumer-id' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/ats/applicants');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}',
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'addresses' => [
    [
        'city' => '',
        'contact_name' => '',
        'country' => '',
        'county' => '',
        'email' => '',
        'fax' => '',
        'id' => '',
        'latitude' => '',
        'line1' => '',
        'line2' => '',
        'line3' => '',
        'line4' => '',
        'longitude' => '',
        'name' => '',
        'phone_number' => '',
        'postal_code' => '',
        'row_version' => '',
        'salutation' => '',
        'state' => '',
        'street_number' => '',
        'string' => '',
        'type' => '',
        'website' => ''
    ]
  ],
  'anonymized' => null,
  'applications' => [
    
  ],
  'archived' => null,
  'birthday' => '',
  'confidential' => null,
  'coordinator_id' => '',
  'cover_letter' => '',
  'created_at' => '',
  'created_by' => '',
  'custom_fields' => [
    [
        'description' => '',
        'id' => '',
        'name' => '',
        'value' => ''
    ]
  ],
  'cv_url' => '',
  'deleted' => null,
  'deleted_at' => '',
  'deleted_by' => '',
  'emails' => [
    [
        'email' => '',
        'id' => '',
        'type' => ''
    ]
  ],
  'first_name' => '',
  'followers' => [
    
  ],
  'headline' => '',
  'id' => '',
  'initials' => '',
  'job_url' => '',
  'last_interaction_at' => '',
  'last_name' => '',
  'middle_name' => '',
  'name' => '',
  'owner_id' => '',
  'phone_numbers' => [
    [
        'area_code' => '',
        'country_code' => '',
        'extension' => '',
        'id' => '',
        'number' => '',
        'type' => ''
    ]
  ],
  'photo_url' => '',
  'position_id' => '',
  'record_url' => '',
  'recruiter_id' => '',
  'rejected_at' => '',
  'social_links' => [
    [
        'id' => '',
        'type' => '',
        'url' => ''
    ]
  ],
  'source_id' => '',
  'sourced_by' => '',
  'sources' => [
    
  ],
  'stage_id' => '',
  'tags' => [
    
  ],
  'title' => '',
  'updated_at' => '',
  'updated_by' => '',
  'websites' => [
    [
        'id' => '',
        'type' => '',
        'url' => ''
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'addresses' => [
    [
        'city' => '',
        'contact_name' => '',
        'country' => '',
        'county' => '',
        'email' => '',
        'fax' => '',
        'id' => '',
        'latitude' => '',
        'line1' => '',
        'line2' => '',
        'line3' => '',
        'line4' => '',
        'longitude' => '',
        'name' => '',
        'phone_number' => '',
        'postal_code' => '',
        'row_version' => '',
        'salutation' => '',
        'state' => '',
        'street_number' => '',
        'string' => '',
        'type' => '',
        'website' => ''
    ]
  ],
  'anonymized' => null,
  'applications' => [
    
  ],
  'archived' => null,
  'birthday' => '',
  'confidential' => null,
  'coordinator_id' => '',
  'cover_letter' => '',
  'created_at' => '',
  'created_by' => '',
  'custom_fields' => [
    [
        'description' => '',
        'id' => '',
        'name' => '',
        'value' => ''
    ]
  ],
  'cv_url' => '',
  'deleted' => null,
  'deleted_at' => '',
  'deleted_by' => '',
  'emails' => [
    [
        'email' => '',
        'id' => '',
        'type' => ''
    ]
  ],
  'first_name' => '',
  'followers' => [
    
  ],
  'headline' => '',
  'id' => '',
  'initials' => '',
  'job_url' => '',
  'last_interaction_at' => '',
  'last_name' => '',
  'middle_name' => '',
  'name' => '',
  'owner_id' => '',
  'phone_numbers' => [
    [
        'area_code' => '',
        'country_code' => '',
        'extension' => '',
        'id' => '',
        'number' => '',
        'type' => ''
    ]
  ],
  'photo_url' => '',
  'position_id' => '',
  'record_url' => '',
  'recruiter_id' => '',
  'rejected_at' => '',
  'social_links' => [
    [
        'id' => '',
        'type' => '',
        'url' => ''
    ]
  ],
  'source_id' => '',
  'sourced_by' => '',
  'sources' => [
    
  ],
  'stage_id' => '',
  'tags' => [
    
  ],
  'title' => '',
  'updated_at' => '',
  'updated_by' => '',
  'websites' => [
    [
        'id' => '',
        'type' => '',
        'url' => ''
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/ats/applicants');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}',
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/ats/applicants' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "addresses": [
    {
      "city": "",
      "contact_name": "",
      "country": "",
      "county": "",
      "email": "",
      "fax": "",
      "id": "",
      "latitude": "",
      "line1": "",
      "line2": "",
      "line3": "",
      "line4": "",
      "longitude": "",
      "name": "",
      "phone_number": "",
      "postal_code": "",
      "row_version": "",
      "salutation": "",
      "state": "",
      "street_number": "",
      "string": "",
      "type": "",
      "website": ""
    }
  ],
  "anonymized": false,
  "applications": [],
  "archived": false,
  "birthday": "",
  "confidential": false,
  "coordinator_id": "",
  "cover_letter": "",
  "created_at": "",
  "created_by": "",
  "custom_fields": [
    {
      "description": "",
      "id": "",
      "name": "",
      "value": ""
    }
  ],
  "cv_url": "",
  "deleted": false,
  "deleted_at": "",
  "deleted_by": "",
  "emails": [
    {
      "email": "",
      "id": "",
      "type": ""
    }
  ],
  "first_name": "",
  "followers": [],
  "headline": "",
  "id": "",
  "initials": "",
  "job_url": "",
  "last_interaction_at": "",
  "last_name": "",
  "middle_name": "",
  "name": "",
  "owner_id": "",
  "phone_numbers": [
    {
      "area_code": "",
      "country_code": "",
      "extension": "",
      "id": "",
      "number": "",
      "type": ""
    }
  ],
  "photo_url": "",
  "position_id": "",
  "record_url": "",
  "recruiter_id": "",
  "rejected_at": "",
  "social_links": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ],
  "source_id": "",
  "sourced_by": "",
  "sources": [],
  "stage_id": "",
  "tags": [],
  "title": "",
  "updated_at": "",
  "updated_by": "",
  "websites": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ]
}'
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/ats/applicants' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "addresses": [
    {
      "city": "",
      "contact_name": "",
      "country": "",
      "county": "",
      "email": "",
      "fax": "",
      "id": "",
      "latitude": "",
      "line1": "",
      "line2": "",
      "line3": "",
      "line4": "",
      "longitude": "",
      "name": "",
      "phone_number": "",
      "postal_code": "",
      "row_version": "",
      "salutation": "",
      "state": "",
      "street_number": "",
      "string": "",
      "type": "",
      "website": ""
    }
  ],
  "anonymized": false,
  "applications": [],
  "archived": false,
  "birthday": "",
  "confidential": false,
  "coordinator_id": "",
  "cover_letter": "",
  "created_at": "",
  "created_by": "",
  "custom_fields": [
    {
      "description": "",
      "id": "",
      "name": "",
      "value": ""
    }
  ],
  "cv_url": "",
  "deleted": false,
  "deleted_at": "",
  "deleted_by": "",
  "emails": [
    {
      "email": "",
      "id": "",
      "type": ""
    }
  ],
  "first_name": "",
  "followers": [],
  "headline": "",
  "id": "",
  "initials": "",
  "job_url": "",
  "last_interaction_at": "",
  "last_name": "",
  "middle_name": "",
  "name": "",
  "owner_id": "",
  "phone_numbers": [
    {
      "area_code": "",
      "country_code": "",
      "extension": "",
      "id": "",
      "number": "",
      "type": ""
    }
  ],
  "photo_url": "",
  "position_id": "",
  "record_url": "",
  "recruiter_id": "",
  "rejected_at": "",
  "social_links": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ],
  "source_id": "",
  "sourced_by": "",
  "sources": [],
  "stage_id": "",
  "tags": [],
  "title": "",
  "updated_at": "",
  "updated_by": "",
  "websites": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ]
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}"

headers = {
    'x-apideck-consumer-id': "",
    'x-apideck-app-id': "",
    'authorization': "{{apiKey}}",
    'content-type': "application/json"
}

conn.request("POST", "/baseUrl/ats/applicants", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/ats/applicants"

payload = {
    "addresses": [
        {
            "city": "",
            "contact_name": "",
            "country": "",
            "county": "",
            "email": "",
            "fax": "",
            "id": "",
            "latitude": "",
            "line1": "",
            "line2": "",
            "line3": "",
            "line4": "",
            "longitude": "",
            "name": "",
            "phone_number": "",
            "postal_code": "",
            "row_version": "",
            "salutation": "",
            "state": "",
            "street_number": "",
            "string": "",
            "type": "",
            "website": ""
        }
    ],
    "anonymized": False,
    "applications": [],
    "archived": False,
    "birthday": "",
    "confidential": False,
    "coordinator_id": "",
    "cover_letter": "",
    "created_at": "",
    "created_by": "",
    "custom_fields": [
        {
            "description": "",
            "id": "",
            "name": "",
            "value": ""
        }
    ],
    "cv_url": "",
    "deleted": False,
    "deleted_at": "",
    "deleted_by": "",
    "emails": [
        {
            "email": "",
            "id": "",
            "type": ""
        }
    ],
    "first_name": "",
    "followers": [],
    "headline": "",
    "id": "",
    "initials": "",
    "job_url": "",
    "last_interaction_at": "",
    "last_name": "",
    "middle_name": "",
    "name": "",
    "owner_id": "",
    "phone_numbers": [
        {
            "area_code": "",
            "country_code": "",
            "extension": "",
            "id": "",
            "number": "",
            "type": ""
        }
    ],
    "photo_url": "",
    "position_id": "",
    "record_url": "",
    "recruiter_id": "",
    "rejected_at": "",
    "social_links": [
        {
            "id": "",
            "type": "",
            "url": ""
        }
    ],
    "source_id": "",
    "sourced_by": "",
    "sources": [],
    "stage_id": "",
    "tags": [],
    "title": "",
    "updated_at": "",
    "updated_by": "",
    "websites": [
        {
            "id": "",
            "type": "",
            "url": ""
        }
    ]
}
headers = {
    "x-apideck-consumer-id": "",
    "x-apideck-app-id": "",
    "authorization": "{{apiKey}}",
    "content-type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/ats/applicants"

payload <- "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, add_headers('x-apideck-consumer-id' = '', 'x-apideck-app-id' = '', 'authorization' = '{{apiKey}}'), content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/ats/applicants")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-apideck-consumer-id"] = ''
request["x-apideck-app-id"] = ''
request["authorization"] = '{{apiKey}}'
request["content-type"] = 'application/json'
request.body = "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/ats/applicants') do |req|
  req.headers['x-apideck-consumer-id'] = ''
  req.headers['x-apideck-app-id'] = ''
  req.headers['authorization'] = '{{apiKey}}'
  req.body = "{\n  \"addresses\": [\n    {\n      \"city\": \"\",\n      \"contact_name\": \"\",\n      \"country\": \"\",\n      \"county\": \"\",\n      \"email\": \"\",\n      \"fax\": \"\",\n      \"id\": \"\",\n      \"latitude\": \"\",\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"line3\": \"\",\n      \"line4\": \"\",\n      \"longitude\": \"\",\n      \"name\": \"\",\n      \"phone_number\": \"\",\n      \"postal_code\": \"\",\n      \"row_version\": \"\",\n      \"salutation\": \"\",\n      \"state\": \"\",\n      \"street_number\": \"\",\n      \"string\": \"\",\n      \"type\": \"\",\n      \"website\": \"\"\n    }\n  ],\n  \"anonymized\": false,\n  \"applications\": [],\n  \"archived\": false,\n  \"birthday\": \"\",\n  \"confidential\": false,\n  \"coordinator_id\": \"\",\n  \"cover_letter\": \"\",\n  \"created_at\": \"\",\n  \"created_by\": \"\",\n  \"custom_fields\": [\n    {\n      \"description\": \"\",\n      \"id\": \"\",\n      \"name\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"cv_url\": \"\",\n  \"deleted\": false,\n  \"deleted_at\": \"\",\n  \"deleted_by\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"id\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"first_name\": \"\",\n  \"followers\": [],\n  \"headline\": \"\",\n  \"id\": \"\",\n  \"initials\": \"\",\n  \"job_url\": \"\",\n  \"last_interaction_at\": \"\",\n  \"last_name\": \"\",\n  \"middle_name\": \"\",\n  \"name\": \"\",\n  \"owner_id\": \"\",\n  \"phone_numbers\": [\n    {\n      \"area_code\": \"\",\n      \"country_code\": \"\",\n      \"extension\": \"\",\n      \"id\": \"\",\n      \"number\": \"\",\n      \"type\": \"\"\n    }\n  ],\n  \"photo_url\": \"\",\n  \"position_id\": \"\",\n  \"record_url\": \"\",\n  \"recruiter_id\": \"\",\n  \"rejected_at\": \"\",\n  \"social_links\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ],\n  \"source_id\": \"\",\n  \"sourced_by\": \"\",\n  \"sources\": [],\n  \"stage_id\": \"\",\n  \"tags\": [],\n  \"title\": \"\",\n  \"updated_at\": \"\",\n  \"updated_by\": \"\",\n  \"websites\": [\n    {\n      \"id\": \"\",\n      \"type\": \"\",\n      \"url\": \"\"\n    }\n  ]\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/ats/applicants";

    let payload = json!({
        "addresses": (
            json!({
                "city": "",
                "contact_name": "",
                "country": "",
                "county": "",
                "email": "",
                "fax": "",
                "id": "",
                "latitude": "",
                "line1": "",
                "line2": "",
                "line3": "",
                "line4": "",
                "longitude": "",
                "name": "",
                "phone_number": "",
                "postal_code": "",
                "row_version": "",
                "salutation": "",
                "state": "",
                "street_number": "",
                "string": "",
                "type": "",
                "website": ""
            })
        ),
        "anonymized": false,
        "applications": (),
        "archived": false,
        "birthday": "",
        "confidential": false,
        "coordinator_id": "",
        "cover_letter": "",
        "created_at": "",
        "created_by": "",
        "custom_fields": (
            json!({
                "description": "",
                "id": "",
                "name": "",
                "value": ""
            })
        ),
        "cv_url": "",
        "deleted": false,
        "deleted_at": "",
        "deleted_by": "",
        "emails": (
            json!({
                "email": "",
                "id": "",
                "type": ""
            })
        ),
        "first_name": "",
        "followers": (),
        "headline": "",
        "id": "",
        "initials": "",
        "job_url": "",
        "last_interaction_at": "",
        "last_name": "",
        "middle_name": "",
        "name": "",
        "owner_id": "",
        "phone_numbers": (
            json!({
                "area_code": "",
                "country_code": "",
                "extension": "",
                "id": "",
                "number": "",
                "type": ""
            })
        ),
        "photo_url": "",
        "position_id": "",
        "record_url": "",
        "recruiter_id": "",
        "rejected_at": "",
        "social_links": (
            json!({
                "id": "",
                "type": "",
                "url": ""
            })
        ),
        "source_id": "",
        "sourced_by": "",
        "sources": (),
        "stage_id": "",
        "tags": (),
        "title": "",
        "updated_at": "",
        "updated_by": "",
        "websites": (
            json!({
                "id": "",
                "type": "",
                "url": ""
            })
        )
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("x-apideck-consumer-id", "".parse().unwrap());
    headers.insert("x-apideck-app-id", "".parse().unwrap());
    headers.insert("authorization", "{{apiKey}}".parse().unwrap());
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/ats/applicants \
  --header 'authorization: {{apiKey}}' \
  --header 'content-type: application/json' \
  --header 'x-apideck-app-id: ' \
  --header 'x-apideck-consumer-id: ' \
  --data '{
  "addresses": [
    {
      "city": "",
      "contact_name": "",
      "country": "",
      "county": "",
      "email": "",
      "fax": "",
      "id": "",
      "latitude": "",
      "line1": "",
      "line2": "",
      "line3": "",
      "line4": "",
      "longitude": "",
      "name": "",
      "phone_number": "",
      "postal_code": "",
      "row_version": "",
      "salutation": "",
      "state": "",
      "street_number": "",
      "string": "",
      "type": "",
      "website": ""
    }
  ],
  "anonymized": false,
  "applications": [],
  "archived": false,
  "birthday": "",
  "confidential": false,
  "coordinator_id": "",
  "cover_letter": "",
  "created_at": "",
  "created_by": "",
  "custom_fields": [
    {
      "description": "",
      "id": "",
      "name": "",
      "value": ""
    }
  ],
  "cv_url": "",
  "deleted": false,
  "deleted_at": "",
  "deleted_by": "",
  "emails": [
    {
      "email": "",
      "id": "",
      "type": ""
    }
  ],
  "first_name": "",
  "followers": [],
  "headline": "",
  "id": "",
  "initials": "",
  "job_url": "",
  "last_interaction_at": "",
  "last_name": "",
  "middle_name": "",
  "name": "",
  "owner_id": "",
  "phone_numbers": [
    {
      "area_code": "",
      "country_code": "",
      "extension": "",
      "id": "",
      "number": "",
      "type": ""
    }
  ],
  "photo_url": "",
  "position_id": "",
  "record_url": "",
  "recruiter_id": "",
  "rejected_at": "",
  "social_links": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ],
  "source_id": "",
  "sourced_by": "",
  "sources": [],
  "stage_id": "",
  "tags": [],
  "title": "",
  "updated_at": "",
  "updated_by": "",
  "websites": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ]
}'
echo '{
  "addresses": [
    {
      "city": "",
      "contact_name": "",
      "country": "",
      "county": "",
      "email": "",
      "fax": "",
      "id": "",
      "latitude": "",
      "line1": "",
      "line2": "",
      "line3": "",
      "line4": "",
      "longitude": "",
      "name": "",
      "phone_number": "",
      "postal_code": "",
      "row_version": "",
      "salutation": "",
      "state": "",
      "street_number": "",
      "string": "",
      "type": "",
      "website": ""
    }
  ],
  "anonymized": false,
  "applications": [],
  "archived": false,
  "birthday": "",
  "confidential": false,
  "coordinator_id": "",
  "cover_letter": "",
  "created_at": "",
  "created_by": "",
  "custom_fields": [
    {
      "description": "",
      "id": "",
      "name": "",
      "value": ""
    }
  ],
  "cv_url": "",
  "deleted": false,
  "deleted_at": "",
  "deleted_by": "",
  "emails": [
    {
      "email": "",
      "id": "",
      "type": ""
    }
  ],
  "first_name": "",
  "followers": [],
  "headline": "",
  "id": "",
  "initials": "",
  "job_url": "",
  "last_interaction_at": "",
  "last_name": "",
  "middle_name": "",
  "name": "",
  "owner_id": "",
  "phone_numbers": [
    {
      "area_code": "",
      "country_code": "",
      "extension": "",
      "id": "",
      "number": "",
      "type": ""
    }
  ],
  "photo_url": "",
  "position_id": "",
  "record_url": "",
  "recruiter_id": "",
  "rejected_at": "",
  "social_links": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ],
  "source_id": "",
  "sourced_by": "",
  "sources": [],
  "stage_id": "",
  "tags": [],
  "title": "",
  "updated_at": "",
  "updated_by": "",
  "websites": [
    {
      "id": "",
      "type": "",
      "url": ""
    }
  ]
}' |  \
  http POST {{baseUrl}}/ats/applicants \
  authorization:'{{apiKey}}' \
  content-type:application/json \
  x-apideck-app-id:'' \
  x-apideck-consumer-id:''
wget --quiet \
  --method POST \
  --header 'x-apideck-consumer-id: ' \
  --header 'x-apideck-app-id: ' \
  --header 'authorization: {{apiKey}}' \
  --header 'content-type: application/json' \
  --body-data '{\n  "addresses": [\n    {\n      "city": "",\n      "contact_name": "",\n      "country": "",\n      "county": "",\n      "email": "",\n      "fax": "",\n      "id": "",\n      "latitude": "",\n      "line1": "",\n      "line2": "",\n      "line3": "",\n      "line4": "",\n      "longitude": "",\n      "name": "",\n      "phone_number": "",\n      "postal_code": "",\n      "row_version": "",\n      "salutation": "",\n      "state": "",\n      "street_number": "",\n      "string": "",\n      "type": "",\n      "website": ""\n    }\n  ],\n  "anonymized": false,\n  "applications": [],\n  "archived": false,\n  "birthday": "",\n  "confidential": false,\n  "coordinator_id": "",\n  "cover_letter": "",\n  "created_at": "",\n  "created_by": "",\n  "custom_fields": [\n    {\n      "description": "",\n      "id": "",\n      "name": "",\n      "value": ""\n    }\n  ],\n  "cv_url": "",\n  "deleted": false,\n  "deleted_at": "",\n  "deleted_by": "",\n  "emails": [\n    {\n      "email": "",\n      "id": "",\n      "type": ""\n    }\n  ],\n  "first_name": "",\n  "followers": [],\n  "headline": "",\n  "id": "",\n  "initials": "",\n  "job_url": "",\n  "last_interaction_at": "",\n  "last_name": "",\n  "middle_name": "",\n  "name": "",\n  "owner_id": "",\n  "phone_numbers": [\n    {\n      "area_code": "",\n      "country_code": "",\n      "extension": "",\n      "id": "",\n      "number": "",\n      "type": ""\n    }\n  ],\n  "photo_url": "",\n  "position_id": "",\n  "record_url": "",\n  "recruiter_id": "",\n  "rejected_at": "",\n  "social_links": [\n    {\n      "id": "",\n      "type": "",\n      "url": ""\n    }\n  ],\n  "source_id": "",\n  "sourced_by": "",\n  "sources": [],\n  "stage_id": "",\n  "tags": [],\n  "title": "",\n  "updated_at": "",\n  "updated_by": "",\n  "websites": [\n    {\n      "id": "",\n      "type": "",\n      "url": ""\n    }\n  ]\n}' \
  --output-document \
  - {{baseUrl}}/ats/applicants
import Foundation

let headers = [
  "x-apideck-consumer-id": "",
  "x-apideck-app-id": "",
  "authorization": "{{apiKey}}",
  "content-type": "application/json"
]
let parameters = [
  "addresses": [
    [
      "city": "",
      "contact_name": "",
      "country": "",
      "county": "",
      "email": "",
      "fax": "",
      "id": "",
      "latitude": "",
      "line1": "",
      "line2": "",
      "line3": "",
      "line4": "",
      "longitude": "",
      "name": "",
      "phone_number": "",
      "postal_code": "",
      "row_version": "",
      "salutation": "",
      "state": "",
      "street_number": "",
      "string": "",
      "type": "",
      "website": ""
    ]
  ],
  "anonymized": false,
  "applications": [],
  "archived": false,
  "birthday": "",
  "confidential": false,
  "coordinator_id": "",
  "cover_letter": "",
  "created_at": "",
  "created_by": "",
  "custom_fields": [
    [
      "description": "",
      "id": "",
      "name": "",
      "value": ""
    ]
  ],
  "cv_url": "",
  "deleted": false,
  "deleted_at": "",
  "deleted_by": "",
  "emails": [
    [
      "email": "",
      "id": "",
      "type": ""
    ]
  ],
  "first_name": "",
  "followers": [],
  "headline": "",
  "id": "",
  "initials": "",
  "job_url": "",
  "last_interaction_at": "",
  "last_name": "",
  "middle_name": "",
  "name": "",
  "owner_id": "",
  "phone_numbers": [
    [
      "area_code": "",
      "country_code": "",
      "extension": "",
      "id": "",
      "number": "",
      "type": ""
    ]
  ],
  "photo_url": "",
  "position_id": "",
  "record_url": "",
  "recruiter_id": "",
  "rejected_at": "",
  "social_links": [
    [
      "id": "",
      "type": "",
      "url": ""
    ]
  ],
  "source_id": "",
  "sourced_by": "",
  "sources": [],
  "stage_id": "",
  "tags": [],
  "title": "",
  "updated_at": "",
  "updated_by": "",
  "websites": [
    [
      "id": "",
      "type": "",
      "url": ""
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/ats/applicants")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "data": {
    "id": "12345"
  },
  "operation": "add",
  "resource": "Applicants",
  "service": "lever",
  "status": "OK",
  "status_code": 200
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#requestvalidationerror",
  "status_code": 400,
  "type_name": "RequestValidationError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Failed to generate valid JWT Session. Verify applicationId is correct",
  "error": "Unauthorized",
  "message": "Unauthorized Request",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 401,
  "type_name": "UnauthorizedError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "You have reached your limit of 2000",
  "error": "Payment Required",
  "message": "Request Limit Reached",
  "ref": "https://developers.apideck.com/errors#requestlimiterror",
  "status_code": 402,
  "type_name": "RequestLimitError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Not Found",
  "message": "Unknown Widget",
  "ref": "https://developers.apideck.com/errors#entitynotfounderror",
  "status_code": 404,
  "type_name": "EntityNotFoundError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Unprocessable request, please verify your request headers and body.",
  "error": "Unprocessable Entity",
  "message": "Invalid State",
  "ref": "https://developers.apideck.com/errors#invalidstateerror",
  "status_code": 422,
  "type_name": "InvalidStateError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 400,
  "type_name": "RequestHeadersValidationError"
}
GET Get applicant
{{baseUrl}}/ats/applicants/:id
HEADERS

x-apideck-consumer-id
x-apideck-app-id
Authorization
{{apiKey}}
QUERY PARAMS

id
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/ats/applicants/:id");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "x-apideck-consumer-id: ");
headers = curl_slist_append(headers, "x-apideck-app-id: ");
headers = curl_slist_append(headers, "authorization: {{apiKey}}");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/ats/applicants/:id" {:headers {:x-apideck-consumer-id ""
                                                                        :x-apideck-app-id ""
                                                                        :authorization "{{apiKey}}"}})
require "http/client"

url = "{{baseUrl}}/ats/applicants/:id"
headers = HTTP::Headers{
  "x-apideck-consumer-id" => ""
  "x-apideck-app-id" => ""
  "authorization" => "{{apiKey}}"
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/ats/applicants/:id"),
    Headers =
    {
        { "x-apideck-consumer-id", "" },
        { "x-apideck-app-id", "" },
        { "authorization", "{{apiKey}}" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/ats/applicants/:id");
var request = new RestRequest("", Method.Get);
request.AddHeader("x-apideck-consumer-id", "");
request.AddHeader("x-apideck-app-id", "");
request.AddHeader("authorization", "{{apiKey}}");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/ats/applicants/:id"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-apideck-consumer-id", "")
	req.Header.Add("x-apideck-app-id", "")
	req.Header.Add("authorization", "{{apiKey}}")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/ats/applicants/:id HTTP/1.1
X-Apideck-Consumer-Id: 
X-Apideck-App-Id: 
Authorization: {{apiKey}}
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/ats/applicants/:id")
  .setHeader("x-apideck-consumer-id", "")
  .setHeader("x-apideck-app-id", "")
  .setHeader("authorization", "{{apiKey}}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/ats/applicants/:id"))
    .header("x-apideck-consumer-id", "")
    .header("x-apideck-app-id", "")
    .header("authorization", "{{apiKey}}")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/ats/applicants/:id")
  .get()
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/ats/applicants/:id")
  .header("x-apideck-consumer-id", "")
  .header("x-apideck-app-id", "")
  .header("authorization", "{{apiKey}}")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/ats/applicants/:id');
xhr.setRequestHeader('x-apideck-consumer-id', '');
xhr.setRequestHeader('x-apideck-app-id', '');
xhr.setRequestHeader('authorization', '{{apiKey}}');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/applicants/:id',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/ats/applicants/:id';
const options = {
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/ats/applicants/:id',
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/ats/applicants/:id")
  .get()
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/ats/applicants/:id',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/applicants/:id',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/ats/applicants/:id');

req.headers({
  'x-apideck-consumer-id': '',
  'x-apideck-app-id': '',
  authorization: '{{apiKey}}'
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/applicants/:id',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/ats/applicants/:id';
const options = {
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"x-apideck-consumer-id": @"",
                           @"x-apideck-app-id": @"",
                           @"authorization": @"{{apiKey}}" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/ats/applicants/:id"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/ats/applicants/:id" in
let headers = Header.add_list (Header.init ()) [
  ("x-apideck-consumer-id", "");
  ("x-apideck-app-id", "");
  ("authorization", "{{apiKey}}");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/ats/applicants/:id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "authorization: {{apiKey}}",
    "x-apideck-app-id: ",
    "x-apideck-consumer-id: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/ats/applicants/:id', [
  'headers' => [
    'authorization' => '{{apiKey}}',
    'x-apideck-app-id' => '',
    'x-apideck-consumer-id' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/ats/applicants/:id');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}'
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/ats/applicants/:id');
$request->setRequestMethod('GET');
$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/ats/applicants/:id' -Method GET -Headers $headers
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/ats/applicants/:id' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'x-apideck-consumer-id': "",
    'x-apideck-app-id': "",
    'authorization': "{{apiKey}}"
}

conn.request("GET", "/baseUrl/ats/applicants/:id", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/ats/applicants/:id"

headers = {
    "x-apideck-consumer-id": "",
    "x-apideck-app-id": "",
    "authorization": "{{apiKey}}"
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/ats/applicants/:id"

response <- VERB("GET", url, add_headers('x-apideck-consumer-id' = '', 'x-apideck-app-id' = '', 'authorization' = '{{apiKey}}'), content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/ats/applicants/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-apideck-consumer-id"] = ''
request["x-apideck-app-id"] = ''
request["authorization"] = '{{apiKey}}'

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/ats/applicants/:id') do |req|
  req.headers['x-apideck-consumer-id'] = ''
  req.headers['x-apideck-app-id'] = ''
  req.headers['authorization'] = '{{apiKey}}'
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/ats/applicants/:id";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("x-apideck-consumer-id", "".parse().unwrap());
    headers.insert("x-apideck-app-id", "".parse().unwrap());
    headers.insert("authorization", "{{apiKey}}".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/ats/applicants/:id \
  --header 'authorization: {{apiKey}}' \
  --header 'x-apideck-app-id: ' \
  --header 'x-apideck-consumer-id: '
http GET {{baseUrl}}/ats/applicants/:id \
  authorization:'{{apiKey}}' \
  x-apideck-app-id:'' \
  x-apideck-consumer-id:''
wget --quiet \
  --method GET \
  --header 'x-apideck-consumer-id: ' \
  --header 'x-apideck-app-id: ' \
  --header 'authorization: {{apiKey}}' \
  --output-document \
  - {{baseUrl}}/ats/applicants/:id
import Foundation

let headers = [
  "x-apideck-consumer-id": "",
  "x-apideck-app-id": "",
  "authorization": "{{apiKey}}"
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/ats/applicants/:id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "data": {
    "anonymized": true,
    "applications": [
      "a0d636c6-43b3-4bde-8c70-85b707d992f4",
      "a98lfd96-43b3-4bde-8c70-85b707d992e6"
    ],
    "archived": false,
    "birthday": "2000-08-12",
    "confidential": false,
    "coordinator_id": "12345",
    "cover_letter": "I submit this application to express my sincere interest in the API developer position. In the previous role, I was responsible for leadership and ...",
    "created_at": "2020-09-30T07:43:32.000Z",
    "created_by": "12345",
    "cv_url": "https://recruitee-main.s3.eu-central-1.amazonaws.com/candidates/36615291/pdf_cv_38swhu4w42k1.pdf?response-content-disposition=inline&response-content-type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQYHB7CA5RLR4Y3ON%2F20220514%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20220514T235654Z&X-Amz-Expires=36000&X-Amz-SignedHeaders=host&X-Amz-Signature=72c0621f5976db75b54de487eb821a8e73480d7f2a6a4a9713ab997944b0561f",
    "deleted": true,
    "deleted_at": "2020-09-30T07:43:32.000Z",
    "deleted_by": "12345",
    "first_name": "Elon",
    "followers": [
      "a0d636c6-43b3-4bde-8c70-85b707d992f4",
      "a98lfd96-43b3-4bde-8c70-85b707d992e6"
    ],
    "headline": "PepsiCo, Inc, Central Perk",
    "id": "12345",
    "initials": "EM",
    "job_url": "https://democompany.recruitee.com/o/example-talent-pool",
    "last_interaction_at": "2020-09-30T07:43:32.000Z",
    "last_name": "Musk",
    "middle_name": "D.",
    "name": "Elon Musk",
    "owner_id": "54321",
    "photo_url": "https://unavatar.io/elon-musk",
    "position_id": "123",
    "record_url": "https://app.intercom.io/contacts/12345",
    "recruiter_id": "12345",
    "rejected_at": "2020-09-30T07:43:32.000Z",
    "source_id": "12345",
    "sourced_by": "12345",
    "sources": [
      "Job site"
    ],
    "stage_id": "12345",
    "tags": [
      "New"
    ],
    "title": "CEO",
    "updated_at": "2020-09-30T07:43:32.000Z",
    "updated_by": "12345"
  },
  "operation": "one",
  "resource": "Applicants",
  "service": "lever",
  "status": "OK",
  "status_code": 200
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#requestvalidationerror",
  "status_code": 400,
  "type_name": "RequestValidationError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Failed to generate valid JWT Session. Verify applicationId is correct",
  "error": "Unauthorized",
  "message": "Unauthorized Request",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 401,
  "type_name": "UnauthorizedError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "You have reached your limit of 2000",
  "error": "Payment Required",
  "message": "Request Limit Reached",
  "ref": "https://developers.apideck.com/errors#requestlimiterror",
  "status_code": 402,
  "type_name": "RequestLimitError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Not Found",
  "message": "Unknown Widget",
  "ref": "https://developers.apideck.com/errors#entitynotfounderror",
  "status_code": 404,
  "type_name": "EntityNotFoundError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Unprocessable request, please verify your request headers and body.",
  "error": "Unprocessable Entity",
  "message": "Invalid State",
  "ref": "https://developers.apideck.com/errors#invalidstateerror",
  "status_code": 422,
  "type_name": "InvalidStateError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 400,
  "type_name": "RequestHeadersValidationError"
}
GET List applicants
{{baseUrl}}/ats/applicants
HEADERS

x-apideck-consumer-id
x-apideck-app-id
Authorization
{{apiKey}}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/ats/applicants");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "x-apideck-consumer-id: ");
headers = curl_slist_append(headers, "x-apideck-app-id: ");
headers = curl_slist_append(headers, "authorization: {{apiKey}}");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/ats/applicants" {:headers {:x-apideck-consumer-id ""
                                                                    :x-apideck-app-id ""
                                                                    :authorization "{{apiKey}}"}})
require "http/client"

url = "{{baseUrl}}/ats/applicants"
headers = HTTP::Headers{
  "x-apideck-consumer-id" => ""
  "x-apideck-app-id" => ""
  "authorization" => "{{apiKey}}"
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/ats/applicants"),
    Headers =
    {
        { "x-apideck-consumer-id", "" },
        { "x-apideck-app-id", "" },
        { "authorization", "{{apiKey}}" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/ats/applicants");
var request = new RestRequest("", Method.Get);
request.AddHeader("x-apideck-consumer-id", "");
request.AddHeader("x-apideck-app-id", "");
request.AddHeader("authorization", "{{apiKey}}");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/ats/applicants"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-apideck-consumer-id", "")
	req.Header.Add("x-apideck-app-id", "")
	req.Header.Add("authorization", "{{apiKey}}")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/ats/applicants HTTP/1.1
X-Apideck-Consumer-Id: 
X-Apideck-App-Id: 
Authorization: {{apiKey}}
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/ats/applicants")
  .setHeader("x-apideck-consumer-id", "")
  .setHeader("x-apideck-app-id", "")
  .setHeader("authorization", "{{apiKey}}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/ats/applicants"))
    .header("x-apideck-consumer-id", "")
    .header("x-apideck-app-id", "")
    .header("authorization", "{{apiKey}}")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/ats/applicants")
  .get()
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/ats/applicants")
  .header("x-apideck-consumer-id", "")
  .header("x-apideck-app-id", "")
  .header("authorization", "{{apiKey}}")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/ats/applicants');
xhr.setRequestHeader('x-apideck-consumer-id', '');
xhr.setRequestHeader('x-apideck-app-id', '');
xhr.setRequestHeader('authorization', '{{apiKey}}');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/applicants',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/ats/applicants';
const options = {
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/ats/applicants',
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/ats/applicants")
  .get()
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/ats/applicants',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/applicants',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/ats/applicants');

req.headers({
  'x-apideck-consumer-id': '',
  'x-apideck-app-id': '',
  authorization: '{{apiKey}}'
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/applicants',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/ats/applicants';
const options = {
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"x-apideck-consumer-id": @"",
                           @"x-apideck-app-id": @"",
                           @"authorization": @"{{apiKey}}" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/ats/applicants"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/ats/applicants" in
let headers = Header.add_list (Header.init ()) [
  ("x-apideck-consumer-id", "");
  ("x-apideck-app-id", "");
  ("authorization", "{{apiKey}}");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/ats/applicants",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "authorization: {{apiKey}}",
    "x-apideck-app-id: ",
    "x-apideck-consumer-id: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/ats/applicants', [
  'headers' => [
    'authorization' => '{{apiKey}}',
    'x-apideck-app-id' => '',
    'x-apideck-consumer-id' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/ats/applicants');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}'
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/ats/applicants');
$request->setRequestMethod('GET');
$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/ats/applicants' -Method GET -Headers $headers
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/ats/applicants' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'x-apideck-consumer-id': "",
    'x-apideck-app-id': "",
    'authorization': "{{apiKey}}"
}

conn.request("GET", "/baseUrl/ats/applicants", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/ats/applicants"

headers = {
    "x-apideck-consumer-id": "",
    "x-apideck-app-id": "",
    "authorization": "{{apiKey}}"
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/ats/applicants"

response <- VERB("GET", url, add_headers('x-apideck-consumer-id' = '', 'x-apideck-app-id' = '', 'authorization' = '{{apiKey}}'), content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/ats/applicants")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-apideck-consumer-id"] = ''
request["x-apideck-app-id"] = ''
request["authorization"] = '{{apiKey}}'

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/ats/applicants') do |req|
  req.headers['x-apideck-consumer-id'] = ''
  req.headers['x-apideck-app-id'] = ''
  req.headers['authorization'] = '{{apiKey}}'
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/ats/applicants";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("x-apideck-consumer-id", "".parse().unwrap());
    headers.insert("x-apideck-app-id", "".parse().unwrap());
    headers.insert("authorization", "{{apiKey}}".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/ats/applicants \
  --header 'authorization: {{apiKey}}' \
  --header 'x-apideck-app-id: ' \
  --header 'x-apideck-consumer-id: '
http GET {{baseUrl}}/ats/applicants \
  authorization:'{{apiKey}}' \
  x-apideck-app-id:'' \
  x-apideck-consumer-id:''
wget --quiet \
  --method GET \
  --header 'x-apideck-consumer-id: ' \
  --header 'x-apideck-app-id: ' \
  --header 'authorization: {{apiKey}}' \
  --output-document \
  - {{baseUrl}}/ats/applicants
import Foundation

let headers = [
  "x-apideck-consumer-id": "",
  "x-apideck-app-id": "",
  "authorization": "{{apiKey}}"
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/ats/applicants")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "links": {
    "current": "https://unify.apideck.com/crm/companies",
    "next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM",
    "previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D"
  },
  "meta": {
    "items_on_page": 50
  },
  "operation": "all",
  "resource": "Applicants",
  "service": "lever",
  "status": "OK",
  "status_code": 200
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#requestvalidationerror",
  "status_code": 400,
  "type_name": "RequestValidationError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Failed to generate valid JWT Session. Verify applicationId is correct",
  "error": "Unauthorized",
  "message": "Unauthorized Request",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 401,
  "type_name": "UnauthorizedError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "You have reached your limit of 2000",
  "error": "Payment Required",
  "message": "Request Limit Reached",
  "ref": "https://developers.apideck.com/errors#requestlimiterror",
  "status_code": 402,
  "type_name": "RequestLimitError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Not Found",
  "message": "Unknown Widget",
  "ref": "https://developers.apideck.com/errors#entitynotfounderror",
  "status_code": 404,
  "type_name": "EntityNotFoundError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Unprocessable request, please verify your request headers and body.",
  "error": "Unprocessable Entity",
  "message": "Invalid State",
  "ref": "https://developers.apideck.com/errors#invalidstateerror",
  "status_code": 422,
  "type_name": "InvalidStateError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 400,
  "type_name": "RequestHeadersValidationError"
}
GET Get Job
{{baseUrl}}/ats/jobs/:id
HEADERS

x-apideck-consumer-id
x-apideck-app-id
Authorization
{{apiKey}}
QUERY PARAMS

id
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/ats/jobs/:id");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "x-apideck-consumer-id: ");
headers = curl_slist_append(headers, "x-apideck-app-id: ");
headers = curl_slist_append(headers, "authorization: {{apiKey}}");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/ats/jobs/:id" {:headers {:x-apideck-consumer-id ""
                                                                  :x-apideck-app-id ""
                                                                  :authorization "{{apiKey}}"}})
require "http/client"

url = "{{baseUrl}}/ats/jobs/:id"
headers = HTTP::Headers{
  "x-apideck-consumer-id" => ""
  "x-apideck-app-id" => ""
  "authorization" => "{{apiKey}}"
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/ats/jobs/:id"),
    Headers =
    {
        { "x-apideck-consumer-id", "" },
        { "x-apideck-app-id", "" },
        { "authorization", "{{apiKey}}" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/ats/jobs/:id");
var request = new RestRequest("", Method.Get);
request.AddHeader("x-apideck-consumer-id", "");
request.AddHeader("x-apideck-app-id", "");
request.AddHeader("authorization", "{{apiKey}}");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/ats/jobs/:id"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-apideck-consumer-id", "")
	req.Header.Add("x-apideck-app-id", "")
	req.Header.Add("authorization", "{{apiKey}}")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/ats/jobs/:id HTTP/1.1
X-Apideck-Consumer-Id: 
X-Apideck-App-Id: 
Authorization: {{apiKey}}
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/ats/jobs/:id")
  .setHeader("x-apideck-consumer-id", "")
  .setHeader("x-apideck-app-id", "")
  .setHeader("authorization", "{{apiKey}}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/ats/jobs/:id"))
    .header("x-apideck-consumer-id", "")
    .header("x-apideck-app-id", "")
    .header("authorization", "{{apiKey}}")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/ats/jobs/:id")
  .get()
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/ats/jobs/:id")
  .header("x-apideck-consumer-id", "")
  .header("x-apideck-app-id", "")
  .header("authorization", "{{apiKey}}")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/ats/jobs/:id');
xhr.setRequestHeader('x-apideck-consumer-id', '');
xhr.setRequestHeader('x-apideck-app-id', '');
xhr.setRequestHeader('authorization', '{{apiKey}}');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/jobs/:id',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/ats/jobs/:id';
const options = {
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/ats/jobs/:id',
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/ats/jobs/:id")
  .get()
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/ats/jobs/:id',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/jobs/:id',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/ats/jobs/:id');

req.headers({
  'x-apideck-consumer-id': '',
  'x-apideck-app-id': '',
  authorization: '{{apiKey}}'
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/jobs/:id',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/ats/jobs/:id';
const options = {
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"x-apideck-consumer-id": @"",
                           @"x-apideck-app-id": @"",
                           @"authorization": @"{{apiKey}}" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/ats/jobs/:id"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/ats/jobs/:id" in
let headers = Header.add_list (Header.init ()) [
  ("x-apideck-consumer-id", "");
  ("x-apideck-app-id", "");
  ("authorization", "{{apiKey}}");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/ats/jobs/:id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "authorization: {{apiKey}}",
    "x-apideck-app-id: ",
    "x-apideck-consumer-id: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/ats/jobs/:id', [
  'headers' => [
    'authorization' => '{{apiKey}}',
    'x-apideck-app-id' => '',
    'x-apideck-consumer-id' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/ats/jobs/:id');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}'
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/ats/jobs/:id');
$request->setRequestMethod('GET');
$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/ats/jobs/:id' -Method GET -Headers $headers
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/ats/jobs/:id' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'x-apideck-consumer-id': "",
    'x-apideck-app-id': "",
    'authorization': "{{apiKey}}"
}

conn.request("GET", "/baseUrl/ats/jobs/:id", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/ats/jobs/:id"

headers = {
    "x-apideck-consumer-id": "",
    "x-apideck-app-id": "",
    "authorization": "{{apiKey}}"
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/ats/jobs/:id"

response <- VERB("GET", url, add_headers('x-apideck-consumer-id' = '', 'x-apideck-app-id' = '', 'authorization' = '{{apiKey}}'), content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/ats/jobs/:id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-apideck-consumer-id"] = ''
request["x-apideck-app-id"] = ''
request["authorization"] = '{{apiKey}}'

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/ats/jobs/:id') do |req|
  req.headers['x-apideck-consumer-id'] = ''
  req.headers['x-apideck-app-id'] = ''
  req.headers['authorization'] = '{{apiKey}}'
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/ats/jobs/:id";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("x-apideck-consumer-id", "".parse().unwrap());
    headers.insert("x-apideck-app-id", "".parse().unwrap());
    headers.insert("authorization", "{{apiKey}}".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/ats/jobs/:id \
  --header 'authorization: {{apiKey}}' \
  --header 'x-apideck-app-id: ' \
  --header 'x-apideck-consumer-id: '
http GET {{baseUrl}}/ats/jobs/:id \
  authorization:'{{apiKey}}' \
  x-apideck-app-id:'' \
  x-apideck-consumer-id:''
wget --quiet \
  --method GET \
  --header 'x-apideck-consumer-id: ' \
  --header 'x-apideck-app-id: ' \
  --header 'authorization: {{apiKey}}' \
  --output-document \
  - {{baseUrl}}/ats/jobs/:id
import Foundation

let headers = [
  "x-apideck-consumer-id": "",
  "x-apideck-app-id": "",
  "authorization": "{{apiKey}}"
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/ats/jobs/:id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "data": {
    "available_to_employees": false,
    "blocks": [
      {
        "content": "string",
        "title": "string"
      }
    ],
    "branch": {
      "id": "123",
      "name": "HQ NY"
    },
    "closing": "The closing section of the job description",
    "closing_date": "2020-10-30",
    "code": "123-OC",
    "confidential": false,
    "created_at": "2020-09-30T07:43:32.000Z",
    "created_by": "12345",
    "deleted": true,
    "description": "A description",
    "employment_terms": "full-time",
    "experience": "Director/ Vice President",
    "followers": [
      "a0d636c6-43b3-4bde-8c70-85b707d992f4",
      "a98lfd96-43b3-4bde-8c70-85b707d992e6"
    ],
    "hiring_managers": [
      "123456"
    ],
    "id": "12345",
    "language": "EN",
    "owner_id": "54321",
    "published_at": "2020-09-30T07:43:32.000Z",
    "record_url": "https://app.intercom.io/contacts/12345",
    "recruiters": [
      "a0d636c6-43b3-4bde-8c70-85b707d992f4"
    ],
    "remote": true,
    "requisition_id": "abc123",
    "sequence": 3,
    "slug": "ceo",
    "status": "completed",
    "tags": [
      "New"
    ],
    "title": "CEO",
    "updated_at": "2020-09-30T07:43:32.000Z",
    "updated_by": "12345",
    "visibility": "internal"
  },
  "operation": "one",
  "resource": "Jobs",
  "service": "lever",
  "status": "OK",
  "status_code": 200
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#requestvalidationerror",
  "status_code": 400,
  "type_name": "RequestValidationError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Failed to generate valid JWT Session. Verify applicationId is correct",
  "error": "Unauthorized",
  "message": "Unauthorized Request",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 401,
  "type_name": "UnauthorizedError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "You have reached your limit of 2000",
  "error": "Payment Required",
  "message": "Request Limit Reached",
  "ref": "https://developers.apideck.com/errors#requestlimiterror",
  "status_code": 402,
  "type_name": "RequestLimitError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Not Found",
  "message": "Unknown Widget",
  "ref": "https://developers.apideck.com/errors#entitynotfounderror",
  "status_code": 404,
  "type_name": "EntityNotFoundError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Unprocessable request, please verify your request headers and body.",
  "error": "Unprocessable Entity",
  "message": "Invalid State",
  "ref": "https://developers.apideck.com/errors#invalidstateerror",
  "status_code": 422,
  "type_name": "InvalidStateError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 400,
  "type_name": "RequestHeadersValidationError"
}
GET List Jobs
{{baseUrl}}/ats/jobs
HEADERS

x-apideck-consumer-id
x-apideck-app-id
Authorization
{{apiKey}}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/ats/jobs");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "x-apideck-consumer-id: ");
headers = curl_slist_append(headers, "x-apideck-app-id: ");
headers = curl_slist_append(headers, "authorization: {{apiKey}}");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/ats/jobs" {:headers {:x-apideck-consumer-id ""
                                                              :x-apideck-app-id ""
                                                              :authorization "{{apiKey}}"}})
require "http/client"

url = "{{baseUrl}}/ats/jobs"
headers = HTTP::Headers{
  "x-apideck-consumer-id" => ""
  "x-apideck-app-id" => ""
  "authorization" => "{{apiKey}}"
}

response = HTTP::Client.get url, headers: headers
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/ats/jobs"),
    Headers =
    {
        { "x-apideck-consumer-id", "" },
        { "x-apideck-app-id", "" },
        { "authorization", "{{apiKey}}" },
    },
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/ats/jobs");
var request = new RestRequest("", Method.Get);
request.AddHeader("x-apideck-consumer-id", "");
request.AddHeader("x-apideck-app-id", "");
request.AddHeader("authorization", "{{apiKey}}");
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/ats/jobs"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-apideck-consumer-id", "")
	req.Header.Add("x-apideck-app-id", "")
	req.Header.Add("authorization", "{{apiKey}}")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/ats/jobs HTTP/1.1
X-Apideck-Consumer-Id: 
X-Apideck-App-Id: 
Authorization: {{apiKey}}
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/ats/jobs")
  .setHeader("x-apideck-consumer-id", "")
  .setHeader("x-apideck-app-id", "")
  .setHeader("authorization", "{{apiKey}}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/ats/jobs"))
    .header("x-apideck-consumer-id", "")
    .header("x-apideck-app-id", "")
    .header("authorization", "{{apiKey}}")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/ats/jobs")
  .get()
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/ats/jobs")
  .header("x-apideck-consumer-id", "")
  .header("x-apideck-app-id", "")
  .header("authorization", "{{apiKey}}")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/ats/jobs');
xhr.setRequestHeader('x-apideck-consumer-id', '');
xhr.setRequestHeader('x-apideck-app-id', '');
xhr.setRequestHeader('authorization', '{{apiKey}}');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/jobs',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/ats/jobs';
const options = {
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/ats/jobs',
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/ats/jobs")
  .get()
  .addHeader("x-apideck-consumer-id", "")
  .addHeader("x-apideck-app-id", "")
  .addHeader("authorization", "{{apiKey}}")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/ats/jobs',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/jobs',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/ats/jobs');

req.headers({
  'x-apideck-consumer-id': '',
  'x-apideck-app-id': '',
  authorization: '{{apiKey}}'
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/ats/jobs',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/ats/jobs';
const options = {
  method: 'GET',
  headers: {
    'x-apideck-consumer-id': '',
    'x-apideck-app-id': '',
    authorization: '{{apiKey}}'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"x-apideck-consumer-id": @"",
                           @"x-apideck-app-id": @"",
                           @"authorization": @"{{apiKey}}" };

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/ats/jobs"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
[request setAllHTTPHeaderFields:headers];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/ats/jobs" in
let headers = Header.add_list (Header.init ()) [
  ("x-apideck-consumer-id", "");
  ("x-apideck-app-id", "");
  ("authorization", "{{apiKey}}");
] in

Client.call ~headers `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/ats/jobs",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "authorization: {{apiKey}}",
    "x-apideck-app-id: ",
    "x-apideck-consumer-id: "
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/ats/jobs', [
  'headers' => [
    'authorization' => '{{apiKey}}',
    'x-apideck-app-id' => '',
    'x-apideck-consumer-id' => '',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/ats/jobs');
$request->setMethod(HTTP_METH_GET);

$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}'
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/ats/jobs');
$request->setRequestMethod('GET');
$request->setHeaders([
  'x-apideck-consumer-id' => '',
  'x-apideck-app-id' => '',
  'authorization' => '{{apiKey}}'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/ats/jobs' -Method GET -Headers $headers
$headers=@{}
$headers.Add("x-apideck-consumer-id", "")
$headers.Add("x-apideck-app-id", "")
$headers.Add("authorization", "{{apiKey}}")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/ats/jobs' -Method GET -Headers $headers
import http.client

conn = http.client.HTTPSConnection("example.com")

headers = {
    'x-apideck-consumer-id': "",
    'x-apideck-app-id': "",
    'authorization': "{{apiKey}}"
}

conn.request("GET", "/baseUrl/ats/jobs", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/ats/jobs"

headers = {
    "x-apideck-consumer-id": "",
    "x-apideck-app-id": "",
    "authorization": "{{apiKey}}"
}

response = requests.get(url, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/ats/jobs"

response <- VERB("GET", url, add_headers('x-apideck-consumer-id' = '', 'x-apideck-app-id' = '', 'authorization' = '{{apiKey}}'), content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/ats/jobs")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-apideck-consumer-id"] = ''
request["x-apideck-app-id"] = ''
request["authorization"] = '{{apiKey}}'

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/ats/jobs') do |req|
  req.headers['x-apideck-consumer-id'] = ''
  req.headers['x-apideck-app-id'] = ''
  req.headers['authorization'] = '{{apiKey}}'
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/ats/jobs";

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("x-apideck-consumer-id", "".parse().unwrap());
    headers.insert("x-apideck-app-id", "".parse().unwrap());
    headers.insert("authorization", "{{apiKey}}".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.get(url)
        .headers(headers)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/ats/jobs \
  --header 'authorization: {{apiKey}}' \
  --header 'x-apideck-app-id: ' \
  --header 'x-apideck-consumer-id: '
http GET {{baseUrl}}/ats/jobs \
  authorization:'{{apiKey}}' \
  x-apideck-app-id:'' \
  x-apideck-consumer-id:''
wget --quiet \
  --method GET \
  --header 'x-apideck-consumer-id: ' \
  --header 'x-apideck-app-id: ' \
  --header 'authorization: {{apiKey}}' \
  --output-document \
  - {{baseUrl}}/ats/jobs
import Foundation

let headers = [
  "x-apideck-consumer-id": "",
  "x-apideck-app-id": "",
  "authorization": "{{apiKey}}"
]

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/ats/jobs")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "links": {
    "current": "https://unify.apideck.com/crm/companies",
    "next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM",
    "previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D"
  },
  "meta": {
    "items_on_page": 50
  },
  "operation": "all",
  "resource": "Jobs",
  "service": "lever",
  "status": "OK",
  "status_code": 200
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#requestvalidationerror",
  "status_code": 400,
  "type_name": "RequestValidationError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Failed to generate valid JWT Session. Verify applicationId is correct",
  "error": "Unauthorized",
  "message": "Unauthorized Request",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 401,
  "type_name": "UnauthorizedError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "You have reached your limit of 2000",
  "error": "Payment Required",
  "message": "Request Limit Reached",
  "ref": "https://developers.apideck.com/errors#requestlimiterror",
  "status_code": 402,
  "type_name": "RequestLimitError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Not Found",
  "message": "Unknown Widget",
  "ref": "https://developers.apideck.com/errors#entitynotfounderror",
  "status_code": 404,
  "type_name": "EntityNotFoundError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "detail": "Unprocessable request, please verify your request headers and body.",
  "error": "Unprocessable Entity",
  "message": "Invalid State",
  "ref": "https://developers.apideck.com/errors#invalidstateerror",
  "status_code": 422,
  "type_name": "InvalidStateError"
}
RESPONSE HEADERS

Content-Type
application/json
RESPONSE BODY json

{
  "error": "Bad Request",
  "message": "Invalid Params",
  "ref": "https://developers.apideck.com/errors#unauthorizederror",
  "status_code": 400,
  "type_name": "RequestHeadersValidationError"
}