Inbox
Shared inbox helpdesk for all your support channels. Built for your team.
Chat
Embeddable live chat and auto customer messaging for your website and app.
Live
Get more sales with real time customer activity monitoring and personal messages.
FAQ
Customizable and embeddable FAQ center to help customers help themselves.
PUT /contacts/{identifier}
Issuing a PUT call to a specific contact will allow you to update the contact.
Alternative: PUT /contacts/{identifier}?identifier_type={identifier_type}
Alternatively, you can issue a PUT to a specific contact by an alternative identifier type, like mobile
, facebook
, twitter
, or instagram
.
Example Request
curl 'https://{brand}.reamaze.io/api/v1/contacts/{email}' \ -u {login-email}:{api-token} \ -H 'Accept: application/json' \ -H 'Content-type: application/json' \ -X PUT -d '{"contact": {"name": "bob", "data": {"custom_attribute": "custom data"}}}'
Response
A successful request will return the JSON for the updated contact.
A failed request will return an HTTP 422 Unprocessable Entity with the JSON body explaining the error.
Notes
- It's not possible to change the
email
,mobile
or other identifier for a contact. This endpoint can only be used for changing thename
,friendly_name
,external_avatar_url
anddata
attributes. - When providing
identifier_type
theidentifier
value needs to be match the type. For example, ifidentifier_type
ismobile
thenidentifier
will need to be something like+12223334444
.
Join thousands of teams using Reamaze to impress customers.
Find out how with a free account.