Create project
Requires a user JWT with the admin role.
Authorization
AdminJWT User JWT; backend checks the admin role. Project API keys cannot access admin endpoints.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.hisend.app/v1/admin/projects" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "user_id": 0, "plan_id": 0 }'{
"id": 0,
"user_id": 0,
"reputation_score": 0,
"bounced": 0,
"failed": 0,
"complained": 0,
"name": "string",
"created_at": "string",
"updated_at": "string",
"is_locked": true,
"allow_hisend_mta": true,
"plan_id": 1,
"admin_plan_id": 1,
"polar_subscription_id": "string",
"polar_subscription_status": "string",
"polar_product_id": "string",
"admin_subscription_status": "string",
"plan": {
"id": 0,
"max_domains": 0,
"max_users": 0,
"max_mails_per_day": 0,
"max_mails_per_month": 0,
"name": "string",
"description": "string",
"support_level": "string",
"polar_product_id": "string",
"created_at": "string",
"updated_at": "string",
"price": 0,
"is_active": true
}
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}Create routing POST
Requires a user JWT with the admin role. Administrative setup may exceed customer limits with an audit reason. Sending checks remain unchanged.
Clean up retained provider configuration POST
Requires a user JWT with the admin role. Idempotent cleanup. Active identities are protected. Provider failures return the persisted failed state with HTTP 200; inspect status.