---
title: "Sign EIP-191 message via end user EVM account"
method: POST
path: "/v2/embedded-wallet-api/end-users/{userId}/evm/sign/message"
tags: ["End User Accounts"]
---

# Sign EIP-191 message via end user EVM account

`POST /v2/embedded-wallet-api/end-users/{userId}/evm/sign/message`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/embedded-wallet-api/end-users/{userId}/evm/sign/message`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Signs an [EIP-191](https://eips.ethereum.org/EIPS/eip-191) message with the given end user EVM account.

Per the specification, the message in the request body is prepended with `0x19 <0x45 (E)> <thereum Signed Message:\n" + len(message)>` before being signed.

## Path parameters

- `userId` string, required

## Query parameters

- `projectID` string

## Headers

- `X-Wallet-Auth` string
- `X-Idempotency-Key` string
- `X-Developer-Auth` string

## Request body

- object
  - `address` string, required: The 0x-prefixed address of the EVM account belonging to the end user.
  - `message` string, required: The message to sign.
  - `walletSecretId` string: Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.

## Response `200`

Successfully signed message.

- object
  - `signature` string, required: The signature of the message, as a 0x-prefixed hex string.

## Other responses

- `401`: Unauthorized.
- `402`: A payment method is required to complete this operation.
- `403`: The request was rejected due to a delegation issue. The errorType field indicates the specific reason.
- `404`: Not found.
- `409`: The resource already exists.
- `422`: Idempotency key conflict.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 9 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `401`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `402`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `403`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `404`
  - …5 more
- **2026-10-16** `ff3c1fdef902`: 9 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `401`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `402`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `403`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `404`
  - …5 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/embedded-wallet-api/end-users/:userId/evm/sign/message/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
