GET_PROFILES
The GET_PROFILES handler retrieves user profiles based on a list of provided addresses.
Interaction Format
To interact with this handler, use the following format:
Send({
Target = "target_process_id",
Action = "GET_PROFILES",
Tags = {
addresses = "[\"address1\", \"address2\", ...]"
}
})
Input Parameters
Field
Type
Required
Description
address
String
Yes
A JSON-encoded array of addresses to query.
Validations
addresses: Must be a valid JSON array.
The number of addresses must not exceed 100.
Response Format
Success
{
"status": "success",
"data": {
"address1": user_profile_object,
"address2": user_profile_object,
...
}
}
Error
{
"status": "error",
"message": "Addresses list is required"
}
{
"status": "error",
"message": "Invalid JSON format for addresses. Expected format: [\"address1\", \"address2\"]"
}
{
"status": "error",
"message": "Cannot query more than 100 addresses"
}
Last updated