BizKitHub
DocsAPI ReferenceEmailer/bff/emailer-incoming/set-api-key
postEmailerAdmin BFF

/bff/emailer-incoming/set-api-key

Validates the supplied Resend API key by hitting /emails/receiving?limit=1 and, on success, persists it into cas__organisation_configuration (key resend_api_key). Presence of this key enables the 10-minute inbound sync cron for this organisation.

EmailerpostBffEmailer-incomingSet-api-key

Parameters

1 body

1 total
Body · 1
apiKeystringRequired

Full-access Resend API key (starts with re_). Used only for inbound message polling.

Request

POST /bff/emailer-incoming/set-api-key

post
curl -X POST "https://api.bizkithub.com/bff/emailer-incoming/set-api-key" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "apiKey": "re_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}'

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key