Skip to main content

Sign M2M

POST 

/v4/applications/:appId/envs/:appEnv/m2m/:m2mId/sign

This endpoint allows signing a document using the M2M (Machine-to-Machine) process.

Request

Path Parameters

    appId stringrequired

    The application identifier which is used to identify the application used.

    Example: appId_XXXX-XXXX-XXXX-XXXX-XXXX
    appEnv stringrequired

    Possible values: [DEVELOPMENT, STAGING, PRODUCTION]

    The execution environment of the application where request are executed.

    m2mId stringrequired

    The unique identifier of the M2M to use.

Body

    m2mId stringrequired
    title string

    document

    object

    required

    anyOf

    documentType IGNISIGN_DOCUMENT_TYPE (string)required

    Possible values: [PDF, PDF_ENCRYPTED, FILE, DATA_JSON, DATA_XML, PRIVATE_FILE]

    Represents the type of document that can be signed to the Ignisign application.

    documentHash stringrequired
    label string
    externalId string
    documentHashSignedByM2MPrivateKey stringrequired

Responses

The M2M signature response.

Schema

    signatureRequestId stringrequired
    documentId stringrequired
    documentHash stringrequired
Loading...