cURL
curl --request POST \
--url https://api.amdital.com/api/v1/applicants \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "<string>",
"email": "jsmith@example.com",
"jobOpeningId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"jobPostingId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastName": "<string>",
"phone": "<string>",
"resumeFileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stage": "applied",
"score": 123,
"source": "<string>",
"notes": "<string>",
"custom": {},
"linkedinUrl": "<string>",
"portfolioUrl": "<string>",
"whatsappOptIn": true,
"currentTitle": "<string>",
"currentCompany": "<string>",
"totalExperienceMonths": 600,
"currentLocation": "<string>",
"noticePeriodDays": 182,
"currentCtc": 500000000000,
"expectedCtc": 500000000000,
"ctcCurrency": "<string>",
"skills": [
"<string>"
]
}
'import requests
url = "https://api.amdital.com/api/v1/applicants"
payload = {
"firstName": "<string>",
"email": "jsmith@example.com",
"jobOpeningId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"jobPostingId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastName": "<string>",
"phone": "<string>",
"resumeFileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stage": "applied",
"score": 123,
"source": "<string>",
"notes": "<string>",
"custom": {},
"linkedinUrl": "<string>",
"portfolioUrl": "<string>",
"whatsappOptIn": True,
"currentTitle": "<string>",
"currentCompany": "<string>",
"totalExperienceMonths": 600,
"currentLocation": "<string>",
"noticePeriodDays": 182,
"currentCtc": 500000000000,
"expectedCtc": 500000000000,
"ctcCurrency": "<string>",
"skills": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
firstName: '<string>',
email: 'jsmith@example.com',
jobOpeningId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
jobPostingId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
lastName: '<string>',
phone: '<string>',
resumeFileId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
stage: 'applied',
score: 123,
source: '<string>',
notes: '<string>',
custom: {},
linkedinUrl: '<string>',
portfolioUrl: '<string>',
whatsappOptIn: true,
currentTitle: '<string>',
currentCompany: '<string>',
totalExperienceMonths: 600,
currentLocation: '<string>',
noticePeriodDays: 182,
currentCtc: 500000000000,
expectedCtc: 500000000000,
ctcCurrency: '<string>',
skills: ['<string>']
})
};
fetch('https://api.amdital.com/api/v1/applicants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.amdital.com/api/v1/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([
'firstName' => '<string>',
'email' => 'jsmith@example.com',
'jobOpeningId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'jobPostingId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'lastName' => '<string>',
'phone' => '<string>',
'resumeFileId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'stage' => 'applied',
'score' => 123,
'source' => '<string>',
'notes' => '<string>',
'custom' => [
],
'linkedinUrl' => '<string>',
'portfolioUrl' => '<string>',
'whatsappOptIn' => true,
'currentTitle' => '<string>',
'currentCompany' => '<string>',
'totalExperienceMonths' => 600,
'currentLocation' => '<string>',
'noticePeriodDays' => 182,
'currentCtc' => 500000000000,
'expectedCtc' => 500000000000,
'ctcCurrency' => '<string>',
'skills' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.amdital.com/api/v1/applicants"
payload := strings.NewReader("{\n \"firstName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"jobOpeningId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"jobPostingId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"lastName\": \"<string>\",\n \"phone\": \"<string>\",\n \"resumeFileId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"applied\",\n \"score\": 123,\n \"source\": \"<string>\",\n \"notes\": \"<string>\",\n \"custom\": {},\n \"linkedinUrl\": \"<string>\",\n \"portfolioUrl\": \"<string>\",\n \"whatsappOptIn\": true,\n \"currentTitle\": \"<string>\",\n \"currentCompany\": \"<string>\",\n \"totalExperienceMonths\": 600,\n \"currentLocation\": \"<string>\",\n \"noticePeriodDays\": 182,\n \"currentCtc\": 500000000000,\n \"expectedCtc\": 500000000000,\n \"ctcCurrency\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.amdital.com/api/v1/applicants")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"firstName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"jobOpeningId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"jobPostingId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"lastName\": \"<string>\",\n \"phone\": \"<string>\",\n \"resumeFileId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"applied\",\n \"score\": 123,\n \"source\": \"<string>\",\n \"notes\": \"<string>\",\n \"custom\": {},\n \"linkedinUrl\": \"<string>\",\n \"portfolioUrl\": \"<string>\",\n \"whatsappOptIn\": true,\n \"currentTitle\": \"<string>\",\n \"currentCompany\": \"<string>\",\n \"totalExperienceMonths\": 600,\n \"currentLocation\": \"<string>\",\n \"noticePeriodDays\": 182,\n \"currentCtc\": 500000000000,\n \"expectedCtc\": 500000000000,\n \"ctcCurrency\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amdital.com/api/v1/applicants")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"firstName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"jobOpeningId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"jobPostingId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"lastName\": \"<string>\",\n \"phone\": \"<string>\",\n \"resumeFileId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"applied\",\n \"score\": 123,\n \"source\": \"<string>\",\n \"notes\": \"<string>\",\n \"custom\": {},\n \"linkedinUrl\": \"<string>\",\n \"portfolioUrl\": \"<string>\",\n \"whatsappOptIn\": true,\n \"currentTitle\": \"<string>\",\n \"currentCompany\": \"<string>\",\n \"totalExperienceMonths\": 600,\n \"currentLocation\": \"<string>\",\n \"noticePeriodDays\": 182,\n \"currentCtc\": 500000000000,\n \"expectedCtc\": 500000000000,\n \"ctcCurrency\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {}
}Recruitment
Post apiv1applicants
POST
/
api
/
v1
/
applicants
cURL
curl --request POST \
--url https://api.amdital.com/api/v1/applicants \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "<string>",
"email": "jsmith@example.com",
"jobOpeningId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"jobPostingId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastName": "<string>",
"phone": "<string>",
"resumeFileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stage": "applied",
"score": 123,
"source": "<string>",
"notes": "<string>",
"custom": {},
"linkedinUrl": "<string>",
"portfolioUrl": "<string>",
"whatsappOptIn": true,
"currentTitle": "<string>",
"currentCompany": "<string>",
"totalExperienceMonths": 600,
"currentLocation": "<string>",
"noticePeriodDays": 182,
"currentCtc": 500000000000,
"expectedCtc": 500000000000,
"ctcCurrency": "<string>",
"skills": [
"<string>"
]
}
'import requests
url = "https://api.amdital.com/api/v1/applicants"
payload = {
"firstName": "<string>",
"email": "jsmith@example.com",
"jobOpeningId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"jobPostingId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastName": "<string>",
"phone": "<string>",
"resumeFileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stage": "applied",
"score": 123,
"source": "<string>",
"notes": "<string>",
"custom": {},
"linkedinUrl": "<string>",
"portfolioUrl": "<string>",
"whatsappOptIn": True,
"currentTitle": "<string>",
"currentCompany": "<string>",
"totalExperienceMonths": 600,
"currentLocation": "<string>",
"noticePeriodDays": 182,
"currentCtc": 500000000000,
"expectedCtc": 500000000000,
"ctcCurrency": "<string>",
"skills": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
firstName: '<string>',
email: 'jsmith@example.com',
jobOpeningId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
jobPostingId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
lastName: '<string>',
phone: '<string>',
resumeFileId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
stage: 'applied',
score: 123,
source: '<string>',
notes: '<string>',
custom: {},
linkedinUrl: '<string>',
portfolioUrl: '<string>',
whatsappOptIn: true,
currentTitle: '<string>',
currentCompany: '<string>',
totalExperienceMonths: 600,
currentLocation: '<string>',
noticePeriodDays: 182,
currentCtc: 500000000000,
expectedCtc: 500000000000,
ctcCurrency: '<string>',
skills: ['<string>']
})
};
fetch('https://api.amdital.com/api/v1/applicants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.amdital.com/api/v1/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([
'firstName' => '<string>',
'email' => 'jsmith@example.com',
'jobOpeningId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'jobPostingId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'lastName' => '<string>',
'phone' => '<string>',
'resumeFileId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'stage' => 'applied',
'score' => 123,
'source' => '<string>',
'notes' => '<string>',
'custom' => [
],
'linkedinUrl' => '<string>',
'portfolioUrl' => '<string>',
'whatsappOptIn' => true,
'currentTitle' => '<string>',
'currentCompany' => '<string>',
'totalExperienceMonths' => 600,
'currentLocation' => '<string>',
'noticePeriodDays' => 182,
'currentCtc' => 500000000000,
'expectedCtc' => 500000000000,
'ctcCurrency' => '<string>',
'skills' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.amdital.com/api/v1/applicants"
payload := strings.NewReader("{\n \"firstName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"jobOpeningId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"jobPostingId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"lastName\": \"<string>\",\n \"phone\": \"<string>\",\n \"resumeFileId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"applied\",\n \"score\": 123,\n \"source\": \"<string>\",\n \"notes\": \"<string>\",\n \"custom\": {},\n \"linkedinUrl\": \"<string>\",\n \"portfolioUrl\": \"<string>\",\n \"whatsappOptIn\": true,\n \"currentTitle\": \"<string>\",\n \"currentCompany\": \"<string>\",\n \"totalExperienceMonths\": 600,\n \"currentLocation\": \"<string>\",\n \"noticePeriodDays\": 182,\n \"currentCtc\": 500000000000,\n \"expectedCtc\": 500000000000,\n \"ctcCurrency\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.amdital.com/api/v1/applicants")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"firstName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"jobOpeningId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"jobPostingId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"lastName\": \"<string>\",\n \"phone\": \"<string>\",\n \"resumeFileId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"applied\",\n \"score\": 123,\n \"source\": \"<string>\",\n \"notes\": \"<string>\",\n \"custom\": {},\n \"linkedinUrl\": \"<string>\",\n \"portfolioUrl\": \"<string>\",\n \"whatsappOptIn\": true,\n \"currentTitle\": \"<string>\",\n \"currentCompany\": \"<string>\",\n \"totalExperienceMonths\": 600,\n \"currentLocation\": \"<string>\",\n \"noticePeriodDays\": 182,\n \"currentCtc\": 500000000000,\n \"expectedCtc\": 500000000000,\n \"ctcCurrency\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amdital.com/api/v1/applicants")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"firstName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"jobOpeningId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"jobPostingId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"lastName\": \"<string>\",\n \"phone\": \"<string>\",\n \"resumeFileId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"applied\",\n \"score\": 123,\n \"source\": \"<string>\",\n \"notes\": \"<string>\",\n \"custom\": {},\n \"linkedinUrl\": \"<string>\",\n \"portfolioUrl\": \"<string>\",\n \"whatsappOptIn\": true,\n \"currentTitle\": \"<string>\",\n \"currentCompany\": \"<string>\",\n \"totalExperienceMonths\": 600,\n \"currentLocation\": \"<string>\",\n \"noticePeriodDays\": 182,\n \"currentCtc\": 500000000000,\n \"expectedCtc\": 500000000000,\n \"ctcCurrency\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {}
}Authorizations
Body
application/json
Was this page helpful?