Skip to main content

Get or create private thread

POST 

/getPrivateThread

Gets an existing private 1-on-1 conversation with a specific user, or creates one if it doesn't exist. Supports unique conversation keys for context-specific conversations (e.g., per-product discussions). When a unique key is provided, the endpoint uses get_unique_pm_thread_id() instead of the standard PM lookup. Returns full thread data including messages and participants when a thread is found or created.

Request

Responses

Thread found, created, or permission denied