API reference
Create a sending profile
Requires `write` (`sending_profile:manage`). `avatarUrl`, if set, must already be an absolute URL from `POST /api/sending-profiles/avatar`.
POST
/api/sending-profilesAuthorizationBearer <token>
A Stet API key (prefix bk_), created under Settings → API keys. The whole API requires the Growth plan or higher; keys are scoped read or write — composing and sending require write.
In: header
namestring
Length
1 <= length <= 100displayNamestring
Length
1 <= length <= 100description?string | null
Length
length <= 500avatarUrl?string | null
Must be an absolute URL — obtain one from POST /api/sending-profiles/avatar first.
Format
urifooterText?string | null
Length
length <= 500defaultAudienceIds?array<string>
Default
[]Items
items <= 100Response Body
curl -X POST "https://app.stethq.com/api/sending-profiles" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "displayName": "string" }'{
"id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}