UserMapRequest is a JSON Structure definition published by Amplitude, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amplitude/refs/heads/main/json-structure/user-mapping-api-user-map-request-structure.json",
"name": "UserMapRequest",
"description": "UserMapRequest schema from Amplitude User Mapping API",
"type": "object",
"properties": {
"mapping": {
"type": "array",
"description": "An array of user mapping objects, each mapping a global_user_id to one or more user_ids.",
"items": {
"type": "object",
"required": [
"global_user_id",
"user_id"
],
"properties": {
"global_user_id": {
"type": "string",
"description": "The primary user ID that other identities will be mapped to."
},
"user_id": {
"type": "string",
"description": "The user ID to map to the global_user_id."
},
"unmap": {
"type": "boolean",
"description": "When true, removes the mapping instead of creating it."
}
}
}
}
},
"required": [
"mapping"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.