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 -
Attribute | Type | Description |
---|---|---|
type | string | value is 'user_tag' |
created_at | timestamp | The time the user tag object was created |
tag | Tag | The tag that was added or removed. |
user | User | The user that was tagged or untagged. |