API referenceEmail Providers
Connect an email provider
Checks the key and installs the delivery webhook on the account; the key is stored encrypted.
POST
Checks the key and installs the delivery webhook on the account; the key is stored encrypted.
idempotency-key?stringRun this write once: a retry with the same key gets the first answer (24 hours).
Length
1 <= length <= 255application/json- body
kind*"resend"Value in
"resend"name*stringLength
1 <= length <= 100apiKey*stringMatch
^re_[A-Za-z0-9_]{8,200}$Created
application/json- response
id*stringFormat
uuidkind*"resend"Value in
"resend"name*stringstatus*stringValue in
"connected""needs_attention""disconnected"attentionReason*|Value in
"key_rejected""quota_reached""webhook_missing"nullkeyHint*string|nullrequestsPerSecond*integerconnectedAt*stringFormat
date-timecheckedAt*|Format
date-timedisconnectedAt*|Format
date-timecurl -X POST 'https://api.postforge.dev/v1/email-providers' \ -H 'Content-Type: application/json' \ -d '{ "kind": "resend", "name": "string", "apiKey": "string"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "resend", "name": "string", "status": "connected", "attentionReason": "key_rejected", "keyHint": "string", "requestsPerSecond": 0, "connectedAt": "2019-08-24T14:15:22Z", "checkedAt": "2019-08-24T14:15:22Z", "disconnectedAt": "2019-08-24T14:15:22Z"}