---
updatedAt: 2026-10-20T00:20:03.000Z
agentTools:
  projectIndex: https://docs.signeasy.com/llms.txt
---

# Cancel a signature request

Cancel an embedded sending envelope that's still out for signature.

Add a `message` to tell your signers why. They get it in the cancellation email, and the [rs.voided](https://docs.signeasy.com/reference/rsvoided) webhook event fires.

The `pending_file_id` comes back in the [Fetch embedded sending URL](https://docs.signeasy.com/reference/fetch-rs-sending-url) response. It's also added to your `redirect_url` as a query parameter once the sender finishes.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "signeasy-api-v3",
    "version": "3"
  },
  "servers": [
    {
      "url": "https://api.signeasy.com/v3"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "bearer",
        "description": "Send your access token in the `Authorization` header as `Bearer <access_token>`."
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rs/embedded/{pending_file_id}/cancel": {
      "post": {
        "summary": "Cancel a signature request",
        "description": "Cancel an embedded sending envelope that's still out for signature.",
        "operationId": "cancel-embedded-rs",
        "parameters": [
          {
            "name": "pending_file_id",
            "in": "path",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "message": {
                    "type": "string",
                    "description": "A cancellation message. The message will be associated with the cancelled envelope."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing, expired, or invalid access token",
            "content": {
              "application/json": {
                "examples": {
                  "Invalid token": {
                    "value": {
                      "error": "unauthorized",
                      "message": "The server could not verify that you are authorized to accessthe URL requested. You either supplied the wrong authorization token,or you used an authorization token which doesn't have required scopes."
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "The envelope is already cancelled, or it's an unfinished embedded send",
            "content": {
              "application/json": {
                "examples": {
                  "Not allowed": {
                    "value": {
                      "error_code": "action_not_allowed",
                      "msg": "User 1234567 is not allowed to 'Cancel' the transaction 7654321"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The file doesn't exist or was already deleted",
            "content": {
              "application/json": {
                "examples": {
                  "Not found": {
                    "value": {
                      "error_code": "not_found",
                      "msg": "The requested file has already been deleted or does not exist."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```