Baack
Browse the docs

Endpoints

  • CreatePOST/n/v1/task/

    Endpoint for managing tasks and their dependencies

    Baack allocates the URN and returns it in the response.

    Request body: Task

    Responses

    201 Created
    returns TaskCREATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • ReadGET/n/v1/task/{urn}

    Endpoint for managing tasks and their dependencies

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Responses

    200 OK
    returns TaskREAD_SUCCESS
    404 Not found
    returns ErrorNOT_FOUND
    curl -H "Authorization: Bearer $BAACK_API_TOKEN" \
      https://api.baack.co/n/v1/task/{urn}
  • UpdatePUT/n/v1/task/{urn}

    Endpoint for managing tasks and their dependencies

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Request body: Task

    Responses

    202
    returns TaskUPDATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • DeleteDELETE/n/v1/task/{urn}

    Endpoint for managing tasks and their dependencies

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Responses

    202
    DELETE_SUCCESS

Webhook

POSTyour destination URL

Subject: TASK

Webhook for updates related to tasks on the platform

Listen to updates to tasks to create rich experiences like verifying a task priority based on a customer support case using the company profile to assign a default priority.

The task also has an associated change log which can be fetched separately for the change history.

Task updates like adding a dependency can be used to automate workflow steps based on the dependency status.

Another common scenario for task automation is when a task is marked done then its dependent tasks can be marked as ready for work.

Body: Webhook Event

Your response

200
Return 200 status to indicate that data was received successfully

Fields

Task fields
FieldTypeDescription
ownerCompany

Required on create.

.

createdTimestampstring (date-time)
projectProject
descriptionstring

Required on create.

.

Up to 65536 characters.

associatedIdentitiesarray of Identity

Required on create.

.

blockedByarray of Task

Required on create.

.

prioritystring

One of: NONE, LOW, MEDIUM, HIGH, CRITICAL

titlestring

Required on create.

.

Up to 1024 characters.

updatedTimestampstring (date-time)
urlstring (uri)
urnstring (uuid)
associatedEntitiesarray of Entity

Required on create.

.

blockingarray of Task

Required on create.

.

associatedCompaniesarray of Company

Required on create.

.

workflowStageWorkflow Stage
assigneeIdentity
identityForLogsIdentity
dueTimestampstring (date-time)

Required on create.

.

associatedTasksarray of Task

Required on create.

.

statusstring

One of: UNDEFINED, PENDING, IN_PROGRESS, BLOCKED, COMPLETED, CLOSED

Used by: Message Thread, Search Item, Task Log