Skip to content
campaiDeveloper
campai.com

Finance

POST/{organizationId}/finance/receiptInbox/allowedSenders

Update receipt inbox senders

Sets who may send to the receipt inbox: email addresses, and domains whose addresses and subdomains may send. With any set, an email only counts when its sender is verified by a signature of its domain. Empty lets anyone with the address send

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • financesSettings.edit

Request

Path parameters

  • organizationIdidrequired

Body

Content-Type: application/json

  • allowedSendersstring[]required

    at most 100 items · each at most 254 characters · each pattern ^@?([^@\s]+@)?([a-z0-9-]+\.)+[a-z0-9-]{2,}$

Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/finance/receiptInbox/allowedSenders' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

No response body is specified.

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.