Skip to content

Set a contact email address

Request

Sets a contact email address. The contact email address is used to send notifications to users who have been registered with a dummy email address.

Security
UserToken
Path
userIdinteger, (int64)required

The user ID.

Example:101
Headers
X-External-Correlation-Idstring, (uuid), <= 36 characters

Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.

Example:f47ac10b-58cc-4372-a567-0e02b2c3d479
Bodyapplication/jsonrequired
emailstring, (email)

Contact email address.

Example:"new-user@email.com"
curl -i -X PUT \
  https://api.wise.com/v1/users/101/contact-email \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-External-Correlation-Id: f47ac10b-58cc-4372-a567-0e02b2c3d479' \
  -d '{
    "email": "new-user@email.com"
  }'

Responses

OK - Contact email address set successfully.

Headers
X-External-Correlation-Idstring, (uuid), <= 36 characters

Echoed back when X-External-Correlation-Id was included in the request. Learn more.

Example:"f47ac10b-58cc-4372-a567-0e02b2c3d479"
x-trace-idstring

Unique trace identifier assigned by Wise. Useful when contacting support about a specific request.

Example:"fba501b6d453b96789f52338f019341f"
Bodyapplication/json
emailstring, (email)

Contact email address.

Response
{ "email": "new-user@email.com" }