Create email contact

POST
/email/contacts

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Request Body

application/json
  1. body
attributes?|null
email*string
first_name?string|null
last_name?string|null
locale?string|null

Response Body

A contact was created or merged by normalized email.

application/json
  1. response
api_version*string
data*
Example Request
curl -X POST 'https://api.relevate.app/email/contacts' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "string"
}'
Example Response
{
  "api_version": "string",
  "data": {
    "attributes": null,
    "blocked_at": "2019-08-24T14:15:22Z",
    "blocked_reason": "string",
    "consent_source": "string",
    "consented_at": "2019-08-24T14:15:22Z",
    "created_at": "2019-08-24T14:15:22Z",
    "email": "string",
    "first_name": "string",
    "id": "string",
    "last_name": "string",
    "locale": "string",
    "marketing_status": "string",
    "normalized_email": "string",
    "origin": "string",
    "status": "string",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}