sites

Add Site Disarm Trusted Number

post/sites/{site_id}/disarm-trusted/numbers

Request

  • Base URL
    https://api.verdun.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.verdun.ai/sites/{site_id}/disarm-trusted/numbers
  • Auth
    HTTP bearer

Path parameters

site_idstring required

Request body

phone_numberstring required

A US phone number in any common format. Stored as E.164 (+18015550142); anything that is not a full 10-digit NANP number is refused with a 422.

labelstring nullable

Who this is, for the list. Optional; not used in any message.

site_contact_idstring uuid nullable

Provenance only: the site contact this number was picked from. It must belong to the SAME site. The number is COPIED, so a later contact edit never changes who is trusted, and being a contact grants nothing by itself.

Example request

{
  "phone_number": "(801) 555-0142",
  "label": "Jerry - GM"
}

Response

Successful Response

idstring uuid required

Unique id of the trusted number

phone_numberstring required

Canonical E.164 number

labelstring nullable

Who this is

site_contact_idstring uuid nullable

The site contact this was picked from, if any. Provenance only; null once that contact is deleted.

created_atstring date-time nullable

When it was added

created_by_namestring nullable

Who added it; null once that operator is deleted.

Example response

{
  "phone_number": "+18015550142",
  "label": "Jerry - GM",
  "created_by_name": "Sonny Tai"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.