# listPendingPartnershipInvites

List the partnership invitations OTHER organizations have sent you that are still waiting on your answer (awaitingCurrentOrgResponse is always true here). Each row's partnerOrg.id is the partnerOrgId to pass to acceptPartnershipInvite or rejectPartnershipInvite. Invitations YOUR organization sent and is waiting on are not here: they appear in listPartnerships with status PENDING and awaitingCurrentOrgResponse false.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listPendingPartnershipInvites", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

None.

## Response (data, an example)

```json
{
  "orgPartnershipQuery": {
    "pendingInvitationsForCurrentOrg": [
      {
        "id": "<ID>",
        "status": "PENDING",
        "direction": "SEND_ONLY",
        "awaitingCurrentOrgResponse": true,
        "partnerOrg": {
          "id": "<ID>",
          "name": "…"
        },
        "permittedUserIds": [
          "<ID>"
        ],
        "createdAt": "2026-01-01T00:00:00.000Z",
        "updatedAt": "2026-01-01T00:00:00.000Z"
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listPendingPartnershipInvites",
    "variables": {}
  }'
```
