Add docs for API and webhooks