DKBSignDocs

API reference

PUTRequires Bearer token

Update contacts settings

/api/contacts/config

Update `/api/contacts/config`. Authenticated routes need `Authorization: Bearer {token}` from `POST /api/v1/login`.

Path parameters

This endpoint has no path parameters.

Query parameters

This endpoint has no query parameters.

Request body

FieldTypeDescription
import_default_visibility
string`private` or `org`.
e.g. "private"
dedup_strategy
string`update` or `skip`.
e.g. "update"
phone_default_region
stringDefault phone region (ISO).
e.g. "CI"

Responses

StatusMeaning
500See the example response.

Request

curl
curl -X PUT 'https://api.dkbsigns.com/api/contacts/config' \
  -H 'Authorization: Bearer $DKBSIGN_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"import_default_visibility":"private","dedup_strategy":"update","phone_default_region":"CI"}'

Response 200

json
{
  "status": "success",
  "message": "Upstream response is forwarded unchanged."
}