Asana · Schema

WebhookCompact

Webhook objects represent the state of an active subscription for a server to be updated with information from Asana. This schema represents the subscription itself, not the objects that are sent to the server. For information on those please refer to the [event](/reference/events) schema.

CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow

Properties

Name Type Description
gid string Globally unique identifier of the resource, as a string.
resource_type string The base type of this resource.
active boolean If true, the webhook will send events - if false it is considered inactive and will not generate events.
resource object
target string The URL to receive the HTTP POST.
View JSON Schema on GitHub

JSON Schema

asana-webhookcompact-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WebhookCompact",
  "title": "WebhookCompact",
  "description": "Webhook objects represent the state of an active subscription for a server to be updated with information from Asana. This schema represents the subscription itself, not the objects that are sent to the server. For information on those please refer to the [event](/reference/events) schema.",
  "type": "object",
  "properties": {
    "gid": {
      "description": "Globally unique identifier of the resource, as a string.",
      "type": "string",
      "readOnly": true,
      "example": "12345",
      "x-insert-after": false
    },
    "resource_type": {
      "description": "The base type of this resource.",
      "type": "string",
      "readOnly": true,
      "example": "webhook",
      "x-insert-after": "gid"
    },
    "active": {
      "description": "If true, the webhook will send events - if false it is considered inactive and will not generate events.",
      "type": "boolean",
      "readOnly": true,
      "example": false
    },
    "resource": {
      "$ref": "#/components/schemas/AsanaNamedResource"
    },
    "target": {
      "description": "The URL to receive the HTTP POST.",
      "type": "string",
      "format": "uri",
      "readOnly": true,
      "example": "https://example.com/receive-webhook/7654"
    }
  }
}