Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

View User

POST {api-url}/viewUser?ns={community}

View a user in the specified community.

FieldTypeRequirementDescription
UsernameStringRequiredA unique username that acts as your user’s identifier.
MetadataStringOptionalAny other detail that the merchant wishes to store on this transaction.
{
"Username": "27648302057",
"Metadata": "{\"ActorUserIDs\": \"547828938941114\"}"
}
Terminal window
curl -X POST '{api-url}/viewUser?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"Username":"27648302057","Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'