Contact Object

Describes the JSON object of a Contact.

A Contact in Ubidots is a person that can be notified through one or more contact methods.

PropertyTypeDescription
urlStringURL of the Contact
idStringId of the Contact
labelStringLabel of the Contact, unique in the account. Max 200 characters
nameStringName of the Contact. Max 200 characters
descriptionStringDescription of the Contact
tagsString ArrayTags of the Contact, stored in lowercase
propertiesObjectCustom properties of the Contact. Custom keys are kept only when they are declared in _config
contact_methodsArrayList of contact methods. At least one
schedulersArrayList of schedulers. Can be empty
createdAtStringDate the Contact was created
{
    "url": "https://industrial.api.ubidots.com/api/v2.0/contacts/6740e1c2f1a3b2000c9d4e51",
    "id": "6740e1c2f1a3b2000c9d4e51",
    "label": "jane-doe",
    "name": "Jane Doe",
    "description": "Maintenance supervisor, plant 1",
    "tags": [
        "maintenance",
        "plant-1"
    ],
    "properties": {
        "_config": null
    },
    "contact_methods": [
        {
            "id": "email:[email protected]",
            "type": "email",
            "is_active": true,
            "email": "[email protected]"
        },
        {
            "id": "sms:+57-+573001234567",
            "type": "sms",
            "is_active": true,
            "country": {
                "id": "CO",
                "label": "Colombia",
                "value": "+57"
            },
            "number": "+573001234567"
        }
    ],
    "schedulers": [
        {
            "timezone": "America/Bogota",
            "days_week": [
                [
                    [
                        "08:00",
                        "18:00"
                    ]
                ],
                [
                    [
                        "08:00",
                        "18:00"
                    ]
                ],
                [
                    [
                        "08:00",
                        "18:00"
                    ]
                ],
                [
                    [
                        "08:00",
                        "18:00"
                    ]
                ],
                [
                    [
                        "08:00",
                        "18:00"
                    ]
                ],
                [],
                []
            ],
            "contact_methods": [
                "sms:+57-+573001234567"
            ]
        }
    ],
    "createdAt": "2026-11-20T14:03:11.512000Z"
}

Contact method

The fields of a contact method depend on its type.

KeyTypeDescription
idStringRead only. Built by the server from the type and value, see Contact method ids
typeStringemail, sms, whatsapp, telegram or voice
is_activeBooleanIf false, the method is never notified. Default true
emailStringEmail address. Required when type is email
countryObjectCountry of the phone number. Required for the phone types. Send {"value": "+57"}; the server fills in id and label
numberStringPhone number in international format, including the + and the country code, e.g. +573001234567. Required for the phone types

Scheduler

A scheduler sets the hours when some contact methods are on call.

KeyTypeDescription
timezoneStringTime zone of the schedule, e.g. America/Bogota. Default UTC
days_weekArrayExactly 7 items, Monday first. Each item is a list of [start, end] pairs in 24-hour HH:MM format; an empty list means not on call that day. Default [["00:00", "23:59"]] for every day
contact_methodsString ArrayIds of the contact methods this scheduler covers. Ids that don't match a contact method of the Contact are dropped

How schedulers decide who is notified:

  • If no scheduler lists a contact method, every active contact method is always on call.
  • Otherwise, a contact method is notified only when one of the schedulers that lists it covers the current time (start and end included). A contact method that no scheduler lists is not notified.