Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Claim or refresh conversation lock

POST/v1/conversations/{convID}/lock
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
convIDstringrequired
Conversation ID
Request body
requiredapplication/json
draft_idstring
Draft ID associated with this lock
lock_owner_namestringrequired
Display name of lock owner
min length 1
Responses
200OK
conversation_idstringrequired
draft_idstring | nullrequired
expires_atstringrequired
lock_owner_idstringrequired
lock_owner_namestringrequired
organization_idstringrequired
updated_atstringrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
409Conflict
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/conversations/string/lock" \
  -H "Content-Type: application/json" \
  -d '{
  "draft_id": "string",
  "lock_owner_name": "string"
}'
Response
{
  "conversation_id": "string",
  "draft_id": "string",
  "expires_at": "string",
  "lock_owner_id": "string",
  "lock_owner_name": "string",
  "organization_id": "string",
  "updated_at": "string"
}