get_pending_cohost_request_for_event
Check for a pending cohost invitation on a Partiful event by event ID. Returns the invitation details or null if none exists.
Instructions
Get the pending cohost invitation for a Partiful event by ID, if the current user has one outstanding. Returns pendingCohostRequest, the invitation record's fields (id, event, inviter, status), or null if none is pending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Dot-path field names to include in the response. Omit to return all fields. Available fields: pendingCohostRequest, pendingCohostRequest.createdAt, pendingCohostRequest.eventId, pendingCohostRequest.id, pendingCohostRequest.inviterId, pendingCohostRequest.status | |
| event_id | Yes | The Partiful event ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pendingCohostRequest | No |