Create a sending identity
Requires EDITOR. First identity on a channel is forced default (must be active). Response may carry domainWarning/aliyunNotice hints.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string
Tenant project id (row-level isolation on every query).
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
channelId
required
string
label
required
string
fromAddress
required
string format: email
fromName
No < > “ or newlines.
string | null
replyToAddress
string | null format: email
isDefault
boolean
status
string
Responses
Section titled “Responses”Created identity (+ optional notices).
Media typeapplication/json
object
identity
object
id
string
projectId
string
channelId
string
label
string
fromAddress
string format: email
fromName
string | null
replyToAddress
string | null format: email
isDefault
boolean
status
string
createdAt
string | null format: date-time
updatedAt
string | null format: date-time
domainWarning
string
aliyunNotice
string
Validation error, or default/paused constraint violation.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Not authenticated (no valid session/principal).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Authenticated but lacks the required project role.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Resource not found (or belongs to another project — indistinguishable).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Duplicate from-address on the channel.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}