API referenceConnections

Retrieve the sender domain restriction

GET/connections/{id}/sender-domains

Optional IAM hardening (customer template 1.6.0+): the connection's sending domains and the exact stack update that sets AllowedSenderDomains to them, so AWS also denies any send from another domain. Stamp0 checks the sender's identity before every send either way.

Authorization

apiKey
AuthorizationBearer <token>

A project API key: Authorization: Bearer s0_…

In: header

Path Parameters

id*string
Length1 <= length <= 64

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/connections/string/sender-domains"
{  "object": "connection_sender_domains",  "connection_id": "string",  "available": true,  "minimum_stack_version": "string",  "domains": [    "string"  ],  "current": [    "string"  ],  "recommended": [    "string"  ],  "status": "unavailable",  "stack_update": {    "stack_name": "string",    "parameters": {      "property1": "string",      "property2": "string"    },    "console_url": "string",    "command": "string"  }}