``GET search/?q=&limit=``: event types for the platform's Ctrl K palette.
Matches event type name (then description) within the workspaces the caller can see, exactly the set the app's own event-type gallery draws from (every event type in a workspace, whoever owns it). Bookings have no page of their own, so they are not returned. Rows carry path to the event type's edit page. Missing org is 403; q under two characters returns empty data with no query run.
URL
- User APIhttps://calendar.mattering.io/api/user/v1/search/
- Service tierhttps://calendar.mattering.io/api/internal/v1/search/
Query parameters
| Name | Default |
|---|---|
limit | none |
q | none |
Responses
200 data and meta envelope
{
"data": [],
"meta": {
"query": "...",
"count": 0
}
}
Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).
Errors
| Status | Code |
|---|---|
| 401 | missing_identity |
| 401 | unauthorized |
| 403 | org_unresolved |
Example
curl -X GET "https://calendar.mattering.io/api/user/v1/search/?limit=...&q=..." \ -H "Authorization: Bearer $MATTERING_API_KEY"
curl -X GET "https://calendar.mattering.io/api/internal/v1/search/?limit=...&q=..." \ -H "X-Internal-Secret: $MATTERING_INTERNAL_API_SECRET" \ -H "X-Internal-Org-Id: $ORG_ID" \ -H "X-Internal-User-Email: you@example.com"
Source: CalendarCore/internal_api.py (internal_api.search)