service_hooks
Activate Notion
Completes the Notion OAuth flow. Team-scoped, NOT app-scoped -- Flask's own route has no app_id segment at all (design spec §5.2); looks the pending row up by its unique state (including soft-deleted rows), so the app is derived from the row itself, not from the URL. Exchanges the code via HTTP Basic Auth. Bulk-deactivates any other active Notion row for the SAME app (the row's own app_id) before activating this one.
post/api/1.0/service_hooks/{team_id}/notion/activate
Request
- Base URL: https://api.shakebugs.com (the document declares no server; this is the origin it was published from)
- URL: https://api.shakebugs.com/api/1.0/service_hooks/{team_id}/notion/activate
- Auth: HTTP bearer
Path parameters
team_idstring uuid required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.