Skip to main content
POST
/
api
/
public
/
tasks
Create a new task
curl --request POST \
  --url https://api.vambe.me/api/public/tasks \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "dueDate": "<string>",
  "dueTime": "<string>",
  "timezone": "<string>",
  "responsibleIds": [
    "<string>"
  ],
  "aiContactId": "<string>",
  "aiCustomerId": "<string>"
}
'
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
dueDate: '<string>',
dueTime: '<string>',
timezone: '<string>',
responsibleIds: ['<string>'],
aiContactId: '<string>',
aiCustomerId: '<string>'
})
};

fetch('https://api.vambe.me/api/public/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.vambe.me/api/public/tasks"

payload = {
"title": "<string>",
"description": "<string>",
"dueDate": "<string>",
"dueTime": "<string>",
"timezone": "<string>",
"responsibleIds": ["<string>"],
"aiContactId": "<string>",
"aiCustomerId": "<string>"
}
headers = {"Content-Type": "application/json"}

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

print(response.text)
{}
{}

Body

application/json
title
string
required
Minimum string length: 1
description
string | null
required
dueDate
string | null
required
dueTime
string | null
required
timezone
string | null
required
responsibleIds
string[]
required
aiContactId
string | null
required
aiCustomerId
string | null
required
priority
enum<string>
required
Available options:
0,
1,
2
associateToCalendar
boolean
default:false

Response

Task created successfully

The response is of type object.