# WebhooksByAppIdSubscriptionsAndSubscriptionId Read an event subscription Retrieve a specific event subscription by ID. - Catalog: `Webhooks` - Schema: `Basic` This is a read-only table function. The HubSpot API may not support changing the data or the Invantive UniversalSQL driver for HubSpot does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the HubSpot API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `WebhooksByAppIdSubscriptionsAndSubscriptionId`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `appId` | `` | ☑ | | The ID of the target app. | | `subscriptionId` | `` | ☑ | | The ID of the target subscription. | ## Columns of Table Function The columns of the table function `WebhooksByAppIdSubscriptionsAndSubscriptionId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `active` | `char` | Active | ☐ | Whether the subscription is active or paused. If true, the subscription will send webhook notifications. If false, the subscription is paused and will not send notifications. | | `createdAt` | `datetime` | Created at | ☐ | The timestamp when the webhook subscription was created, in ISO 8601 format (e.g., 2020-02-29T12:30:00Z). | | `eventType` | `varchar2` | Event Type | ☐ | The type of event to listen for. Accepted values include contact.creation, contact.deletion, contact.propertyChange, and similar event types for other CRM objects and custom objects. | | `eventTypeName` | `varchar2` | | ☐ | The name of the event to listen for. This is used with custom objects to specify custom event types beyond the standard eventType enum values. | | `id` | `varchar2` | ID | ☐ | The unique ID of the webhook subscription. | | `objectTypeId` | `varchar2` | Ojbect Type ID | ☐ | The ID of the object type for the subscription. This can be a standard CRM object (e.g., 'contact', 'company', 'deal') or a custom object ID for custom object subscriptions. | | `propertyName` | `varchar2` | Property Name | ☐ | The internal name of the property to monitor for changes. Only applies when eventType is propertyChange. | | `updatedAt` | `datetime` | Updated at | ☐ | The timestamp when the webhook subscription was last updated, in ISO 8601 format (e.g., 2020-02-29T12:30:00Z). |