Update a user identified by email
PUT {{baseUrl}}/users/email:{{user_email}}
Update a user's data. If you identify users by their email addresses, you need to update the MagicBell data, so this user can still access their notifications.
Request Body
{"user"=>{"id"=>"<string>", "external_id"=>"<string>", "email"=>"<string>", "first_name"=>"<string>", "last_name"=>"<string>", "custom_attributes"=>{"dolore14_"=>-776965, "ex_3e8"=>23122119.38966824, "tempor443"=>"adipisicing Lorem sed voluptate labore"}, "phone_numbers"=>["<string>", "<string>"]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-MAGICBELL-API-KEY | string | (Required) The (public) API key of your MagicBell project. | |
X-MAGICBELL-API-SECRET | string | (Required) The API secret of your MagicBell project. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"user":{"id":"\u003cstring\u003e","external_id":"\u003cstring\u003e","email":"\u003cstring\u003e","first_name":"\u003cstring\u003e","last_name":"\u003cstring\u003e","custom_attributes":{"dolore14_":-776965,"ex_3e8":23122119.38966824,"tempor443":"adipisicing Lorem sed voluptate labore"},"phone_numbers":["\u003cstring\u003e","\u003cstring\u003e"]}}