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
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
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
sourcestringrequiredService id owning the record.
source_idstringrequiredThat 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
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/links \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "source": "my-leads", "source_id": "5512"}'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 201
{ "data": { "id": 800, "task_id": 42, "source": "my-leads", "source_id": "5512", "label": "Riverside House enquiry", "url": "/my-leads/5512" }}