sites

Reorder Site Contacts

put/sites/{site_id}/contacts/order

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

Path parameters

site_idstring required

Request body

contact_idsstring[] required

Every contact id on the site, first-to-call first.

Example request

{
  "contact_ids": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  ]
}

Response

Successful Response

Example response

{
  "contacts": [
    {
      "first_name": "1231231234",
      "last_name": "1231231234",
      "role": "Security Manager",
      "primary_phone_number": "1231231234",
      "afterhours_phone_number": "1231231234",
      "email": "JJ@example.com",
      "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.