sites

Edit Site Contact

put/sites/contacts/{contact_id}

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/contacts/{contact_id}
  • Auth
    HTTP bearer

Path parameters

contact_idstring required

Request body

first_namestring required

First name

last_namestring required

Last name

rolestring required

Role

primary_phone_numberstring required

Primary phone number

afterhours_phone_numberstring required

Afterhours phone number

emailstring required

Email of site contact

notify_method'call' | 'text' | 'email' required

Example request

{
  "first_name": "Joe",
  "last_name": "Shmoe",
  "role": "CTO",
  "primary_phone_number": "1231231234",
  "afterhours_phone_number": "1231231234",
  "email": "JoeShmoe@example.com",
  "availability": [
    {
      "days": [
        0,
        1,
        2,
        3,
        4
      ],
      "end": "17:00",
      "start": "08:00"
    }
  ]
}

Response

Successful Response

idstring uuid required

Unique identifier of the site contact.

first_namestring required

First name of the site contact.

last_namestring required

Last name of the site contact.

rolestring required

Role of the site contact.

primary_phone_numberstring required

Primary phone number of the site contact.

afterhours_phone_numberstring required

Afterhours phone number of the site contact.

emailstring required

Email of the site contact.

notify_method'call' | 'text' | 'email' required
daily_summary_opt_outboolean

True when this contact has opted out of the daily site summary e-mail (set by the unsubscribe link, not by the console). Does not affect alerts about the property.

Example response

{
  "first_name": "Joe",
  "availability": [
    {
      "days": [
        0,
        1,
        2,
        3,
        4
      ],
      "end": "17:00",
      "start": "08:00"
    }
  ]
}

Changes

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