Get all Contacts

This endpoint retrieves all Contacts.

Request

To retrieve all Contacts please make a GET request to the following URL:

HTTP MethodURL
GEThttps://industrial.api.ubidots.com/api/v2.0/contacts/

Query Parameters

ParameterTypeDescription
pageIntegerPage number. Default 1
page_sizeIntegerResults per page. Default 50, max 200
sort_byStringComma-separated fields, prefix - for descending. Default name. See Contact Filters
searchStringCase-insensitive search over label, name and description
fieldsStringComma-separated list of fields to keep in the response, e.g. id,name,contact_methods
omitStringComma-separated list of fields to drop from the response

Any of the Contact Filters can be added as a query parameter.

Header

ParameterRequired?Description
X-Auth-TokenYesAuthentication Token of account
$ curl -X GET 'https://industrial.api.ubidots.com/api/v2.0/contacts/?tags__contains=maintenance&page_size=50' \
 -H 'X-Auth-Token: oaXBo6ODhIjPsusNRPUGIK4d72bc73'
{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "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"
        }
    ]
}
{
    "code": 401001,
    "message": "Authentication credentials were not provided.",
    "detail": "Authentication credentials were not provided."
}
{
    "code": 402001,
    "message": "Your current plan does not include this feature."
}
{
    "detail": "You do not have permission to perform this action."
}

Response

An object with the total count, the next and previous page URLs, and an array results of Contact objects, sorted by name.