Parameters
Field | Type | Required | Description |
|
| β | Must be |
|
| β | MD5 hash of the email address (32 hex chars) |
|
| β | Plaintext email address (will be normalized and hashed) |
Pass either md5 or email.
Request
curl --request POST \
--url https://app.moltsets.com/mcp/ \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "hem_to_maid",
"arguments": {
"md5": "5d41402abc4b2a76b9719d91101XXXXX", // or email
"email": "john-smith-123@example.com" // or md5
}
}
}'
Response
{
"jsonrpc": "2.0",
"id": null,
"result": {
"content": [
{
"type": "text",
"text": "{\"results\":[{\"device_id\":\"b8c747bb-96c5-453f-b770-9d64889XXXXX\",\"device_type\":\"AAID\"},{\"device_id\":\"3daa5b91-0699-4cf0-a75a-af5231XXXXX\",\"device_type\":\"AAID\"},{\"device_id\":\"4859b5f2-a49c-4b02-9ca5-9a2216XXXXX\",\"device_type\":\"AAID\"},{\"device_id\":\"0ca4f1c0-50eb-467e-82c4-bd6d7b6XXXXX\",\"device_type\":\"AAID\"},{\"device_id\":\"a4a8b1f4-8a75-4d1f-838d-ff05692XXXXX\",\"device_type\":\"AAID\"}]}"
}
],
"isError": false
}
}