This API can be used to check if the number of allowed attendees limit for the event has been reached or not. For In-person events, this API will always return false as we are not restricting the users to checked-in.
This will return true if the event is in draft mode (PREVIEW) with 25 unique attendees checked-in or if it's a event with a Free plan that has reached the plan allowed attendee limit.
Here is the description of Error Codes.
|Response Status Code||Error code||Description|
|401||4010101||You are not authorized to access this.|
|404||Request path not found|
|405||Request method not supported|