---
title: "Attach Metadata to a Signature Request"
method: POST
path: "/signature_requests/{signatureRequestId}/metadata"
tags: ["Metadata"]
---

# Attach Metadata to a Signature Request

`POST /signature_requests/{signatureRequestId}/metadata`

Add Metadata to a given Signature Request.

## Path parameters

- `signatureRequestId` string, uuid, required — The unique identifier for a resource.

## Request body

- Metadata
  - `event_id` string, uuid, required — A unique identifier for this webhook event.
  - `event_name` string, required — The name of the webhook event that was triggered.
  - `event_time` string, required — The timestamp (Unix epoch format) when the event occurred. It will stay constant even through retries.
  - `subscription_id` string, uuid, required — The unique identifier of the webhook subscription that received this event.
  - `subscription_description` string, required — Description of the webhook subscription.
  - `sandbox` boolean, required — A boolean indicating whether this event was triggered in a sandbox environment (`true`) or in production (`false`).

## Response `201`

Created

- Metadata
  - `event_id` string, uuid, required — A unique identifier for this webhook event.
  - `event_name` string, required — The name of the webhook event that was triggered.
  - `event_time` string, required — The timestamp (Unix epoch format) when the event occurred. It will stay constant even through retries.
  - `subscription_id` string, uuid, required — The unique identifier of the webhook subscription that received this event.
  - `subscription_description` string, required — Description of the webhook subscription.
  - `sandbox` boolean, required — A boolean indicating whether this event was triggered in a sandbox environment (`true`) or in production (`false`).

## Other responses

- `400` — Bad request
- `401` — Access unauthorized
- `403` — Access forbidden
- `404` — Resource not found
- `405` — This method is not allowed
- `415` — UnsupportedMediaType
- `429` — Too Many Requests, please try again later.
- `500` — Internal Server Error

---

[API](https://skmtc.net/yousign/apis/public-api-v3.md) · [All operations](https://skmtc.net/yousign/apis/public-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yousign/public-api-v3/revisions/8d258c0b45d6/schema)
