Cockatoo Calls API
Create meetings from your own software and get told when they start and end.
Authentication
Send your API key in the Authorization header. Keys are created under API and webhooks in your account and need a plan with API access.
Authorization: Bearer cc_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Base URL: https://www.cockatoocalls.com/api/v1. Requests and responses are JSON. Limit: 120 requests per minute per key.
Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /account | Your account and current plan limits |
| GET | /meetings | List meetings. Filters: status, page, per_page |
| POST | /meetings | Create a meeting |
| GET | /meetings/{code} | Get one meeting |
| PATCH | /meetings/{code} | Change title, type, time or passcode |
| POST | /meetings/{code}/end | End the meeting for everyone |
| GET | /meetings/{code}/participants | Who joined, and when |
| DELETE | /meetings/{code} | Delete a meeting |
| GET | /plans | Public list of plans and prices (no key needed) |
Create a meeting
curl -X POST https://www.cockatoocalls.com/api/v1/meetings \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{
"title": "Client demo",
"type": "video", // "video" or "audio"
"scheduled_at": "2026-12-01T10:30:00", // optional, in your account time zone
"duration_minutes": 45, // optional
"passcode": "4821" // optional
}'
{
"data": {
"id": 42, "code": "abc-defg-hij", "title": "Client demo", "type": "video",
"status": "scheduled", "passcode": "4821",
"join_url": "https://www.cockatoocalls.com/j/abc-defg-hij",
"scheduled_at": "2026-12-01T05:00:00+00:00", "duration_minutes": 45
}
}
Send people to join_url, or open it inside your own page or app. Guests type their name and join; they do not need an account.
Webhooks
Save an HTTPS address in your account and we send a POST for meeting.created (API-created meetings), meeting.started and meeting.ended.
{ "event": "meeting.ended", "sent_at": "2026-12-01T05:46:10+00:00", "meeting": { "code": "abc-defg-hij", "status": "ended", ... } }
Each request carries X-Cockatoo-Signature: the HMAC-SHA256 of the raw request body using your webhook secret. Compare it before trusting the request.
$expected = hash_hmac('sha256', $rawBody, $webhookSecret);
if (! hash_equals($expected, $_SERVER['HTTP_X_COCKATOO_SIGNATURE'])) { http_response_code(400); exit; }
Errors
Errors return a JSON body with error and message. 401 missing or invalid key, 403 plan has no API access, 404 not found, 422 validation failed, 429 too many requests.