Below we provide example Bark Financial API routes. For LLM use, these are translated to tool definitions in Python.

Authentication

GET /user/id

Obtain an id for the user. A user id is required to call other endpoints that return or modify user specific data.

When used by a LLM agent, the harness will manage the user id. The agent may use the special string <user_id> as a placeholder in subsequent requests. If a user id is not available, all requests that require one will immediately fail.

User id will automatically be available for logged in users.

Parameters:

Response:


POST /user/mfa-sms

Send a multi factor authentication code to the user’s phone number on file.