Link a task to a record in another service.
Link a task to a record in another service.
POST
https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/linksRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Body Params
sourcestringService id owning the record.
source_idstringThat 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" }}