# Send one deal to one lender

Shares ONE deal with ONE lender across the workspace wall: `rowId` names the submission on this workspace's own board, and the lender is either `lenderId` (a record on your Lenders board) or `lenderTenantId` (the receiving workspace). For several lenders in one call reach for `post_submissions_bulk`; to see where the sends already stand, `get_submissions`.

Access class: `workspace`.

## Endpoint

`POST /v1/submissions`

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "lenderId": "",
    "lenderTenantId": 1,
    "merchantKey": "string",
    "merchantState": "string",
    "rowId": ""
  },
  "params": {},
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "channel": "string",
    "counterAmountMinor": 1,
    "counterFactorRate": 1.5,
    "counterTermMonths": 1,
    "createdAt": "string",
    "dealRowId": "",
    "decidedAt": "string",
    "declineCode": "string",
    "direction": "string",
    "id": "",
    "lenderEmail": "string",
    "lenderRowId": "",
    "mayMove": [
      "string"
    ],
    "merchantKey": "string",
    "offeredAmountMinor": 1,
    "offeredFactorRate": 1.5,
    "offeredPaymentAmountMinor": 1,
    "offeredTermMonths": 1,
    "preparedMessage": {
      "body": "string",
      "notes": "string",
      "subject": "string"
    },
    "receivingTenantId": 1,
    "record": {
      "archived_at": "string",
      "assignees": {},
      "cells": {},
      "createdBy": "string",
      "display": {},
      "externalId": "",
      "groupId": "",
      "id": "",
      "position": 1,
      "source": "string"
    },
    "responseReceivedAt": "string",
    "sentAs": "string",
    "sharedByUserId": 1,
    "sharingTenantId": 1,
    "status": "string",
    "statusChangedAt": "string",
    "statusChangedByTenantId": 1,
    "statusReason": "string",
    "submissionRowId": "",
    "submittedAt": "string",
    "updatedAt": "string",
    "withdrawnAt": "string"
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
