---
title: "Accept captain and boat bids"
method: POST
path: "/api/v1/customers/me/gigs/{id}/bids/accept"
tags: ["Customer Gigs"]
---

# Accept captain and boat bids

`POST /api/v1/customers/me/gigs/{id}/bids/accept`

## Request

- Base URL: `http://localhost:3002`
- URL: `http://localhost:3002/api/v1/customers/me/gigs/{id}/bids/accept`
- Auth: HTTP bearer

Atomically accepts captain and/or boat bids on a two-slot open gig owned by the authenticated customer.

## Path parameters

- `id` string, required

## Request body

- object
  - `captainBidId` string, nullable
  - `boatBidId` string, nullable

## Response `200`

Bids accepted

- object
  - `data` object, required
    - `ok` true, required

## Other responses

- `400`: Request body or query parameters failed validation.
- `401`: Authentication required, or the bearer token is missing or invalid.
- `403`: Authenticated but not permitted to access this resource.
- `404`: The requested resource does not exist (existence is not leaked).

---

[API](https://skmtc.dev/chartercaptain/apis/charter-captain-api.md) · [All operations](https://skmtc.dev/chartercaptain/apis/charter-captain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chartercaptain/apis/charter-captain-api/revisions/1ffea1113adb?raw)
