POST
/
v1
/
invitations
/
batch
/
get-many
TypeScript client
import { TxAgentKitClient } from '@tx-agent-kit/sdk'

const client = new TxAgentKitClient({
  token: process.env.TX_AGENT_KIT_TOKEN
})

const response = await client.organizations.getManyInvitations({
  body: {},
})
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "<string>",
      "invitedByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "expiresAt": "<string>",
      "revokedAt": "<string>",
      "revokedByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "<string>"
    }
  ]
}

Body

application/json
ids
string<uuid>[]
required

a Universally Unique Identifier

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response

Success

data
object[]
required