Implement the profiles.added
webhook to know when a profile object is updated.
Profiles objects are updated through periodic scanning.
Event
profiles.updated
Payload
Attribute | Type | Description |
---|---|---|
account | string uuid | ID of the account the profile was updated for. |
user | string uuid | ID of the user the account belongs to. |
profile | string uuid | ID of the profile object that was updated. |
Examples
curl -X POST https://api.argyle.com/v1/webhooks \
-u api_key_id:api_key_secret \
-H "Content-Type: application/json" \
-d '{"events": ["profiles.updated"],
"secret": "<secret for signature verification>",
"name": "profiles.updated",
"url": "https://webhook.site/url"}'
{
"event": "profiles.updated",
"name": "A profile was updated",
"data": {
"account": "ada143be-3c90-4534-b7ea-9899674dc6e0",
"user": "3823026e-a964-45f6-b201-6b8c096b30d3",
"profile": "4334r6e-a964-45eef6-b201-64464"
}
}