Get or provision the workspace's private invoice intake address (ADMIN+)
GET
/organizations/current/inbound-email
const url = 'https://api.invogi.com/v1/organizations/current/inbound-email';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.invogi.com/v1/organizations/current/inbound-email \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Responses
Section titled “Responses”Inbound invoice address, e.g. invoices+k7m2q9xbw4t6v8yz@inbound.invogi.com
Media typeapplication/json
object
address
required
string format: email
statementsAddress
Supplier statements address on the same token, e.g. statements+k7m2q9xbw4t6v8yz@inbound.invogi.com; statements sent here go to /statements
string format: email
bankChangesAddress
Bank-change requests address on the same token, e.g. bank-changes+k7m2q9xbw4t6v8yz@inbound.invogi.com; requests sent here become /bank-change-notices
string format: email
Example generated
{ "address": "hello@example.com", "statementsAddress": "hello@example.com", "bankChangesAddress": "hello@example.com"}Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json