Snag Docs logo

Connect a user to User Group

This endpoint allows you to connect a user to a user group

POSThttps://admin.snagsolutions.io/api/users/connect

This endpoint allows you to connect a user to a user group

Loading code example
Loading code example

Authorizations

apiKeyAuthstringheaderrequired

API key passed in the header.

Body

Body

websiteIdstring<uuid>required

The ID of the website

organizationIdstring<uuid>required

The ID of the organization

walletType"evm" | "solana" | "imx" | "sui" | "ton" | "cosmos" | "ultra" | "agw" | "flow_cadence" | "substrate"required
Allowed values: "evm" | "solana" | "imx" | "sui" | "ton" | "cosmos" | "ultra" | "agw" | "flow_cadence" | "substrate"
walletAddressstringrequired

The wallet address of the user

verificationDataobject

The verification data of the user walletAddress

verificationData.messagestring
verificationData.signaturestring
verificationData.tonVerificationobject
verificationData.accessTokenstring
verificationData.dynamicAuthTokenstring
verificationData.verifiedLocallyboolean
userIdstring<uuid>

The ID of the user to whome this wallet is being connected

confirmDisconnectboolean

Whether to confirm the disconnect

Response

application/json

200

walletAddressstringrequired

The wallet address of the user

idstring<uuid>required

The ID of the user

createdAtstring<date-time>required

Timestamp when the user was created

updatedAtstring<date-time>required

Timestamp when the user was last updated