Get Call IDs with a Specific Lock Description in Pages
Use the get calls by tag request to get a pages of conversation IDs for locked calls where the lock description matches a specified string.
Endpoint
Method: POST
URL: /lock/get_calls_by_tag
Request Parameter
Parameter Name | Data Type | Description | Required/Optional |
|---|---|---|---|
| String | Enter the lock description to get the conversation IDs for locked conversations with matching lock descriptions. | Required |
| String | The token for which page of the response to see, if you want the first page of a search use | Optional |
Response and Error Code
Response Code | Condition |
|---|---|
200 | OK |
Response Parameter
Parameter Name | Data Type | Description |
|---|---|---|
| Array | A list of conversation IDs for the locked conversations with lock descriptions matching the |
| String | The token for the next page of conversations, use this token as the pageToken parameter value in a subsequent request to get the next page. |
| String | How many conversations match the request in total. This does not reflect the amount of to conversations in the page. |
Sample Request
{
"lockDescription": "sales",
"pageToken": "eyJwYWdlX3NpemUiOjIsImNoZWNrX3N1bSI6WzE5MSwxMTQsNjUsMjUxLDE4NCwxOSwxMywxNjMsMjE0LDUyLDkzLDExNiw2NSwyMDEsMTU2LDExMF0sInRlbmFudF9pZCI6IjY2ZGQ4NDE4LWIxZDEtNGQ0Ny05MjE4LWMwZTI5YmYxMzE3MCIsImNvbnZlcnNhdGlvbl9pZCI6IjFjZWU1YTQ2LTFiNGUtNGU4OS05ZjYxLTc3ZjdmNWUwMjExYyIsInRvdGFsX2NvdW50IjozNSwiZmlsdGVyX3ZhbHVlcyI6eyI0IjoiMjAyNC0wOC0wNlQxMTo0MDo0MS4yOTFaIn19"
}Sample Response
{
"conversationIds": [
"f3e99e8e-303d-4ed9-80bb-5d18ac07a4db",
"e5a256d5-aad1-4a56-8509-af19df7fe0ef"
],
"nextPageToken": "eyJwYWdlX3NpemUiOjIsImNoZWNrX3N1bSI6WzE5MSwxMTQsNjUsMjUxLDE4NCwxOSwxMywxNjMsMjE0LDUyLDkzLDExNiw2NSwyMDEsMTU2LDExMF0sInRlbmFudF9pZCI6IjY2ZGQ4NDE4LWIxZDEtNGQ0Ny05MjE4LWMwZTI5YmYxMzE3MCIsImNvbnZlcnNhdGlvbl9pZCI6IjFjZWU1YTQ2LTFiNGUtNGU4OS05ZjYxLTc3ZjdmNWUwMjExYyIsInRvdGFsX2NvdW50IjozNSwiZmlsdGVyX3ZhbHVlcyI6eyI0IjoiMjAyNC0wOC0wNlQxMTo0MDo0MS4yOTFaIn19",
"totalCount": "35"
}