Send an approval link again
curl --request POST \
--url https://hiresweep.com/api/openapi/approvals/{id}/resend \
--header 'x-api-key: <api-key>'import requests
url = "https://hiresweep.com/api/openapi/approvals/{id}/resend"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://hiresweep.com/api/openapi/approvals/{id}/resend', 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://hiresweep.com/api/openapi/approvals/{id}/resend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://hiresweep.com/api/openapi/approvals/{id}/resend"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://hiresweep.com/api/openapi/approvals/{id}/resend")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hiresweep.com/api/openapi/approvals/{id}/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"request": {
"id": "<string>",
"clientId": "<string>",
"applicationId": "<string>",
"kind": "submission",
"status": "pending",
"snapshot": {
"job": {
"title": "<string>",
"company": "<string>",
"url": "<string>",
"location": "<string>"
},
"resume": {
"id": "<string>",
"name": "<string>",
"digest": "<string>"
},
"facts": {
"location": "<string>",
"workAuthorization": "<string>",
"requiresSponsorship": true,
"salaryExpectation": "<string>",
"noticePeriod": "<string>"
},
"answers": [
{
"question": "<string>",
"answer": "<string>"
}
],
"answersDigest": "<string>",
"changes": [
{
"kind": "headline",
"label": "<string>",
"before": "<string>",
"after": "<string>",
"reason": "<string>"
}
],
"refused": [
{
"kind": "headline",
"label": "<string>",
"reason": "<string>"
}
],
"matchScore": 50
},
"clientComment": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"decidedAt": "2023-11-07T05:31:56Z",
"seenAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"url": "<string>"
},
"url": "<string>",
"emailed": true
}Clients
Send an approval link again
Emails a waiting request’s link to the client again and gives it a fresh seven days. A request that was decided or ran out cannot be resent; ask for a new one. Requires authentication.
POST
/
approvals
/
{id}
/
resend
Send an approval link again
curl --request POST \
--url https://hiresweep.com/api/openapi/approvals/{id}/resend \
--header 'x-api-key: <api-key>'import requests
url = "https://hiresweep.com/api/openapi/approvals/{id}/resend"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://hiresweep.com/api/openapi/approvals/{id}/resend', 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://hiresweep.com/api/openapi/approvals/{id}/resend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://hiresweep.com/api/openapi/approvals/{id}/resend"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://hiresweep.com/api/openapi/approvals/{id}/resend")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hiresweep.com/api/openapi/approvals/{id}/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"request": {
"id": "<string>",
"clientId": "<string>",
"applicationId": "<string>",
"kind": "submission",
"status": "pending",
"snapshot": {
"job": {
"title": "<string>",
"company": "<string>",
"url": "<string>",
"location": "<string>"
},
"resume": {
"id": "<string>",
"name": "<string>",
"digest": "<string>"
},
"facts": {
"location": "<string>",
"workAuthorization": "<string>",
"requiresSponsorship": true,
"salaryExpectation": "<string>",
"noticePeriod": "<string>"
},
"answers": [
{
"question": "<string>",
"answer": "<string>"
}
],
"answersDigest": "<string>",
"changes": [
{
"kind": "headline",
"label": "<string>",
"before": "<string>",
"after": "<string>",
"reason": "<string>"
}
],
"refused": [
{
"kind": "headline",
"label": "<string>",
"reason": "<string>"
}
],
"matchScore": 50
},
"clientComment": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"decidedAt": "2023-11-07T05:31:56Z",
"seenAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"url": "<string>"
},
"url": "<string>",
"emailed": true
}Authorizations
An API key from Settings → Developers → API keys in Hiresweep.
Path Parameters
Minimum string length:
1