Skip to content
Maua.Culturewire

Brex

Corporate cards and spend: transactions, cards and users

Finance and accountingCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API tokenSecretRequired

    Where to find them

    1. As a Brex administrator open “Settings” → “Developer” and click “Create Token”.
    2. Choose the permissions (e.g. read access to transactions and cards) and copy the token: it is shown only once.
    3. Tokens that are not used for 30 days expire.

    Get credentials (opens in a new tab)

Tools (1)

  • Brex API requestBREX_SEND_REQUEST

    Authenticated call to the Brex API (https://platform.brexapis.com). Any endpoint of the API is allowed. Examples: GET /v2/transactions/card/primary?limit=50, GET /v2/accounts/cash, GET /v2/cards, GET /v2/users, GET /v1/expenses/card?limit=50, POST /v2/cards {…}.

    Required scopes

    No scopes required

    Input

    Brex API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.