Assign or unassign a thread
Assigns the thread to a user, or unassigns it when assigneeId is null. Runs the same assignment the Aptly apps do: the acting user must be able to see the thread, the assignee must be in the company (and in the thread's channel when that channel is shared), the thread's history records the assignment, and the assignee is notified.
The acting user is the delegate token's own user. With an API key or partner token, name one in userId.
If the acting user would lose access to the thread, or it would leave their Mine view, the request answers 409 with code STREAM_LOSE_ACCESS or remove_stream_from_mine_view. Repeat it with force: true to proceed.
Request
- Base URLhttps://core-api.getaptly.com
- Auth
- API key in header x-token
- or API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
External channel meta ID (meta.id) of the inbox.
Thread id from the threads list.
Request body
Response
Assigned.
Changes
No recorded changes to this operation across all 1 revision of this API.