Skip to content
simailDocsv0

API reference

Locks

Read whether a human has taken over a thread. Locking and unlocking happen only in the console.

docs.simail.ai/api/locks

GET/v0/inboxes/{inbox_id}/threads/{thread_id}/lock

Permission message_read.

{ "thread_id": "thr_01JZX4A1B2C3D4E5F6G7H8J9K0", "locked": true }

The response has only thread_id and locked: it does not say when the lock was taken or which person holds it.

While a thread is locked, sends in it return 423 thread_locked and queued messages wait. Events thread.locked and thread.unlocked report changes. Only humans lock and unlock, in the console; there is no endpoint or MCP tool for it. See Human takeover.