Update the SMTP config for an API key
/v1/email/smtp/configs/{api_key_id}curl -X PATCH "https://us1.platform.bird.com/v1/email/smtp/configs/{api_key_id}" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"category": "marketing",
"tags": [
{
"name": "category",
"value": "welcome"
}
]
}'{
"api_key_id": "key_01krdgeqcxet5s7t44vh8rt9mg",
"category": "marketing",
"tags": [
{
"name": "category",
"value": "welcome"
}
],
"created_at": "2026-05-20T09:14:52Z",
"updated_at": "2026-05-25T16:42:01Z"
}
Sets the default send options applied to messages submitted over SMTP with this API key:
- Which IP pool to send from.
- The content category.
- Tags.
- Open and click tracking.
SMTP submissions have no fields for these, so Bird stores them per key instead.
A field you omit is left unchanged. If no config exists yet for this key, it is created first with the documented defaults (your organization's default pool, transactional category, no tags, tracking on), and omitted fields take those defaults. A key that does not belong to this workspace returns 404.
Parameters
api_key_idstringID of the API key the config applies to, the same key your SMTP client authenticates with.
Request Payload
ip_pool_idID of the IP pool to send from (ipp_ prefix), or ipp_shared to route through the shared pool explicitly. Send null to reset to your organization's default pool, or omit to leave unchanged. An unknown pool, or a pool with no dedicated IPs available to send from, is rejected with a 422.
categoryContent classification, independent of which endpoint messages are submitted through. Controls suppression policy:
marketing: Blocks on all suppression reasons.transactional: Allows delivery through complaint and unsubscribe suppressions.
Omit to leave unchanged.
Possible values: marketing, transactional
tagsStructured {name, value} labels applied to every message submitted over SMTP with this key. Send an empty array to clear all tags, or omit to leave unchanged.
Show child parameters
tags.nameTag name. ASCII letters, digits, underscore, and hyphen only. Case-sensitive. Maximum 32 characters.
tags.valueTag value. ASCII letters, digits, underscore, and hyphen only. Case-sensitive. Maximum 64 characters.
track_opensWhether to track open events for messages submitted over SMTP with this key. Omit to leave unchanged.
track_clicksWhether to track click events for messages submitted over SMTP with this key. Omit to leave unchanged.
Response Payload
api_key_idID of the API key this config applies to, the same key your SMTP client authenticates with. One config exists per key.
ip_pool_idID of the IP pool that SMTP sends with this key use, or ipp_shared for the shared pool. null when this key uses your organization's default pool.
categoryContent classification applied to messages submitted over SMTP with this key. Controls suppression policy:
marketing: Blocks on all suppression reasons.transactional: Allows delivery through complaint and unsubscribe suppressions.
Possible values: marketing, transactional
tagsStructured {name, value} labels applied to every message submitted over SMTP with this key, the same tags used by the email sending API. Use tags to filter and break down your email statistics.
Show child attributes
tags.nameTag name. ASCII letters, digits, underscore, and hyphen only. Case-sensitive. Maximum 32 characters.
tags.valueTag value. ASCII letters, digits, underscore, and hyphen only. Case-sensitive. Maximum 64 characters.
track_opensWhether open events are tracked for messages submitted over SMTP with this key.
track_clicksWhether click events are tracked for messages submitted over SMTP with this key.
created_atupdated_atRelated resources
Continue with the documentation, guides and examples for this topic.