Skip to content
BlackLine logo

Connectors / Finance · HTTP Connector

Automate BlackLine with Tray.ai

Create journals, add a journal comment and import account balances in BlackLine. Connect BlackLine to the rest of your finance stack with Tray.ai.

What can you do with BlackLine on Tray.ai?

BlackLine is financial close software for accounting teams, covering account reconciliations, journal entries, transaction matching, close tasks, and variance analysis. Tray.ai connects to BlackLine through the HTTP Connector, so your workflows can call the BlackLine API alongside the rest of your stack.

  • Import account balances from your ERP at month end so reconciliations can begin.
  • Import bank statement balances each day from your bank feed for cash reconciliation.
  • Create journals from approved accruals in your spreadsheet tool so the close moves on.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://us.api.blackline.com

Set it up

Connect BlackLine to Tray.ai

Each step uses BlackLine's own API details, from its documentation.

Step 1

Sign in to BlackLine with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with BlackLine. Sign in once and every step reads the token from there.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://us.api.blackline.com as the base URL. Or paste a cURL example from BlackLine's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List journals”

It's one of 22 documented actions, under Journals. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “Get a journal” and “Create journals” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Give your AI agents BlackLine tools

Build an MCP server on BlackLine in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List journals
  • List journal comments
  • Import account balances
  • Load tasks
  • List report runs
  • Load variance rules
  • Get a journal
  • Create journals

What the BlackLine API covers

6 resources and 22 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Journals

  • List journals
  • Get a journal
  • Create journals
  • Update journals
  • Certify journals
  • Reject a journal

Journal comments

  • List journal comments
  • Add a journal comment
  • Update a journal comment
  • Delete a journal comment

Account reconciliations

  • Import account balances
  • Import reconciliation items
  • Import bank statement balances
  • Get account settings

Tasks

  • Load tasks
  • Load task dependencies

Reports

  • List report runs
  • Get a completed report
  • Start a report export
  • Check export status

Variance

  • Load variance rules
  • Load variance assignments

Checked against BlackLine's own documentation on 2026-10-22

developer.blackline.com/docs/get-started

Frequently asked questions

What can a Tray.ai workflow do in BlackLine?

+

The BlackLine API documents 22 actions across 6 resources (Journals, Journal comments, Account reconciliations, Tasks, Reports, Variance). For example: List journals; List journal comments; Import account balances. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with BlackLine?

+

The BlackLine API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See BlackLine working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.