Get the Lock Information for a Specific Conversation
Use the get lock request to get the lock details for a specific conversation.
Endpoint
Method: GET
URL: /lock/:conversationId
Path Parameter
Parameter Name | Data Type | Description | Required/Optional |
---|---|---|---|
| String | The ID of the conversation to get the lock details for. See Conversation APIs for information on getting conversation IDs. | Required |
Response and Error Code
Response Code | Condition |
---|---|
200 | OK |
Response Parameter
Parameter Name | Data Type | Description |
---|---|---|
| Array | The details of the lock on the conversation entered in the path parameter. |
| Integer | The automatically generated ID of the lock, this is used to delete the lock if needed. |
| String | The ID of your tenant. |
| String | The ID of the conversation with the lock, this will match the conversation ID entered in the path parameter. |
| String | The category of lock, at the time of writing only the default category is available. |
| String | The description of the lock, likely a simple explanation of why the conversation is locked. |
| Date Time | When the conversation was locked, in the format |
| Array | The details of the user that added the lock to the conversation. |
| String | The ID of the user that added the lock to the conversation. |
| String | The email of the user that added the lock to the conversation. |
| String | The full name of the user that added the lock to the conversation. |
| String | The business unit of the user that added the lock to the conversation. |
Sample Response
{ "locks": [ { "id": "3778", "tenantId": "67hg8362-g3d2-7g92-9273-d9h02kr83736", "conversationId": "e5a256d5-aad1-4a56-8509-af19df7fe0ef", "category": "LOCK_CATEGORY_DEFAULT", "description": "Ongoing Sale", "createdDate": "2024-09-04T13:49:03.033318Z", "user": { "userId": "auth0|735ujf53h235bn09835d984h", "email": "jihn.doe@uniphore.com", "fullName": "John Doe", "businessUnit": "Sales" } } ] }