Allowlist an inbox sender
Allow an email address or a whole domain to send bills to the inbox. Public email domains such as gmail.com can’t be allowed as a domain.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
Body
Allowlist an email address or a whole domain for the accounts-payable inbox.
Response
The allowlisted sender.
An email address or domain the legal entity has allowlisted for its accounts-payable inbox. Invoices from an allowlisted sender become draft bills even when the sender is not a user, on the company's domain, or a known vendor.