> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bridgelinepf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# STRAIGHT_THROUGH_NOT_ENABLED

> Sending an agreement through the API isn't turned on for your agency, or the key is a test key.

`403 Forbidden` · type `permission`

**When it happens**

You asked the API to send a finance agreement, with `send: true` on [`POST /v1/quotes/{id}/accept`](https://docs.bridgelinepf.com/api-reference/quotes/accept) or with [`POST /v1/applications/{id}/send`](https://docs.bridgelinepf.com/api-reference/applications/send), and one of these is true:

* Straight-through binding isn't turned on for your agency. It is off by default and Bridgeline turns it on agency by agency, on top of accepting quotes.
* You called send with a test key (`bl_test_`). Sending works with live keys only for now.

Nothing was created and nothing was sent, and the request is not stored under its `Idempotency-Key`. The same key works once it is on.

**What to do**

Ask your Bridgeline contact to turn it on. Until then, accept without `send`, and your broker sends the agreement from the portal.

## Example

```json 403 Forbidden theme={null}
{
  "error": {
    "type": "permission",
    "code": "STRAIGHT_THROUGH_NOT_ENABLED",
    "message": "Sending agreements through the API is not enabled for this agency. Contact Bridgeline.",
    "doc_url": "https://docs.bridgelinepf.com/errors#STRAIGHT_THROUGH_NOT_ENABLED",
    "request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
  }
}
```

See all [error codes](https://docs.bridgelinepf.com/errors.md), or how to [handle errors](https://docs.bridgelinepf.com/guides/errors.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.