Update Contact
/contacts/{contact_ref} Updates a canonical contact identified by contact reference.
Conventions
Authentication
All endpoints require a Bearer token. Pass it in the Authorization header as Bearer <token>. Tokens are issued from the API settings page in your workspace.
Base URL
All paths are relative to https://api.allsign.app. The spec includes full paths; strip the base when constructing requests.
Versioning
The current version is 0.1.0. Breaking changes are documented in the Changelog and announced before taking effect.
Specification
The API follows OpenAPI Specification 3.x. All documentation on this page is generated directly from the spec.
Example
curl "https://api.allsign.app/contacts/{contact_ref}" \-X PUT \-H "Authorization: Bearer {token}" \-H "Content-Type: application/json" \--data-raw '{}'
Request
Request Path
contact_refPublic contact reference.
Request Body
{
"email": "",
"name": "",
"notes": "",
"organization": "",
"phone": ""
}email
name
notes
organization
phone
Responses
200 OK
Updated contact representation.
{
"data": {
"contact": {
"avatar_url": "",
"email": "",
"family_name": "",
"given_name": "",
"name": "",
"notes": "",
"organization": "",
"phone": "",
"ref": "00000000-0000-4000-8000-000000000000"
}
}
}data
data.contactCanonical contact resource.
data.contact.avatar_url
data.contact.email
data.contact.family_name
data.contact.given_name
data.contact.name
data.contact.notes
data.contact.organization
data.contact.phone
data.contact.refPublic stable resource reference.
400 Bad Request
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
401 Unauthorized
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
404 Not Found
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
422 Unprocessable Entity
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields