Divvy · Schema

LoginRequestDto

API login

CompanyPaymentsSpend ManagementCorporate CardsExpense ManagementFintechBills

Properties

Name Type Description
devKey string Developer key sent to you by BILL when you create a developer account
username string Email address used to sign in to your BILL account
password string Password used to sign in to your BILL account
consoleApiToken string Console API token. As a BILL Accountant Console user, use `POST /v3/login` to sign in to a client organization. * `username`: Your BILL Accountant Console email address * `consoleApiToken`: Your Conso
organizationId string Organization ID
rememberMeId string MFA ID. Set this field for creating an MFA-trusted API session. This MFA ID is generated when you set `rememberMe` as `true` in your `POST /v3/mfa/challenge/validate` request. This value expires in 30
device string Mobile device name. This is a nickname for your mobile device. Set this field when you set `rememberMeId`.
View JSON Schema on GitHub

JSON Schema

divvy-login-request-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divvy/json-schema/divvy-login-request-dto-schema.json",
  "title": "LoginRequestDto",
  "description": "API login",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/divvy-authentication-api-openapi.yml#/components/schemas/LoginRequestDto",
  "required": [
    "devKey",
    "organizationId",
    "username"
  ],
  "type": "object",
  "properties": {
    "devKey": {
      "type": "string",
      "description": "Developer key sent to you by BILL when you create a developer account"
    },
    "username": {
      "type": "string",
      "description": "Email address used to sign in to your BILL account"
    },
    "password": {
      "type": "string",
      "description": "Password used to sign in to your BILL account"
    },
    "consoleApiToken": {
      "type": "string",
      "description": "Console API token.\n\nAs a BILL Accountant Console user, use `POST /v3/login` to sign in to a client organization.\n* `username`: Your BILL Accountant Console email address\n* `consoleApiToken`: Your Console API token\n* `devKey`: Developer key of the client organization\n* `organizationId`: Organization ID of the client organization\n\nSee [BILL Accountant Console operations](https://developer.bill.com/docs/bill-accountant-console-operations) for more information."
    },
    "organizationId": {
      "type": "string",
      "description": "Organization ID"
    },
    "rememberMeId": {
      "type": "string",
      "description": "MFA ID. Set this field for creating an MFA-trusted API session.\n\nThis MFA ID is generated when you set `rememberMe` as `true` in your `POST /v3/mfa/challenge/validate` request. This value expires in 30 days.\n\nSee [Validate MFA challenge](https://developer.bill.com/reference/validatechallenge) for more information."
    },
    "device": {
      "type": "string",
      "description": "Mobile device name. This is a nickname for your mobile device. Set this field when you set `rememberMeId`."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/divvy-login-request-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.