Internal
Batch lookup users by email or id (internal)
Returns matching users for the supplied emails OR user_ids (mutually exclusive). Capped at 100 entries per call.
post/v1/users/lookup
Request
- Base URLhttps://identity-api.paymongo.com
- URLhttps://identity-api.paymongo.com/v1/users/lookup
- AuthAPI key in header X-Internal-Api-Key
Request body
Example request
{
"emails": [
"alice@example.com"
],
"user_ids": [
"42"
]
}Response
OK
Example response
{
"data": {
"users": [
{
"email": "alice@example.com",
"organization_id": "org_123",
"user_id": "42"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.