Record an agreed callback
POST
/v1/mobile/workspace/callbacks
const url = 'https://api.vocapable.com/v1/mobile/workspace/callbacks';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"organization_id":"example","contact_id":"example","opportunity_id":"example","title":"example","due_at":"2026-04-15T12:00:00Z","owner_user_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.vocapable.com/v1/mobile/workspace/callbacks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "organization_id": "example", "contact_id": "example", "opportunity_id": "example", "title": "example", "due_at": "2026-04-15T12:00:00Z", "owner_user_id": "example" }'A callback is a promise of kind callback with a future agreed time. Its open
state is what the contact policy reads (callback_scheduled) to prevent a premature
retry, and the push worker wakes its owner as the time arrives.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
MobileWorkspaceCallbackCreate
An agreed callback: a promise with a responsible person and a future time.
object
Examplegenerated
{ "organization_id": "example", "contact_id": "example", "opportunity_id": "example", "title": "example", "due_at": "2026-04-15T12:00:00Z", "owner_user_id": "example"}Responses
Section titled “Responses”Successful Response
Media typeapplication/json
WorkspaceTask
object
id
required
Id
string
kind
required
Kind
string
title
required
Title
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
status
required
Status
string
revision
required
Revision
integer
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
Example
{ "kind": "follow_up", "subject_type": "handoff", "status": "open"}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": {} } ]}