---
updatedAt: 2026-06-16T00:14:52.000Z
agentTools:
  projectIndex: https://developer.ironcladapp.com/llms.txt
---

# Update Custom Signature Request Status (BYOSP)

Inbound webhook endpoint for Bring Your Own Signature Provider (BYOSP) middleware. The customer-built middleware posts signature lifecycle events here so Ironclad can update the corresponding signature request and fire workflow events.

**OAuth Scope required:** `public.signatureRequests.updateRequest`

Returns `204 No Content` on success. Idempotent — once an envelope has reached `completed` or `voided`, subsequent pushes are no-ops.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Ironclad Public API",
    "description": "Documentation for Ironclad's REST API.\n\n## Pagination\n\nList endpoints (for example `/obligations`, `/records`, `/entities`, and `/workflows`) return results one page at a time. Request pages with the `page` (zero-based) and `pageSize` query parameters; see the `pageSize` parameter on each endpoint for its default and maximum. Each response echoes `page` and `pageSize` and includes `count` (the total number of items matching the query across ALL pages) and `list` (the items on the current page). When `count` is greater than the number of items you have retrieved so far, request the next page by incrementing `page` until you have collected everything you need.",
    "contact": {
      "name": "Ironclad Support",
      "email": "support@ironcladapp.com"
    },
    "version": "1"
  },
  "servers": [
    {
      "url": "https://ironcladapp.com/public/api/v1",
      "description": "Production server"
    },
    {
      "url": "https://eu1.ironcladapp.com/public/api/v1",
      "description": "EU Production server"
    },
    {
      "url": "https://demo.ironcladapp.com/public/api/v1",
      "description": "Demo server"
    }
  ],
  "paths": {
    "/signature-requests/{id}": {
      "patch": {
        "summary": "Update Custom Signature Request Status (BYOSP)",
        "description": "Inbound webhook endpoint for Bring Your Own Signature Provider (BYOSP) middleware. The customer-built middleware posts signature lifecycle events here so Ironclad can update the corresponding signature request and fire workflow events.\n\n**OAuth Scope required:** `public.signatureRequests.updateRequest`\n\nReturns `204 No Content` on success. Idempotent — once an envelope has reached `completed` or `voided`, subsequent pushes are no-ops.",
        "operationId": "update-custom-signature-request-status",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The signature request (envelope) id, echoed from the initiation call."
          }
        ],
        "security": [
          {
            "sec0": [],
            "OAuth2": [
              "public.signatureRequests.updateRequest"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomStatusUpdateBody"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "204"
          },
          "400": {
            "description": "Malformed request body, or an inbound signer role not present in the original signature request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "MISSING_PARAM"
                    },
                    "message": {
                      "type": "string",
                      "example": "reason why something has gone wrong"
                    },
                    "param": {
                      "type": "string",
                      "example": "parameter identifier"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError401"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenError403"
          },
          "404": {
            "description": "Unknown signatureRequestId.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "NOT_FOUND"
                    },
                    "message": {
                      "type": "string",
                      "example": "not found"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Workflows"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "CustomStatusUpdateBody": {
        "title": "Custom Signature Status Update",
        "description": "Inbound payload posted by BYOSP middleware to update a custom signature request. Idempotent at the envelope level — once `completed` or `voided`, subsequent pushes are no-ops.",
        "type": "object",
        "additionalProperties": false,
        "required": [
          "status",
          "signatures"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "completed",
              "voided"
            ],
            "example": "completed",
            "description": "Envelope-level state. Ironclad trusts this field over signer-level inference (e.g., all signers signed but envelope still `pending` keeps the envelope open)."
          },
          "signatures": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "roleName",
                "signer",
                "status"
              ],
              "properties": {
                "roleName": {
                  "type": "string",
                  "example": "Buyer",
                  "description": "Role name for this signer. Must be one of the roleNames sent in the initiation request; unknown values cause a 400. roleName is the only identifier round-tripped through the BYOSP middleware — Ironclad does not assign a separate signerId on the wire."
                },
                "signer": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "email"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "example": "Kim Lam",
                      "description": "The signer's full name."
                    },
                    "email": {
                      "type": "string",
                      "format": "email",
                      "example": "kimlam@example.com",
                      "description": "The signer's email address."
                    }
                  }
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "awaiting_signature",
                    "signed",
                    "declined"
                  ],
                  "example": "signed",
                  "description": "This signer's current state: `awaiting_signature` before they act, `signed` once they complete signing, or `declined` if they refuse. Distinct from the envelope-level `status`."
                },
                "declineReason": {
                  "type": "string",
                  "example": "Counterparty requested changes to the payment terms.",
                  "description": "Free-form reason captured at decline time. Surfaced in the workflow activity log. Only persisted when `status` is `declined`; ignored otherwise."
                },
                "firstViewedAt": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2026-01-15T09:30:00Z",
                  "description": "First-viewed-at timestamp; once set on a signer it is not overwritten by subsequent updates."
                }
              }
            }
          }
        }
      }
    },
    "responses": {
      "UnauthorizedError401": {
        "description": "401",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "UNAUTHORIZED"
                  ],
                  "example": "UNAUTHORIZED"
                },
                "message": {
                  "type": "string",
                  "example": "invalid authentication token"
                }
              }
            },
            "examples": {
              "invalidToken": {
                "value": {
                  "code": "UNAUTHORIZED",
                  "message": "invalid authentication token"
                }
              },
              "revokedToken": {
                "value": {
                  "code": "UNAUTHORIZED",
                  "message": "token has been revoked"
                }
              },
              "expiredToken": {
                "value": {
                  "code": "UNAUTHORIZED",
                  "message": "token has expired"
                }
              }
            }
          }
        }
      },
      "ForbiddenError403": {
        "description": "403",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "example": "FORBIDDEN"
                },
                "message": {
                  "type": "string",
                  "example": "access forbidden"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      },
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://ironcladapp.com/oauth/authorize",
            "tokenUrl": "https://ironcladapp.com/oauth/token",
            "scopes": {
              "public.records.createRecords": "Create Records",
              "public.records.readRecords": "Read Records",
              "public.records.updateRecords": "Update Records",
              "public.records.updateRecordPermissions": "Update Record Permissions",
              "public.records.deleteRecords": "Delete Records",
              "public.records.readSchemas": "Read Record Schemas",
              "public.records.createAttachments": "Create Record Attachments",
              "public.records.readAttachments": "Read Record Attachments",
              "public.records.deleteAttachments": "Delete Record Attachments",
              "public.records.createSmartImportRecords": "Create Records via Smart Import",
              "public.records.readSmartImportRecords": "Read Record Import Details from Smart Import",
              "public.records.applyContractAction": "Apply Contract Actions",
              "public.webhooks.createWebhooks": "Create Webhooks",
              "public.webhooks.readWebhooks": "Read Webhooks",
              "public.webhooks.updateWebhooks": "Update Webhooks",
              "public.webhooks.deleteWebhooks": "Delete Webhooks",
              "public.workflows.createWorkflows": "Create Workflows",
              "public.workflows.readWorkflows": "Read Workflows",
              "public.workflows.updateWorkflows": "Update Workflows",
              "public.workflows.createFromSource": "Launch Workflow from Attribute Source",
              "public.workflows.updateFromSource": "Refresh Workflow from Attribute Source",
              "public.workflows.readApprovals": "Read Workflow Approvals",
              "public.workflows.updateApprovals": "Update Workflow Approvals",
              "public.workflows.readSignatures": "Read Workflow Signatures",
              "public.workflows.uploadSignedDocuments": "Upload Signed Workflow Documents",
              "public.workflows.readParticipants": "Read Workflow Participants",
              "public.workflows.readRoleAssignees": "Read Workflow Role Eligible Assignees",
              "public.workflows.updateRoleAssignment": "Update Workflow Role Assignment",
              "public.workflows.revertToReview": "Revert Workflows to Review",
              "public.workflows.cancel": "Cancel Workflows",
              "public.workflows.pauseAndResume": "Resume and Pause Workflows",
              "public.workflows.createComments": "Create Workflow Comments",
              "public.workflows.readComments": "Read Workflow Comments",
              "public.workflows.createDocuments": "Create Workflow Documents",
              "public.workflows.readDocuments": "Read Workflow Documents",
              "public.workflows.updateSignaturePacket": "Update Signature Packet",
              "public.workflows.readSchemas": "Read Workflow Schemas",
              "public.workflows.readTurnHistory": "Read Workflow Turn History",
              "public.workflows.readEmailCommunications": "Read Workflow Email Communications",
              "public.workflows.readSignStatus": "Read Sign Status",
              "public.records.createComments": "Create Workflow Comments",
              "public.export.createReports": "Create Reports",
              "public.export.readReports": "Read Reports",
              "public.workflows.createSignatureRecipientUrls": "Create Signature Request Recipient URLs",
              "public.workflows.createEmbeddableSignerUrls": "Create Embeddable Signature Request Recipient URLs",
              "public.workflows.sendSignatureRequests": "Send Signature Requests",
              "public.workflows.cancelSignatureRequests": "Cancel Signature Requests",
              "public.workflows.deleteSigners": "Delete Signers",
              "public.workflows.remindSigners": "Remind Signers",
              "public.workflows.updateSigners": "Update Signers",
              "public.entities.readRelationshipTypes": "Read Relationship Types",
              "public.entities.updateEntities": "Update Entities",
              "public.entities.deleteEntities": "Delete Entities",
              "public.entities.createEntities": "Create Entities",
              "public.entities.readEntities": "Read Entities",
              "public.obligations.readObligations": "Read Obligations",
              "public.obligations.createObligations": "Create Obligations",
              "public.obligations.updateObligations": "Update Obligations",
              "public.obligations.deleteObligations": "Delete Obligations",
              "public.workflows.scheduleSendSignatureRequest": "Schedule Send Signature Request",
              "public.workflows.updateScheduledSignatureRequest": "Update Scheduled Signature Request",
              "public.workflows.deleteScheduledSignatureRequest": "Delete Scheduled Signature Request",
              "public.signatureRequests.updateRequest": "Update Custom Signature Request Status",
              "public.search.conversational": "Run Conversational agent Search",
              "public.adapters.triggerFlow": "Trigger Adapter Flows"
            }
          },
          "clientCredentials": {
            "tokenUrl": "https://ironcladapp.com/oauth/token",
            "scopes": {
              "public.records.createRecords": "Create Records",
              "public.records.readRecords": "Read Records",
              "public.records.updateRecords": "Update Records",
              "public.records.updateRecordPermissions": "Update Record Permissions",
              "public.records.deleteRecords": "Delete Records",
              "public.records.readSchemas": "Read Record Schemas",
              "public.records.createAttachments": "Create Record Attachments",
              "public.records.readAttachments": "Read Record Attachments",
              "public.records.deleteAttachments": "Delete Record Attachments",
              "public.records.createSmartImportRecords": "Create Records via Smart Import",
              "public.records.readSmartImportRecords": "Read Record Import Details from Smart Import",
              "public.records.applyContractAction": "Apply Contract Actions",
              "public.webhooks.createWebhooks": "Create Webhooks",
              "public.webhooks.readWebhooks": "Read Webhooks",
              "public.webhooks.updateWebhooks": "Update Webhooks",
              "public.webhooks.deleteWebhooks": "Delete Webhooks",
              "public.workflows.createWorkflows": "Create Workflows",
              "public.workflows.readWorkflows": "Read Workflows",
              "public.workflows.updateWorkflows": "Update Workflows",
              "public.workflows.createFromSource": "Launch Workflow from Attribute Source",
              "public.workflows.updateFromSource": "Refresh Workflow from Attribute Source",
              "public.workflows.readApprovals": "Read Workflow Approvals",
              "public.workflows.updateApprovals": "Update Workflow Approvals",
              "public.workflows.readSignatures": "Read Workflow Signatures",
              "public.workflows.uploadSignedDocuments": "Upload Signed Workflow Documents",
              "public.workflows.readParticipants": "Read Workflow Participants",
              "public.workflows.readRoleAssignees": "Read Workflow Role Eligible Assignees",
              "public.workflows.updateRoleAssignment": "Update Workflow Role Assignment",
              "public.workflows.revertToReview": "Revert Workflows to Review",
              "public.workflows.cancel": "Cancel Workflows",
              "public.workflows.pauseAndResume": "Resume and Pause Workflows",
              "public.workflows.createComments": "Create Workflow Comments",
              "public.workflows.readComments": "Read Workflow Comments",
              "public.workflows.createDocuments": "Create Workflow Documents",
              "public.workflows.readDocuments": "Read Workflow Documents",
              "public.workflows.updateSignaturePacket": "Update Signature Packet",
              "public.workflows.readSchemas": "Read Workflow Schemas",
              "public.workflows.readTurnHistory": "Read Workflow Turn History",
              "public.workflows.readEmailCommunications": "Read Workflow Email Communications",
              "public.records.createComments": "Create Workflow Comments",
              "public.export.createReports": "Create Reports",
              "public.export.readReports": "Read Reports",
              "public.workflows.createSignatureRecipientUrls": "Create Signature Request Recipient URLs",
              "public.workflows.createEmbeddableSignerUrls": "Create Embeddable Signature Request Recipient URLs",
              "public.workflows.sendSignatureRequests": "Send Signature Requests",
              "public.workflows.cancelSignatureRequests": "Cancel Signature Requests",
              "public.workflows.deleteSigners": "Delete Signers",
              "public.workflows.remindSigners": "Remind Signers",
              "public.workflows.updateSigners": "Update Signers",
              "public.entities.readRelationshipTypes": "Read Relationship Types",
              "public.entities.updateEntities": "Update Entities",
              "public.entities.deleteEntities": "Delete Entities",
              "public.entities.createEntities": "Create Entities",
              "public.entities.readEntities": "Read Entities",
              "public.obligations.readObligations": "Read Obligations",
              "public.obligations.createObligations": "Create Obligations",
              "public.obligations.updateObligations": "Update Obligations",
              "public.obligations.deleteObligations": "Delete Obligations",
              "public.workflows.scheduleSendSignatureRequest": "Schedule Send Signature Request",
              "public.workflows.updateScheduledSignatureRequest": "Update Scheduled Signature Request",
              "public.workflows.deleteScheduledSignatureRequest": "Delete Scheduled Signature Request",
              "public.signatureRequests.updateRequest": "Update Custom Signature Request Status",
              "public.adapters.triggerFlow": "Trigger Adapter Flows"
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Workflows",
      "description": "Documentation on Ironclad Workflows."
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-languages": [
      "curl",
      "node",
      "ruby",
      "javascript",
      "python"
    ]
  }
}
```