Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

BILL Authentication API

The Authentication API from BILL — 5 operation(s) for authentication.

BILL Authentication API is one of 11 APIs that BILL publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 5 operations across 5 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 3.0.0.

Requests are made against 4 base URLs: https://gateway.prod.bill.com/connect/v3, https://gateway.stage.bill.com/connect/v3, https://api.bill.com/v3, https://api-sandbox.bill.com/v3.

5 operations 5 paths 2 schemas 1 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.0.0
Base URL
https://gateway.prod.bill.com/connect/v3
Authentication
API Key
License
Proprietary
Resource Areas
1

Authentication & Security 1

BILL Authentication API declares 1 security scheme for authenticating requests. An API key is passed in the header as sessionId (sessionAuth). By default, every request must be authenticated.

  • sessionAuth — Session identifier obtained from POST /login. Expires after 35 minutes of inactivity. A devKey (developer key) is also required on requests and is sent alongsi…

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 1 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Authentication 5
POST
/login
Sign in to a BILL organization
login body → 2004XX5XX
POST
/logout
Sign out of the current session
logout → 200
POST
/mfa/setup
Add phone for multi-factor authentication
setupMfa → 200
POST
/mfa/challenge
Generate an MFA challenge
challengeMfa → 200
GET
/session
Retrieve current session details
getSession → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are LoginRequest (7 properties), LoginResponse (3 properties). Each schema is shown below with its type and property counts.

LoginResponse
object
3 properties
LoginRequest
object
7 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

bill-authentication-api-openapi.yml Raw ↑

Other APIs BILL publishes across the network.

BILL v3 API
BILL Elements
BILL Bills API
BILL Customers API
BILL Funding Accounts API
BILL Invoices API
BILL Organizations API
BILL Payments API
BILL Vendors API
BILL Webhooks API