POST
/
outbound
/
transactional-keys
curl --request POST \
  --url https://api.jetemail.com/outbound/transactional-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Development API Key"
}'
{
  "success": true,
  "message": "Transactional key created successfully",
  "api_token": "transactional_a1b2c3d4"
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format "Bearer {token}"

Body

application/json
name
string
required

Name for the transactional key

Required string length: 1 - 64
Example:

"Production API Key"

approvedDomains
string[]

List of approved domains for sending

Example:
["example.com", "mydomain.com"]
quota
integer
default:0

Email sending quota (0 for unlimited)

Required range: 0 <= x <= 1000000
Example:

1000

ipRestrictions
string[]

List of allowed IP addresses/CIDR ranges

Example:
["192.168.1.1", "10.0.0.0/24"]

Response

200
application/json
Transactional key created successfully
success
boolean
Example:

true

message
string
Example:

"Transactional key created successfully"

api_token
string

The generated API token

Example:

"transactional_a1b2c3d4"