Create a new email endpoint linked to your hosting account. A unique ID is returned, required for referencing this email endpoint in subsequent API calls.
Accept Example Content-Type Example name string required email string required scope string · enum required all vm_monitor success boolean timestamp string requestId string data object https://cloud.hostup.se/api/email-endpoints curl -X POST "https://cloud.hostup.se/api/email-endpoints" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"email": "string",
"scope": "all"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"email_endpoint": {
"id": 0,
"client_id": "string",
"channel_type": "string",
"scope": "string",
"monitor_id": "string",
"name": "string",
"enabled": true,
"config": {
"address": "string",
"verified": true
},
"created_at": "string",
"updated_at": "string",
"last_used_at": "string",
"auto_paused": true,
"auto_paused_reason": "string",
"auto_paused_at": "string",
"auto_resume_available_at": "string"
},
"message": "string"
}
} {
"name": "string",
"email": "string",
"scope": "all"
}