Update a contact
PUT
https://api.expirationreminder.net/v1/contacts/{id}Path Parameters
id
string
RequiredRequest Body
| Property | Type | Required | Description |
|---|---|---|---|
name |
string |
No | - |
id |
string (uuid) |
No | - |
email |
string |
Yes | - |
timezone |
string |
No | - |
mobile |
string |
No | - |
phone |
string |
No | - |
assigned_to |
object |
No | - |
type_id |
string (uuid) |
No | - |
contact_id |
string |
No | - |
location_id |
string (uuid) |
No | - |
team_id |
string (uuid) |
No | - |
is_active |
boolean |
No | - |
modified |
string |
No | - |
custom_fields |
object[] |
No | - |
Sample Request
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"email": "string",
"timezone": "string",
"mobile": "string",
"phone": "string",
"assigned_to": {
"name": "string",
"email": "string",
"id": "00000000-0000-0000-0000-000000000000",
"team_id": "00000000-0000-0000-0000-000000000000"
},
"type_id": "00000000-0000-0000-0000-000000000000",
"contact_id": "string",
"location_id": "00000000-0000-0000-0000-000000000000",
"team_id": "00000000-0000-0000-0000-000000000000",
"is_active": false,
"modified": "string",
"custom_fields": [
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"value": "string"
}
]
}PUT /v1/contacts/{id}
$ curl https://api.expirationreminder.net/v1/contacts/{id} \
-H "Authorization: Bearer <token>"
Responses
| Property | Type | Description |
|---|---|---|
name |
string |
- |
id |
string (uuid) |
- |
email |
string |
- |
timezone |
string |
- |
mobile |
string |
- |
phone |
string |
- |
assigned_to |
object |
- |
type_id |
string (uuid) |
- |
contact_id |
string |
- |
location_id |
string (uuid) |
- |
team_id |
string (uuid) |
- |
is_active |
boolean |
- |
modified |
string |
- |
custom_fields |
object[] |
- |
Example Response
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"email": "string",
"timezone": "string",
"mobile": "string",
"phone": "string",
"assigned_to": {
"name": "string",
"email": "string",
"id": "00000000-0000-0000-0000-000000000000",
"team_id": "00000000-0000-0000-0000-000000000000"
},
"type_id": "00000000-0000-0000-0000-000000000000",
"contact_id": "string",
"location_id": "00000000-0000-0000-0000-000000000000",
"team_id": "00000000-0000-0000-0000-000000000000",
"is_active": false,
"modified": "string",
"custom_fields": [
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"value": "string"
}
]
}Not Found
| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}