client.account_activity (AccountActivityClient).
Methods
create_subscription
POST /2/account_activity/webhooks/{webhook_id}/subscriptions/all
Create Subscription
Creates an Account Activity subscription for the user and the given webhook.
Parameters
Returns:CreateSubscriptionResponse
delete_subscription
DELETE /2/account_activity/webhooks/{webhook_id}/subscriptions/{user_id}/all
Delete Subscription
Deletes an Account Activity subscription for the given webhook and user ID.
Parameters
Returns:DeleteSubscriptionResponse
get_subscription_count
GET /2/account_activity/subscriptions/count
Get Subscription Count
Retrieves a count of currently active Account Activity subscriptions.
GetSubscriptionCountResponse
get_subscriptions
GET /2/account_activity/webhooks/{webhook_id}/subscriptions/all/list
Get Subscriptions
Retrieves a list of all active subscriptions for a given webhook.
Parameters
Returns:GetSubscriptionsResponse
validate_subscription
GET /2/account_activity/webhooks/{webhook_id}/subscriptions/all
Validate Subscription
Checks a user’s Account Activity subscription for a given webhook.
Parameters
Returns:ValidateSubscriptionResponse