SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
tasks

Link a task to a record in another service.

Link a task to a record in another service.

POSThttps://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/links

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

sourcestring

Service id owning the record.

source_idstring

That service row id.

Response

Response Body

idintegerLink id.
task_idintegerThe task.
sourcestringService id owning the linked record (invoicing, my-leads, appointments, forms, smart-chat).
source_idstringThat service row id.
labelstring | nullResolved display label. Null when the owning service is not installed.
urlstring | nullResolved dashboard URL, or null.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.tasks.createTaskLink('<id>', {});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 201

{
"data": {
"id": 0,
"task_id": 0,
"source": "string",
"source_id": "string",
"label": "string",
"url": "string"
}
}