BYO AWS

Full reference for the BYO AWS resource in the bluefox.email API. See the API overview for authentication, the response envelope, and pagination.

Validate BYO-AWS credentials

POST /v1/projectId/{projectId}/aws-check

Checks credentials directly against SES - confirms they work, every sender identity is actually verified in SES, and the requested limit is within the account's max send rate. Does not persist anything - pair with PATCH /v1/projectId/{projectId} to save. Only relevant for BYO-AWS projects; calling this with nothing stored and no override fields will fail since there is nothing to check - that is not itself a sign anything is misconfigured, most projects simply do not use BYO-AWS. Use GET .../production-access for a project on bluefox.email's shared infrastructure instead.

Parameters

NameInTypeRequiredDescription
projectIdpathstringyesThe project _id, found in the app under Project Settings.

Request body

FieldTypeRequiredDescription
roleArnstring
accessKeyIdstring
secretAccessKeystring
regionstring
limitinteger
senderIdentitiesarray of object
senderIdentities[]._idstring
senderIdentities[].namestring
senderIdentities[].emailstring

Responses

StatusDescription
200OK
400Invalid request body or query - every violation found (missing/invalid/unexpected fields) is reported in one response, semicolon-separated, not just the first one hit.
403Missing or invalid API key

Response body

FieldTypeRequiredDescription
successboolean

GET /v1/projectId/{projectId}/cloudformation-link

Generates (once, then reuses) the project's external ID and returns a CloudFormation quick-create link for the STS role bluefox.email needs to send through the project's own AWS account.

Parameters

NameInTypeRequiredDescription
projectIdpathstringyesThe project _id, found in the app under Project Settings.

Responses

StatusDescription
200OK
403Missing or invalid API key

Response body

FieldTypeRequiredDescription
linkstringCloudFormation quick-create URL for the STS role bluefox.email needs to send through this project's own AWS account.