Create a new chat thread.
Create a new chat thread.
POST
https://app.softsolz.uk/api/v1/services/smart-chat/threadsRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Headers
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
titlestringThread title (defaults to "New chat").
visibilitystringVisibility (default "private"). "shared" requires shared_user_ids and/or shared_role_ids.
shared_user_idsarray of integersMember ids to share with (required when visibility=shared and no shared_role_ids).
shared_role_idsarray of integersRole ids to share with (when visibility=shared).
Response
Response Body
idstringThread id.titlestringThread title.visibilitystringWho can see the thread.created_atstringCreation timestamp.updated_atstringLast update timestamp.shared_user_idsarray of integersMember ids the thread is shared with (visibility=shared only).shared_role_idsarray of integersRole ids the thread is shared with (visibility=shared only).Request
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/smart-chat/threads \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "title": "AR questions", "visibility": "tenant"}'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": "5f1c0000-0000-0000-0000-000000000001", "title": "AR questions", "visibility": "tenant", "created_at": "2026-06-05T10:00:00.000Z", "updated_at": "2026-06-05T10:05:00.000Z", "shared_user_ids": [], "shared_role_ids": [] }}