Your call queue, the team's, incoming requests, or history
GET
/v1/workspace/queue
const url = 'https://api.vocapable.com/v1/workspace/queue?view=mine&filter=all&limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.vocapable.com/v1/workspace/queue?view=mine&filter=all&limit=50' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
WorkspaceQueue
One call-desk view. Exactly the list its view names is filled.
object
view
required
View
string
rows
Rows
Array<object>
WorkspaceQueueRowobject
contact_id
required
Contact Id
string
name
required
Name
string
owner
required
Any of:
WorkspacePersonRef
A teammate named on a record: the id the server holds and the name to show.
object
user_id
required
User Id
string
name
required
Name
string
null
assignment
required
Assignment
string
status
required
Status
string
hold
required
Any of:
WorkspacePolicyHold
object
code
required
Code
string
message
required
Message
string
recovery
required
Recovery
string
null
incoming
Incoming
Array<object>
WorkspaceIncomingItemA request a caller left with the AI receptionist, routed to people.
object
id
required
Id
string
kind
required
Kind
string
state
required
State
string
reason
required
Reason
string
called_company
required
Called Company
string
assignee
required
Any of:
WorkspacePersonRef
A teammate named on a record: the id the server holds and the name to show.
object
user_id
required
User Id
string
name
required
Name
string
null
created_at
required
Created At
string format: date-time
version
required
Version
integer
history
History
Array<object>
WorkspaceHistoryItemOne conversation. A transferred call is one conversation with several handlers.
object
call_id
required
Call Id
string
direction
required
Direction
string
phase
required
Phase
string
handlers
required
Handlers
Array<object>
WorkspacePersonRefA teammate named on a record: the id the server holds and the name to show.
object
user_id
required
User Id
string
name
required
Name
string
transferred
required
Transferred
boolean
requested_at
required
Requested At
string format: date-time
transcription
WorkspaceCallTranscription
What a person is told about a call’s transcript (PRD E7-R6, E6-R8).
label is the exact sentence the clients show (“Transcribing”, “Not recorded - made
from a personal phone”, …) so the web console and the app use the same words.
has_more
Has More
boolean
Example
{ "view": "mine", "rows": [ { "assignment": "assigned_to_you", "status": "ready", "hold": { "code": "do_not_contact" } } ], "incoming": [ { "kind": "message", "state": "open" } ], "history": [ { "direction": "outbound", "phase": "requested", "outcome": "conversation", "transcription": { "status": "off", "untranscribed_reason": "personal_phone", "label": "Not transcribed" } } ], "has_more": false}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}