POST
/
v1
/
users
/
{user_id}
/
email_addresses
Creates a user email address
curl --request POST \
  --url https://api.rootly.com/v1/users/{user_id}/email_addresses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "user_email_addresses",
    "attributes": {
      "email": "<string>"
    }
  }
}'
{
  "data": {
    "id": "2c4507cb-567a-49f5-b3a0-60e4b262b1e0",
    "type": "user_email_addresses",
    "attributes": {
      "user_id": 488,
      "email": "test@example.com",
      "primary": false,
      "verified_at": null,
      "created_at": "2025-07-31T05:10:09.685-07:00",
      "updated_at": "2025-07-31T05:10:09.685-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

Body

application/vnd.api+json

Response

201
application/vnd.api+json

user_email_address created

The response is of type object.