---
title: "Set Effective Date and Time"
url: "https://developer.pexa.co.uk/apis/pexa-sign-v1-v1/versions/5e3ae08c-860a-4c76-b78b-6bb5b4ae4cba/operations/primeSigningDocument"
---

> Full API specification: https://developer.pexa.co.uk/apis/pexa-sign-v1-v1/versions/5e3ae08c-860a-4c76-b78b-6bb5b4ae4cba.md

# Set Effective Date and Time

`POST` `/partner/api/platformconnect/v1/signing-instructions/{signingInstructionId}/signing-documents/{signingDocumentId}/prime`

Operation ID: `primeSigningDocument`

This API is used to set or update the effective date and time that will be primed to the signed document for both PEXA and Non-PEXA cases.

## Path parameters

- `signingInstructionId` (string, uuid, required) - Unique identifier of the signing instruction
- `signingDocumentId` (string, uuid, required) - Unique identifier of the signing document to prime

## Header parameters

- `X-Request-Correlation-Id` (string, optional)

## Request body (required)

Content types: `application/json`

## Responses

- `202` - ACCEPTED
- `400` - BAD REQUEST
- `401` - UNAUTHORIZED
- `403` - FORBIDDEN
- `404` - NOT FOUND
- `409` - CONFLICT
- `500` - INTERNAL SERVER ERROR
- `503` - SERVICE UNAVAILABLE

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: PEXA Sign
  version: v1
servers:
  - url: https://api.pexa.co.uk
    description: API Gateway URL
paths:
  /partner/api/platformconnect/v1/signing-instructions/{signingInstructionId}/signing-documents/{signingDocumentId}/prime:
    post:
      tags:
        - Signing
      summary: Set Effective Date and Time
      description: >
        This API is used to set or update the effective date and time that will
        be primed to the signed document for both PEXA and Non-PEXA cases.
      operationId: primeSigningDocument
      security:
        - oauth2:
            - x-api:edit:signing_instructions
            - edit:signing_instructions
      parameters:
        - in: header
          name: X-Request-Correlation-Id
          schema:
            type: string
            description: The unique identifier for the request
        - name: signingInstructionId
          in: path
          required: true
          description: Unique identifier of the signing instruction
          schema:
            type: string
            format: uuid
          example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
        - name: signingDocumentId
          in: path
          required: true
          description: Unique identifier of the signing document to prime
          schema:
            type: string
            format: uuid
          example: b2c3d4e5-f6a7-8901-bcde-f23456789012
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - effectiveDate
              properties:
                effectiveDate:
                  type: string
                  description: >
                    The effective date and time to stamp on the signing
                    document.

                    Format: DD/MM/YYYY, HH:MM:SS
                  pattern: ^\b(0[1-9]|[12]\d|3[01])\/(0[1-9]|1[0-2])\/\d{4},\s([01]\d|2[0-3]):[0-5]\d:[0-5]\d\b$
                  example: 15/07/2026, 14:30:00
      responses:
        "202":
          description: ACCEPTED
          headers:
            X-API-Version:
              schema:
                type: string
                description: The API version that was used to process the request.
            X-Request-Correlation-Id:
              schema:
                type: string
                description: The unique identifier for the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  signingInstructionId:
                    type: string
                    format: uuid
                    description: Unique identifier of the signing instruction
                    example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                  signingDocumentId:
                    type: string
                    format: uuid
                    description: Unique identifier of the signing document
                    example: b2c3d4e5-f6a7-8901-bcde-f23456789012
                  status:
                    type: string
                    description: Current status of the signing document after priming
                    example: PRIMING
              example:
                signingInstructionId: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                signingDocumentId: b2c3d4e5-f6a7-8901-bcde-f23456789012
                status: PRIMING
        "400":
          description: BAD REQUEST
          headers:
            X-API-Version:
              schema:
                type: string
                description: The API version that was used to process the request.
            X-Request-Correlation-Id:
              schema:
                type: string
                description: The unique identifier for the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: Field
                        message:
                          type: string
                          description: Error message
              example:
                errors:
                  - message: "Invalid request: effectiveDate is required and must be in DD/MM/YYYY,
                      HH:MM:SS format"
        "401":
          description: UNAUTHORIZED
          headers:
            X-API-Version:
              schema:
                type: string
                description: The API version that was used to process the request.
            X-Request-Correlation-Id:
              schema:
                type: string
                description: The unique identifier for the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: Field
                        message:
                          type: string
                          description: Error message
              example:
                errors:
                  - message: Access token is missing or invalid
        "403":
          description: FORBIDDEN
          headers:
            X-API-Version:
              schema:
                type: string
                description: The API version that was used to process the request.
            X-Request-Correlation-Id:
              schema:
                type: string
                description: The unique identifier for the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: Field
                        message:
                          type: string
                          description: Error message
              example:
                errors:
                  - message: Insufficient scope or subscriber is inactive
        "404":
          description: NOT FOUND
          headers:
            X-API-Version:
              schema:
                type: string
                description: The API version that was used to process the request.
            X-Request-Correlation-Id:
              schema:
                type: string
                description: The unique identifier for the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: Field
                        message:
                          type: string
                          description: Error message
              example:
                errors:
                  - message: Signing instruction or document not found
        "409":
          description: CONFLICT
          headers:
            X-API-Version:
              schema:
                type: string
                description: The API version that was used to process the request.
            X-Request-Correlation-Id:
              schema:
                type: string
                description: The unique identifier for the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: Field
                        message:
                          type: string
                          description: Error message
              example:
                errors:
                  - message: Signing document has already been completed
        "500":
          description: INTERNAL SERVER ERROR
          headers:
            X-API-Version:
              schema:
                type: string
                description: The API version that was used to process the request.
            X-Request-Correlation-Id:
              schema:
                type: string
                description: The unique identifier for the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: Field
                        message:
                          type: string
                          description: Error message
              example:
                errors:
                  - message: Internal server error
        "503":
          description: SERVICE UNAVAILABLE
          headers:
            X-API-Version:
              schema:
                type: string
                description: The API version that was used to process the request.
            X-Request-Correlation-Id:
              schema:
                type: string
                description: The unique identifier for the request
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: Field
                        message:
                          type: string
                          description: Error message
              example:
                errors:
                  - message: Service under maintenance
security:
  - oauth2:
      - x-api:edit:signing_instructions
      - edit:signing_instructions
components:
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://login.pexauk.co.uk/oauth/token
          scopes:
            x-api:edit:signing_instructions: Permission to create signing instructions and
              cancel signing documents
            x-api:view:signing_instructions: Permission to view signing instructions and
              download signed documents
            edit:signing_instructions: Permission to create signing instructions and cancel
              signing documents
            view:signing_instructions: Permission to view signing instructions and download
              signed documents
```
