Webhook Models

The API defines some data models specific to webhooks.

User Tag Object

Example User Tag Object

{
  "type": "user_tag",
  "created_at": 1392731331,
  "tag" : {
      "id": "17513",
      "name": "independent",
      "type": "tag"
    },
  "user" : {
      "type": "user",
      "id": "530370b477ad7120001d",
      "user_id": "25"
  }
}

A user tag is composed from the existing user and tag JSON and is sent when users are tagged and untagged via the user.tag.created and user.tag.deleted topics -

AttributeTypeDescription
typestringvalue is 'user_tag'
created_attimestampThe time the user tag object was created
tagTagThe tag that was added or removed.
userUserThe user that was tagged or untagged.