---
title: "Retrieve Message to Sign for Webhook Subscription"
method: GET
path: "/api/v1/webhooks/message/{partnerId}"
tags: ["Webhooks"]
---

# Retrieve Message to Sign for Webhook Subscription

`GET /api/v1/webhooks/message/{partnerId}`

Generates a message for the user to sign. This message must be sent on `POST /api/v1/webhooks/subscribe/{partnerId}` to subscribe to webhook notifications.

## Path parameters

- `partnerId` string, required

## Query parameters

- `walletAddress` string

## Response `200`

Message generated successfully

- object
  - `message` string — SIWE message to be signed by the user
  - `nonce` string — Unique nonce for this subscription request

## Other responses

- `400` — Wallet address does not belong to user
- `401` — Authentication required
- `404` — Partner not found
- `422` — Invalid wallet address format
- `500` — Internal Server Error

---

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