Skip to main content
POST
/
v1
/
contacts
/
{id}
/
emails
Create contact email
curl --request POST \
  --url https://api.shingleai.com/v1/contacts/{id}/emails \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "john@example.com",
  "label": "Work",
  "data": {}
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "contactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "<string>",
    "label": "<string>",
    "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "data": {}
  },
  "meta": {
    "pagination": {
      "limit": 123,
      "offset": 123,
      "hasMore": true,
      "total": 123
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication via Bearer token

Path Parameters

id
string<uuid>
required

Contact UUID

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json
email
string<email>
required
Example:

"john@example.com"

label
string | null
Example:

"Work"

data
object

Response

Email created successfully

data
object
required
meta
object