POST
/
v1
/
invitations
/
{token}
/
accept
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.acceptInvitation({
  token: process.env.TX_AGENT_KIT_TOKEN ?? "token",
})
{
  "accepted": true
}

Path Parameters

token
string
required

Response

Success

accepted
boolean
required