Webhooks

Webhooks allows you to integrate Cubicl with other applications. Cubicl notifies the webhook URL you added each time the type of action you chose happens.

  • When client is created,

  • When client is deleted,

  • When task is created,

  • When task is updated,

  • When task is deleted,

  • When post is created in task,

  • When task state is changed,

  • When task is archived,

  • When the task is restored, the URL you added will be notified.

To add webhooks to Cubicl, first click on Others in the Navigation Menu, then the Integration button. In the page that opens, you can add your webhook URLs related to the specified actions in the Webhook Settings table. If you're using applications like Zapier, Pabbly Connect, etc., paste the link you get from these platforms into the URL field. If you're integrating into your own system, provide a URL from your system.

After you've added the URL, select the type of action from the list that will trigger the notification. If it's a task-related action, you must also associate it with a project. Once this is done, click save to create a record of the webhook for the selected action type. Cubicl will then notify this URL each time the chosen action occurs.

Endpoints

Another way of creating and interacting with webhooks is using our API.

Get Webhooks

GET https://cubicl.io/api/v1/users/self/webhook

Returns webhook records related to the currently authenticated user.

Create Webhook

POST https://cubicl.io/api/v1/users/self/webhook

Request Body

Name
Type
Description

group

string

When a webhook type related to tasks is selected, a project id must be entered.

type*

WebhookType

The type of event that will trigger the webhook. This must be one of the predefined event types that your system supports.

url*

string

The URL to which the webhook events will be sent. This must be a valid URL, and the endpoint should be prepared to accept the payloads for the events it's subscribed to.

Update Webhook

PUT https://cubicl.io/api/v1/users/self/webhook/:id

Updates a webhook with given details. All details are optional. Only given fields are updated.

Path Parameters

Name
Type
Description

id*

string

Webhook id

Request Body

Name
Type
Description

group

string

When a webhook type related to tasks is selected, a project id must be entered.

type

WebhookType

The type of event that will trigger the webhook. This must be one of the predefined event types that your system supports.

url

string

The URL to which the webhook events will be sent. This must be a valid URL, and the endpoint should be prepared to accept the payloads for the events it's subscribed to.

Delete Webhook

DELETE https://cubicl.io/api/v1/users/self/webhook/:id

Deletes the webhook with given id.

Path Parameters

Name
Type
Description

id*

string

Webhook id

Webhook Formats

When Task is Updated

When Post is Created in Task

When Task State is Changed

When Task is Created, Deleted, Archived or Restored

When Client is Created or Deleted

Data

Webhook

Webhook Type

Task

Task Activity

Task State

Client

Contacts

Task Steps

Tag

User

Portal User

Email User

Organization

Project

Custom Task Field

Last updated

Was this helpful?