This endpoint replaces all the fields of a Contact.
Request
To update an entire Contact please make a PUT request to the following URL:
| HTTP Method | URL |
|---|---|
| PUT | https://industrial.api.ubidots.com/api/v2.0/contacts/<contact_key>/ |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| contact_key | String | The id or label of the Contact. The label must use the prefix ~, e.g. ~jane-doe |
Body Parameters
The same body as Create Contact. name and contact_methods are required. tags, properties and schedulers go back to their default values when they are not sent; label and description keep their stored values.
| Parameter | Type | Required? | Default Value | Description |
|---|---|---|---|---|
| name | String | Yes | N/A (required) | Name of the Contact. Max 200 characters |
| label | String | No | Generated from name | Label of the Contact, stored in lowercase. Max 200 characters. Must be unique in the account |
| description | String | No | "" | Description of the Contact |
| tags | String Array | No | [] | Tags of the Contact. Duplicates are removed and tags are stored in lowercase |
| properties | Object | No | {} | Custom properties. Custom keys must be declared in _config, otherwise they are dropped |
| contact_methods | Array | Yes | N/A (required) | At least one contact method |
| schedulers | Array | No | [] | List of schedulers |
Header
| Parameter | Required? | Description |
|---|---|---|
| X-Auth-Token | Yes | Authentication Token of account |
| Content-Type | Yes | application/json |
$ curl -X PUT 'https://industrial.api.ubidots.com/api/v2.0/contacts/<contact_key>/' \
-H 'X-Auth-Token: oaXBo6ODhIjPsusNRPUGIK4d72bc73' \
-H 'Content-Type: application/json' \
-d '{
"name": "Jane Doe",
"tags": [
"maintenance"
],
"contact_methods": [
{
"type": "email",
"email": "[email protected]"
}
]
}'{
"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"
],
"properties": {
"_config": null
},
"contact_methods": [
{
"id": "email:[email protected]",
"type": "email",
"is_active": true,
"email": "[email protected]"
}
],
"schedulers": [],
"createdAt": "2026-11-20T14:03:11.512000Z"
}{
"code": 400001,
"message": "Validation Error.",
"detail": {
"name": [
"This field is required."
]
}
}{
"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."
}{
"code": 404001,
"message": "The request was not found."
}Response
Returns the updated Contact object.

