# includeInvitationPending on POST /v2/members/search stops working

Calls to POST /v2/members/search, body parameter data.includeInvitationPending on Productboard API stopped working on April 14, 2026.

On April 14, 2026, the body parameter data.includeInvitationPending was removed from POST /v2/members/search. Calls using this legacy flat property in the request body fail since that day. The endpoint removed deprecated flat properties in favor of structured objects.

## What to use instead

Send member filters using structured data.filter, data.search, and data.return objects instead. Specifically, pass data.return.includeInvitationPending alongside other structured properties like data.filter.id, data.filter.fields.*, data.search.query, and data.return.includeDisabled.

- API: Productboard API (api.productboard.com)
- Kind: Parameter removal
- Announced: April 7, 2026
- Takes effect: April 14, 2026
- Calls after that day: fail
- Calls it hits: `POST /v2/members/search`, `body parameter data.includeInvitationPending`
- Source: [Announcement](https://developer.productboard.com/changelog/2026-04-14)
- Verified: November 6, 2026, against Productboard API's own pages
- Page: https://www.okapi.bot/providers/productboard-api/breaking-changes/includeinvitationpending-on-post-v2-members-search-stops-working/

## Productboard API's words

> Removed deprecated legacy flat properties ( ids, emails, roles, includeDisabled, includeInvitationPending, query) from the request body. Use the structured filter, search, and return objects instead

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
