AhaSend Go SDK
SMTP Credentials
Create SMTP Credential
Creates a new SMTP credential for SMTP authentication
POST
AhaSend Go SDK
Authorizations
API key for authentication
Headers
Optional idempotency key for safe request retries. Must be a unique string for each logical request. Requests with the same key will return the same response. Keys expire after 24 hours.
Maximum string length:
255Path Parameters
Account ID
Body
application/json
Response
SMTP credential created successfully
Object type identifier
Available options:
credential_smtp Unique identifier for the SMTP credential
When the credential was created
When the credential was last updated
Credential name
SMTP username
Whether this is a sandbox credential
Credential scope
Available options:
global, scoped SMTP password. Returned only when the credential is created.
Domains this credential can send from

