Webhook for Task object

Hey there, While setup webhook, I noticed that subscriptionType for task webhook is object.PropertyChanged instead of task.PropertyChanged. Check below screenshot.

So, the question is that in Generic webhook, how can I identify that the record changes are from particular object? Let’s I create generic webhook where I want to get details regarding Task creation and deletion and property chnages, how can I identify that subscriptionType is Task and not other object such as Company or Contact?

Hey @teja21,

You can use the “objectTypeId” to identify what type of object it is. The full ist can be found here. Or below:

  • Contacts: 0-1
  • Companies: 0-2
  • Deals: 0-3
  • Tickets: 0-5
  • Custom objects: to find the ID value for your custom object, make a GET request to /crm/v3/schemas. The value will look similar to 2-3453932.
  • Calls: 0-48
  • Emails: 0-49
  • Meetings: 0-47
  • Notes: 0-46
  • Tasks: 0-27
  • Products: 0-7
  • Invoices: 0-52
  • Line items: 0-8
  • Payments: 0-101
  • Quotes: 0-14
  • Subscriptions: 0-69
  • Communications (SMS, LinkedIn, WhatsApp messages): 0-18
  • Postal mail: 0-116
  • Marketing events: 0-54
  • Feedback submissions: 0-19