Headers
Bearer token for authentication
Path Parameters
UUID or email address of the email to retrieve UUID of the email to retrieve
Response
Email retrieved successfully
curl --request GET \
--url https://api.wellapp.ai/v1/emails/{id} \
--header 'Authorization: <authorization>'{
"data": {
"type": "email",
"id": "email1-uuid",
"attributes": {
"value": "sarah.wilson@techcorp.com",
"is_primary": true,
"is_verified": true,
"label": "work",
"created_at": "2023-06-15T10:30:00Z",
"updated_at": "2023-06-15T10:30:00Z"
},
"relationships": {
"persons": {
"data": [
{
"type": "people",
"id": "person1-uuid"
}
]
},
"companies": {
"data": [
{
"type": "company",
"id": "company1-uuid"
}
]
},
"workspaces": {
"data": [
{
"type": "workspace",
"id": "workspace1-uuid"
}
]
}
}
},
"included": [
{
"type": "people",
"id": "person1-uuid",
"attributes": {
"first_name": "Sarah",
"last_name": "Wilson",
"full_name": "Sarah Wilson",
"created_at": "2023-06-15T09:00:00Z",
"updated_at": "2023-06-15T09:00:00Z"
}
},
{
"type": "company",
"id": "company1-uuid",
"attributes": {
"name": "TechCorp Solutions",
"description": "Leading technology company",
"domain_name_primary_link_url": "techcorp.com",
"locale": "en",
"created_at": "2023-06-01T08:00:00Z",
"updated_at": "2023-06-01T08:00:00Z"
}
},
{
"type": "workspace",
"id": "workspace1-uuid",
"attributes": {
"name": "Sales Team",
"description": "Sales team workspace",
"avatar_color": "#FF5733",
"auto_extract_enabled": true,
"created_at": "2023-06-01T08:00:00Z",
"updated_at": "2023-06-01T08:00:00Z"
}
}
]
}Retrieve a specific email by its UUID or email address with optional relationship details
curl --request GET \
--url https://api.wellapp.ai/v1/emails/{id} \
--header 'Authorization: <authorization>'{
"data": {
"type": "email",
"id": "email1-uuid",
"attributes": {
"value": "sarah.wilson@techcorp.com",
"is_primary": true,
"is_verified": true,
"label": "work",
"created_at": "2023-06-15T10:30:00Z",
"updated_at": "2023-06-15T10:30:00Z"
},
"relationships": {
"persons": {
"data": [
{
"type": "people",
"id": "person1-uuid"
}
]
},
"companies": {
"data": [
{
"type": "company",
"id": "company1-uuid"
}
]
},
"workspaces": {
"data": [
{
"type": "workspace",
"id": "workspace1-uuid"
}
]
}
}
},
"included": [
{
"type": "people",
"id": "person1-uuid",
"attributes": {
"first_name": "Sarah",
"last_name": "Wilson",
"full_name": "Sarah Wilson",
"created_at": "2023-06-15T09:00:00Z",
"updated_at": "2023-06-15T09:00:00Z"
}
},
{
"type": "company",
"id": "company1-uuid",
"attributes": {
"name": "TechCorp Solutions",
"description": "Leading technology company",
"domain_name_primary_link_url": "techcorp.com",
"locale": "en",
"created_at": "2023-06-01T08:00:00Z",
"updated_at": "2023-06-01T08:00:00Z"
}
},
{
"type": "workspace",
"id": "workspace1-uuid",
"attributes": {
"name": "Sales Team",
"description": "Sales team workspace",
"avatar_color": "#FF5733",
"auto_extract_enabled": true,
"created_at": "2023-06-01T08:00:00Z",
"updated_at": "2023-06-01T08:00:00Z"
}
}
]
}Bearer token for authentication
UUID or email address of the email to retrieve UUID of the email to retrieve
Email retrieved successfully
Show child attributes