For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks

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

The URL you added will be notified:

  • When a client is created

  • When a client is updated

  • When a client is deleted

  • When a task is created

  • When a task is updated

  • When a task is deleted

  • When a post is created on a task

  • When a task state is changed

  • When a task is archived

  • When a task is restored

  • When a chat message is received

  • When an in-app notification is received

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

Task Steps

Client

Contacts

Project

Custom Task Fields

User

Tag

Organization

Chat Message

Last updated