---
title: "POST /v1/{+name}:adaptMessage"
method: POST
path: "/v1/{+name}:adaptMessage"
tags: ["projects"]
---

# POST /v1/{+name}:adaptMessage

`POST /v1/{+name}:adaptMessage`

Handles a single message from the client and returns the result as a stream. The server will interpret the message frame and respond with message frames to the client.

## Path parameters

- `name` string, required

## Request body

- AdaptMessageRequest — Message sent by the client to the adapter.
  - `protocol` string — Required. Identifier for the underlying wire protocol.
  - `payload` string, byte — Optional. Uninterpreted bytes from the underlying wire protocol.
  - `attachments` object — Optional. Opaque request state passed by the client to the server.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/spanner.md) · [All operations](https://skmtc.net/google/apis/spanner/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/spanner/versions/4b66067d2622/schema)
