Welcome
Landing’s API allows you to build powerful integrations using OAuth 2.0 for authentication and webhooks for real-time event notifications.Authentication
All API endpoints are authenticated using Bearer tokens and picked up from the specification file.OAuth 2.0 Integration
Landing supports OAuth 2.0 for secure third-party integrations, with optional PKCE (Proof Key for Code Exchange) support. The authentication process involves several steps:- Create an OAuth Application
- Redirect Users to Authorization
- Handle the Authorization Response
- Exchange Code for Access Token
- Make API Requests
- Refresh Access Token
Webhooks
Landing provides webhooks to notify your application about real-time events. Currently supported events:lead.created
- Triggered when a new lead is created. Requires all available scopes (project.read
,pages.read
,leads.read
, anduser.read
).
Setting Up Webhooks
Once authenticated via OAuth 2.0, you can create webhooks to receive event notifications using our webhook endpoints: Webhooks will send POST requests to your specified URL with event data in JSON format. Example webhook payload forlead.created
: