Subscribe to Webhooks

To subscribe to webhooks for all businesses a Biz Owner has access to
send an authenticated
POST request to the https://api.yelp.com/v3/webhooks.

Note: Currently only leads_event webhooks
are supported (NEW_EVENT, CONSUMER_PHONE_NUMBER_OPT_IN_EVENT, CONSUMER_PHONE_NUMBER_OPT_OUT_EVENT).

A webhook subscription will have a default expiration date of 14 days.
To ensure no loss of data, it is recommended you unsubscribe and subscribe again
at least an hour before the expiration date and time.

Form Data
uri
required

The URL to which the webhook events will be sent.

string
enum
required

The type of webhook event to subscribe to.

Allowed:
restricted_business_ids
array of strings
length ≤ 50

An optional list of business IDs to restrict the webhook subscription to. If not provided, the webhook will be subscribed to events for all businesses the Biz Owner has access to.
The maximum limit is 50 items.

restricted_business_ids
Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json