Project

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

Get project settings

GET /v1/projectId/{projectId}

Parameters

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

Responses

StatusDescription
200OK
403Missing or invalid API key

Response body

FieldTypeRequiredDescription
_idstring
namestring
logoUrlstring
designSystemIdstring
statusstring (sandbox | production | byoAwsSes)New projects start as "sandbox". Sandbox recipients are not restricted, but sending is rate-limited to a low daily cap (a 405 once exceeded, see GET .../sandbox/deliverability) and gets automatically restricted (see the restricted field) if bounce/complaint rates run high. To leave sandbox for real production sending, verify a domain and POST .../production-access - approval is manual, see the Production Access endpoints below.
restrictedbooleanRead-only - set automatically (high bounce/complaint rates) or by bluefox.email staff, never by this API. A restricted, non-byoAwsSes project cannot send at all, regardless of production-access status - applying for or already having production access does not lift a restriction, since the restriction is on bluefox.email's shared sending infrastructure specifically. The only way for a restricted project to resume sending is to switch to BYO-AWS (PATCH .../projectId/{projectId} awsConfig + status: "byoAwsSes"), which uses the project's own AWS account instead of the shared infrastructure.
restrictedReasonstringRead-only. Human-readable reason, present only when restricted is true.
unengagedContactSegmentobject
unengagedContactSegment.groupsarray of objectOR-ed groups of AND-ed conditions - matches the segment builder in the app.
unengagedContactSegment.groups[].conditionsarray of object
unengagedContactSegment.groups[].conditions[].categorystring (contact-property | engagement)
unengagedContactSegment.groups[].conditions[].propertystringA custom contact field name, or "createdAt". Required unless operator is "any" or a tag operator.
unengagedContactSegment.groups[].conditions[].operatorstring (any | equals | does-not-equal | contains | does-not-contain | is-empty | is-not-empty | is-true | is-false | greater-than | greater-than-or-equal | less-than | less-than-or-equal | has-tag | does-not-have-tag | opened | not-opened | clicked | not-clicked | received | not-received | date-equals | date-before | date-after | date-in-last | date-more-than)
unengagedContactSegment.groups[].conditions[].valueanyType depends on operator/property - string, number, boolean, or date string.
awsConfigany
monthlyLimitinteger
autoRemoveFromListany
whiteListarray of stringDomains (bare, e.g. "example.com" - no protocol) allowed to call certain endpoints (like the direct subscribe-to-list endpoint) straight from browser JavaScript, by Origin header, without an API key.
createdAtstring
updatedAtstring

Update project settings

PATCH /v1/projectId/{projectId}

Parameters

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

Request body

FieldTypeRequiredDescription
namestring
logoUrlstringPass an empty string to remove the logo.
unengagedContactSegmentobject
unengagedContactSegment.groupsarray of objectOR-ed groups of AND-ed conditions - matches the segment builder in the app.
unengagedContactSegment.groups[].conditionsarray of object
unengagedContactSegment.groups[].conditions[].categorystring (contact-property | engagement)
unengagedContactSegment.groups[].conditions[].propertystringA custom contact field name, or "createdAt". Required unless operator is "any" or a tag operator.
unengagedContactSegment.groups[].conditions[].operatorstring (any | equals | does-not-equal | contains | does-not-contain | is-empty | is-not-empty | is-true | is-false | greater-than | greater-than-or-equal | less-than | less-than-or-equal | has-tag | does-not-have-tag | opened | not-opened | clicked | not-clicked | received | not-received | date-equals | date-before | date-after | date-in-last | date-more-than)
unengagedContactSegment.groups[].conditions[].valueanyType depends on operator/property - string, number, boolean, or date string.
awsConfigany
statusstring (byoAwsSes)Any other value is ignored - this can only be used to switch INTO byoAwsSes, not to set sandbox/production directly (those come from the production-access review flow).
autoRemoveFromListany
whiteListarray of stringReplaces the whole list. Bare domains only (e.g. "example.com"), no protocol or path.

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
_idstring
namestring
logoUrlstring
designSystemIdstring
statusstring (sandbox | production | byoAwsSes)New projects start as "sandbox". Sandbox recipients are not restricted, but sending is rate-limited to a low daily cap (a 405 once exceeded, see GET .../sandbox/deliverability) and gets automatically restricted (see the restricted field) if bounce/complaint rates run high. To leave sandbox for real production sending, verify a domain and POST .../production-access - approval is manual, see the Production Access endpoints below.
restrictedbooleanRead-only - set automatically (high bounce/complaint rates) or by bluefox.email staff, never by this API. A restricted, non-byoAwsSes project cannot send at all, regardless of production-access status - applying for or already having production access does not lift a restriction, since the restriction is on bluefox.email's shared sending infrastructure specifically. The only way for a restricted project to resume sending is to switch to BYO-AWS (PATCH .../projectId/{projectId} awsConfig + status: "byoAwsSes"), which uses the project's own AWS account instead of the shared infrastructure.
restrictedReasonstringRead-only. Human-readable reason, present only when restricted is true.
unengagedContactSegmentobject
unengagedContactSegment.groupsarray of objectOR-ed groups of AND-ed conditions - matches the segment builder in the app.
unengagedContactSegment.groups[].conditionsarray of object
unengagedContactSegment.groups[].conditions[].categorystring (contact-property | engagement)
unengagedContactSegment.groups[].conditions[].propertystringA custom contact field name, or "createdAt". Required unless operator is "any" or a tag operator.
unengagedContactSegment.groups[].conditions[].operatorstring (any | equals | does-not-equal | contains | does-not-contain | is-empty | is-not-empty | is-true | is-false | greater-than | greater-than-or-equal | less-than | less-than-or-equal | has-tag | does-not-have-tag | opened | not-opened | clicked | not-clicked | received | not-received | date-equals | date-before | date-after | date-in-last | date-more-than)
unengagedContactSegment.groups[].conditions[].valueanyType depends on operator/property - string, number, boolean, or date string.
awsConfigany
monthlyLimitinteger
autoRemoveFromListany
whiteListarray of stringDomains (bare, e.g. "example.com" - no protocol) allowed to call certain endpoints (like the direct subscribe-to-list endpoint) straight from browser JavaScript, by Origin header, without an API key.
createdAtstring
updatedAtstring