Amplitude · Schema

AttributionEvent

A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

Properties

Name Type Description
user_id string The user ID to attribute the campaign event to. Required unless device_id is present.
device_id string The device ID. Required unless user_id is present.
event_type string The type of attribution event, typically a campaign-related event such as install or re-engage.
platform string The platform of the device, such as iOS or Android.
os_name string The operating system name.
os_version string The operating system version.
device_brand string The brand of the device.
device_manufacturer string The manufacturer of the device.
device_model string The model of the device.
carrier string The carrier of the device.
country string The country of the user.
region string The region or state of the user.
city string The city of the user.
language string The language setting of the user.
adid string The Google Play Services advertising ID (Android).
idfa string The Identifier for Advertiser (iOS).
idfv string The Identifier for Vendor (iOS).
user_properties object User property operations to set alongside the attribution event. Typically used to set campaign-related properties like utm_source, utm_medium, utm_campaign, utm_term, and utm_content.
event_properties object Additional properties associated with the attribution event such as campaign name, ad group, ad creative, and network.
time integer The timestamp of the event in milliseconds since epoch.
View JSON Schema on GitHub

JSON Schema

amplitude-attributionevent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AttributionEvent",
  "title": "AttributionEvent",
  "type": "object",
  "required": [
    "event_type"
  ],
  "properties": {
    "user_id": {
      "type": "string",
      "description": "The user ID to attribute the campaign event to. Required unless device_id is present."
    },
    "device_id": {
      "type": "string",
      "description": "The device ID. Required unless user_id is present."
    },
    "event_type": {
      "type": "string",
      "description": "The type of attribution event, typically a campaign-related event such as install or re-engage."
    },
    "platform": {
      "type": "string",
      "description": "The platform of the device, such as iOS or Android."
    },
    "os_name": {
      "type": "string",
      "description": "The operating system name."
    },
    "os_version": {
      "type": "string",
      "description": "The operating system version."
    },
    "device_brand": {
      "type": "string",
      "description": "The brand of the device."
    },
    "device_manufacturer": {
      "type": "string",
      "description": "The manufacturer of the device."
    },
    "device_model": {
      "type": "string",
      "description": "The model of the device."
    },
    "carrier": {
      "type": "string",
      "description": "The carrier of the device."
    },
    "country": {
      "type": "string",
      "description": "The country of the user."
    },
    "region": {
      "type": "string",
      "description": "The region or state of the user."
    },
    "city": {
      "type": "string",
      "description": "The city of the user."
    },
    "language": {
      "type": "string",
      "description": "The language setting of the user."
    },
    "adid": {
      "type": "string",
      "description": "The Google Play Services advertising ID (Android)."
    },
    "idfa": {
      "type": "string",
      "description": "The Identifier for Advertiser (iOS)."
    },
    "idfv": {
      "type": "string",
      "description": "The Identifier for Vendor (iOS)."
    },
    "user_properties": {
      "type": "object",
      "description": "User property operations to set alongside the attribution event. Typically used to set campaign-related properties like utm_source, utm_medium, utm_campaign, utm_term, and utm_content.",
      "additionalProperties": true
    },
    "event_properties": {
      "type": "object",
      "description": "Additional properties associated with the attribution event such as campaign name, ad group, ad creative, and network.",
      "additionalProperties": true
    },
    "time": {
      "type": "integer",
      "format": "int64",
      "description": "The timestamp of the event in milliseconds since epoch."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amplitude-attributionevent"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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.

A second provider on the same verified email joins the account you already have.