Endpoints
/api/extension/token#
DELETE/api/extension/tokenRequires authentication
DEL/api/extension/token
curl --request DELETE \
--url 'https://addcal.co/api/extension/token' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Accept: application/json'/api/events/extract#
POST/api/events/extractRequires authentication
Body Parameters
textrequired
Must be at least 10 characters. Must not be greater than 8000 characters.
timezone
Must be a valid time zone, such as Africa/Accra.
POST/api/events/extract
curl --request POST \
--url 'https://addcal.co/api/events/extract' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"text": "bdmc",
"timezone": "Europe/Lisbon"
}'