Create contact task
curl --request POST \
--url https://my.jobin.cloud/api/openapi/v1/contacts/{contactId}/tasks \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"title": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>'})
};
fetch('https://my.jobin.cloud/api/openapi/v1/contacts/{contactId}/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.jobin.cloud/api/openapi/v1/contacts/{contactId}/tasks"
payload = { "title": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)$headers=@{}
$headers.Add("x-api-key", "<api-key>")
$headers.Add("Content-Type", "application/json")
$response = Invoke-WebRequest -Uri 'https://my.jobin.cloud/api/openapi/v1/contacts/{contactId}/tasks' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
"title": "<string>"
}'{
"id": "<string>",
"title": "<string>",
"type": "task",
"done": true,
"contactId": "<string>",
"date": "<string>",
"time": "<string>",
"description": "<string>",
"links": [
"<string>"
],
"location": "<string>",
"phoneNumber": "<string>",
"meetingLink": "<string>",
"flagged": true,
"outcome": "<string>",
"priority": "low",
"assigneeId": "<string>",
"candidateIds": [
"<string>"
],
"queueId": "<string>",
"jobspecId": "<string>",
"pipelineId": "<string>",
"stageName": "<string>",
"subStageName": "<string>",
"reminderEnabled": true,
"reminderMinutesBefore": 123,
"source": "<string>",
"readOnly": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "<string>",
"retryAfterSeconds": 123
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}Contacts
Create contact task
Create an actionable task or call for a contact.
POST
/
contacts
/
{contactId}
/
tasks
Create contact task
curl --request POST \
--url https://my.jobin.cloud/api/openapi/v1/contacts/{contactId}/tasks \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"title": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>'})
};
fetch('https://my.jobin.cloud/api/openapi/v1/contacts/{contactId}/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.jobin.cloud/api/openapi/v1/contacts/{contactId}/tasks"
payload = { "title": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)$headers=@{}
$headers.Add("x-api-key", "<api-key>")
$headers.Add("Content-Type", "application/json")
$response = Invoke-WebRequest -Uri 'https://my.jobin.cloud/api/openapi/v1/contacts/{contactId}/tasks' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
"title": "<string>"
}'{
"id": "<string>",
"title": "<string>",
"type": "task",
"done": true,
"contactId": "<string>",
"date": "<string>",
"time": "<string>",
"description": "<string>",
"links": [
"<string>"
],
"location": "<string>",
"phoneNumber": "<string>",
"meetingLink": "<string>",
"flagged": true,
"outcome": "<string>",
"priority": "low",
"assigneeId": "<string>",
"candidateIds": [
"<string>"
],
"queueId": "<string>",
"jobspecId": "<string>",
"pipelineId": "<string>",
"stageName": "<string>",
"subStageName": "<string>",
"reminderEnabled": true,
"reminderMinutesBefore": 123,
"source": "<string>",
"readOnly": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "<string>",
"retryAfterSeconds": 123
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}{
"code": "UNHANDLED_EXCEPTION",
"error": "Unexpected error"
}Create a task or call for the contact identified in the path. Set
type to task or call.
Any supplied Job, pipeline or queue ID must exist in the authenticated workgroup. An unavailable reference is rejected before the task is created.
Rate limit: 30 requests/minute per endpoint and workgroup. Details.Authorizations
Body
application/json
Create a task or call. Text values are trimmed and must be nonempty.
Response
Created contact task.
A native Jobin task associated with a contact.
