Mark Lead Event as read

Mark an existing lead event and all events before that as read.

Example:
To mark all events before and including the event ID "NJJQvyxvpk87NUpsm2y5Yw" as read at "2022-07-21T20:54:42+00:00", in the lead with the ID "loPSlzp6M628rzyCRPqrv3tC", send an authenticated POST request to the URL:
https://api.yelp.com/v3/leads/loPSlzp6M628rzyCRPqrv3tC/events/mark_as_read with the following request body:

{
    "event_id": "NJJQvyxvpk87NUpsm2y5Yw",
    "time_read": "2022-07-21T20:54:42+00:00"
}

For the above request, a successful POST call will return a 201 created response.

📘

This endpoint is part of the Leads API, visit Leads API to learn more.

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!