TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation B2C Features List Pending Subscription Requests

List Pending Subscription Requests

Returns the list of pending B2C subscription requests your company has sent (pendingB2cSubscriptionRequests on /company).

Returns the list of pending B2C subscription requests your company has sent to users. Only requests with status PENDING are returned; accepted, rejected or revoked requests are not included.

The company GraphQL API is accessible at /company

query {
  pendingB2cSubscriptionRequests {
    id
    status
    type
    insertedAt
    respondedAt
    updatedAt
    company {
      id
    }
    user {
      id
    }
    invitedUser {
      id
    }
  }
}

Example response:

{
  "data": {
    "pendingB2cSubscriptionRequests": [
      {
        "company": { "id": "00000000-0000-4000-8000-000000000001" },
        "id": "00000000-0000-4000-8000-000000000002",
        "insertedAt": "2026-01-15T09:00:00",
        "invitedUser": { "id": "00000000-0000-4000-8000-000000000003" },
        "respondedAt": null,
        "status": "PENDING",
        "type": "EMAIL",
        "updatedAt": "2026-01-15T09:00:00",
        "user": { "id": "00000000-0000-4000-8000-000000000004" }
      }
    ]
  }
}

For large lists use the cursor-paginated paginatedPendingB2cSubscriptionRequests query (see Pagination).