{
  "openapi": "3.0.0",
  "info": {
    "title": "Signicat Secure Share API",
    "version": "v1",
    "description": "\n- **Base URL**: `https://api.signicat.com/secure-share/`\n- **Documentation**: See the [Secure Share](/docs/secure-share/) developer documentation.\n- **Support**: [Create a support ticket](https://dashboard.signicat.com/contact-us/tickets/) in the Signicat Dashboard.\n\n# Introduction\n\nThe Secure Share API enables you to securely share files with other people in a programmatic way.\n\nYou can choose among different levels of security, ranging from weaker methods, such as One-Time Passwords (OTPs), to stronger methods, like using electronic IDs (eIDs).\n\nThis REST API uses the OAuth 2.0 protocol for authorisation. All request and response bodies are formatted in JSON.\n\n# Get started\n\nBefore you can start making requests to this API, you need to learn how to connect to it. To do this, see the **Connect to Signicat APIs** [Quick start guide](/docs/dashboard/connect-to-signicat-apis/quick-start-guide/).\n\n## Audit logs\n\nUse the Signicat **Audit logs** service to see documented evidence of the sequence of activities that have affected a system.\n\n- Access it: **Signicat Dashboard** > **Settings** > [**Audit logs**](https://dashboard.signicat.com/audit)\n- For information generic to all Signicat audit logs, see the general [Audit logs](/docs/dashboard/settings/audit-logs/) documentation.\n\n## Errors\n\nWhen you make an API call to Signicat and an error occurs, you will receive a response message with an error code.\n\n- For errors generic to all Signicat APIs, see the general [Error codes](/docs/dashboard/error-codes/) documentation.\n\n## Events (callback)\n\nUse the Signicat **Events** service to automatically receive information about when something happens in one of our services into your system.\n\n- Access it: Go to **Signicat Dashboard** > **Settings** > [**Events**](https://dashboard.signicat.com/events)\n- For information generic to all Signicat events, see the general [Events](/docs/dashboard/settings/events/) documentation.\n\n> **Note**: This is often referred to as callback.\n",
    "contact": "",
    "license": "",
    "termsOfService": ""
  },
  "servers": [
    {
      "url": "https://api.signicat.com/secure-share"
    }
  ],
  "tags": [
    {
      "name": "Shares",
      "description": "Contains requests related to share objects"
    },
    {
      "name": "Recipients",
      "description": "Contains requests related to recipients"
    },
    {
      "name": "Files",
      "description": "Contains requests related to files"
    }
  ],
  "paths": {
    "/shares": {
      "post": {
        "tags": [
          "Shares"
        ],
        "summary": "Create share",
        "description": "Create a secure share to upload files into",
        "operationId": "CreateShareEndpoint",
        "requestBody": {
          "x-name": "CreateShareDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShareDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": "Share created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShareResponseDto"
                },
                "example": {
                  "id": "2e42b6ee-b9b8-42a8-9f7c-00d96e4a194d",
                  "title": "Title of the share",
                  "description": "Description of what this share contains",
                  "externalReference": "13d26429-fc74-4b83-84f2-01c05a0b0f6d",
                  "usageReference": "ae151a35-e0e7-4f12-9de5-081545f4dcc4",
                  "recipients": [],
                  "files": [],
                  "expires": "2026-11-27T11:46:14.3486713+00:00",
                  "created": "2026-11-20T11:46:14.3531295+00:00",
                  "contactDetails": {
                    "email": "email@example.com",
                    "name": "name",
                    "mobile": null,
                    "notificationOptions": null
                  },
                  "tags": [
                    "custom-tag",
                    "another-custom-tag"
                  ],
                  "requestDomain": "my-custom-domain",
                  "completedRecipients": 0,
                  "status": "Active",
                  "providerPath": "secure-share"
                }
              }
            }
          },
          "400": {
            "description": "Request validation failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Shares"
        ],
        "summary": "List shares",
        "description": "List shares created by your account using filters",
        "operationId": "ListSharesEndpoint",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "description": "Starting date for share create time",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            },
            "example": "2026-11-13T11:46:14.3637709+00:00"
          },
          {
            "name": "to",
            "in": "query",
            "description": "Ending date for share create time",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            },
            "example": "2026-11-20T11:46:14.363829+00:00"
          },
          {
            "name": "offset",
            "in": "query",
            "description": "The number of share to skip",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "example": 10
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of fetched shares",
            "schema": {
              "type": "integer",
              "format": "int32",
              "nullable": true
            },
            "example": 50
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Supported fields: `title`, `created`, `expires`",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "example": null
          },
          {
            "name": "search",
            "in": "query",
            "description": "Keywords to search for in the share title",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "example": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResultDtoOfShareResponseDto"
                },
                "example": {
                  "limit": 50,
                  "offset": 10,
                  "count": 1,
                  "total": 1,
                  "data": [
                    {
                      "id": "79feae5d-e16c-4132-a9c6-7293d7f1d025",
                      "title": "Title of the share",
                      "description": "Description of the share",
                      "externalReference": "e3fb9eb2-dcb3-4f8c-820f-4d9d45b9e302",
                      "usageReference": "1e46ca34-edee-43cb-9b2a-d1b84bd8d7e5",
                      "recipients": [
                        {
                          "id": "51d460ce-80e8-42f8-b59c-111f250319e2",
                          "externalReference": "0da6dd0b-491b-43f8-8fca-d3ea991a934b",
                          "firstName": "John",
                          "lastName": "Johnson",
                          "email": "john.johnson@signicat.com",
                          "mobile": "0777777777",
                          "fileAccessInfos": [
                            {
                              "id": "8a90b5ba-4284-4c16-b926-ba23ba218773",
                              "lastDownloadedAt": "2026-11-20T11:46:14.3641453+00:00"
                            }
                          ],
                          "fileRestrictions": [
                            "8a90b5ba-4284-4c16-b926-ba23ba218773"
                          ],
                          "authentication": [
                            {
                              "identityProvider": "otp-sms",
                              "idpId": null,
                              "nin": null
                            },
                            {
                              "identityProvider": "otp-email",
                              "idpId": null,
                              "nin": null
                            }
                          ],
                          "loggedInTime": "2026-11-20T11:41:14.3641587+00:00",
                          "url": null,
                          "notification": {
                            "sendEmail": true,
                            "sendSms": true,
                            "language": "En"
                          }
                        }
                      ],
                      "files": [
                        {
                          "id": "8a90b5ba-4284-4c16-b926-ba23ba218773",
                          "name": "File1",
                          "status": "Success",
                          "size": 1234,
                          "message": null
                        },
                        {
                          "id": "04c0394d-cd3b-4a69-b579-78db4c3e6289",
                          "name": "File2",
                          "status": "VirusFound",
                          "size": 5023412,
                          "message": "This file contains a malicious script"
                        },
                        {
                          "id": "b1660515-b605-4588-a9d3-a9cf0128a153",
                          "name": "File3",
                          "status": "Failed",
                          "size": 5678,
                          "message": "Something went wrong uploading the file"
                        },
                        {
                          "id": "2e751f6b-7e17-48eb-bcc4-ef6c594d266f",
                          "name": "File4",
                          "status": "Success",
                          "size": 69420,
                          "message": null
                        }
                      ],
                      "expires": "2026-11-27T11:46:14.3641624+00:00",
                      "created": "2026-11-20T11:46:14.364163+00:00",
                      "contactDetails": {
                        "email": "email@example.com",
                        "name": "John Musk",
                        "mobile": null,
                        "notificationOptions": null
                      },
                      "tags": [
                        "custom-tag"
                      ],
                      "requestDomain": "my-custom-domain",
                      "completedRecipients": 0,
                      "status": "Active",
                      "providerPath": "secure-share"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SignicatValidationProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      }
    },
    "/shares/{shareId}": {
      "get": {
        "tags": [
          "Shares"
        ],
        "summary": "Get share",
        "description": "Get a secure share object",
        "operationId": "GetShareEndpoint",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "description": "Unique Share identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "8d7cd128-f50c-4388-912f-ff3cc7f00355"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShareResponseDto"
                },
                "example": {
                  "id": "ebb247eb-1e04-488c-9930-636add421c0d",
                  "title": "Title of the share",
                  "description": "Description of the share",
                  "externalReference": "deb09833-59ad-43ec-9973-63c6caf57c13",
                  "usageReference": "8af23745-fbda-4d17-ad0e-b3ff6a40195a",
                  "recipients": [
                    {
                      "id": "c03890c5-3710-4135-a75e-1945f8b80747",
                      "externalReference": "4e0c03ba-50af-40ff-bad6-cd5e23080b63",
                      "firstName": "John",
                      "lastName": "Johnson",
                      "email": "john.johnson@signicat.com",
                      "mobile": "0777777777",
                      "fileAccessInfos": [
                        {
                          "id": "44bd60de-1635-43ec-991a-f6bc176391d8",
                          "lastDownloadedAt": "2026-11-20T11:46:14.3563273+00:00"
                        }
                      ],
                      "fileRestrictions": [
                        "44bd60de-1635-43ec-991a-f6bc176391d8"
                      ],
                      "authentication": [
                        {
                          "identityProvider": "otp-sms",
                          "idpId": null,
                          "nin": null
                        },
                        {
                          "identityProvider": "otp-email",
                          "idpId": null,
                          "nin": null
                        }
                      ],
                      "loggedInTime": "2026-11-20T11:41:14.3603918+00:00",
                      "url": null,
                      "notification": {
                        "sendEmail": true,
                        "sendSms": true,
                        "language": "En"
                      }
                    },
                    {
                      "id": "19be8ee4-7924-4304-81c3-6ff154101005",
                      "externalReference": "10bd787c-05f8-4155-83f3-6552be2ad829",
                      "firstName": "Mark",
                      "lastName": "Markus",
                      "email": "mark.markus@signicat.com",
                      "mobile": "0771234567",
                      "fileAccessInfos": [
                        {
                          "id": "44bd60de-1635-43ec-991a-f6bc176391d8",
                          "lastDownloadedAt": "2026-11-20T11:46:14.3605549+00:00"
                        },
                        {
                          "id": "2a00506e-9da9-4db2-a401-8cae3bf65a50",
                          "lastDownloadedAt": "2026-11-20T11:46:14.360738+00:00"
                        }
                      ],
                      "fileRestrictions": null,
                      "authentication": [
                        {
                          "identityProvider": "nbid",
                          "idpId": "1234-5678-7890",
                          "nin": null
                        },
                        {
                          "identityProvider": "mitid",
                          "idpId": null,
                          "nin": "12351246127"
                        }
                      ],
                      "loggedInTime": "2026-11-20T11:41:14.360746+00:00",
                      "url": null,
                      "notification": {
                        "sendEmail": true,
                        "sendSms": false,
                        "language": "En"
                      }
                    }
                  ],
                  "files": [
                    {
                      "id": "44bd60de-1635-43ec-991a-f6bc176391d8",
                      "name": "File1",
                      "status": "Success",
                      "size": 1234,
                      "message": null
                    },
                    {
                      "id": "c02f226a-6428-433e-be4d-87013b03ab2d",
                      "name": "File2",
                      "status": "VirusFound",
                      "size": 5023412,
                      "message": "This file contains a malicious script"
                    },
                    {
                      "id": "e4ee6a82-8223-4bbb-9a29-f495bd13843a",
                      "name": "File3",
                      "status": "Failed",
                      "size": 5678,
                      "message": "Something went wrong uploading the file"
                    },
                    {
                      "id": "2a00506e-9da9-4db2-a401-8cae3bf65a50",
                      "name": "File4",
                      "status": "Success",
                      "size": 69420,
                      "message": null
                    }
                  ],
                  "expires": "2026-11-27T11:46:14.3607522+00:00",
                  "created": "2026-11-20T11:46:14.3607526+00:00",
                  "contactDetails": {
                    "email": "email@example.com",
                    "name": "John Musk",
                    "mobile": null,
                    "notificationOptions": null
                  },
                  "tags": [
                    "custom-tag"
                  ],
                  "requestDomain": "my-custom-domain",
                  "completedRecipients": 0,
                  "status": "Active",
                  "providerPath": "secure-share"
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "404": {
            "description": "Share not found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Shares"
        ],
        "summary": "Delete share",
        "description": "Remove a secure share with all the data in it (recipients/files)",
        "operationId": "HardDeleteShareEndpoint",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "description": "Unique Share identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "79c3db48-7876-4bdc-ae6e-2d3cea3d74d8"
          }
        ],
        "responses": {
          "204": {
            "description": "Share deleted successfully"
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "404": {
            "description": "Share not found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Shares"
        ],
        "summary": "Update share",
        "description": "Update an existing share object",
        "operationId": "Update share",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "27062e4a-7b51-4cd1-a20d-9aa92c3378b0"
          }
        ],
        "requestBody": {
          "x-name": "UpdateShareDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateShareDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": "Share updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShareResponseDto"
                },
                "example": {
                  "id": "9fea2996-db32-409a-9e45-5cfb8863cbd7",
                  "title": "Title of the share",
                  "description": "Description of what this share contains",
                  "externalReference": "717ffa47-a915-400b-9414-c3e4c7ecd9a3",
                  "usageReference": "c468242e-fdfd-4002-a41a-00eacd182eb4",
                  "recipients": [],
                  "files": [],
                  "expires": "2026-11-20T11:46:14.3653744+00:00",
                  "created": "2026-11-13T11:46:14.3653744+00:00",
                  "contactDetails": {
                    "email": "email@example.com",
                    "name": "name",
                    "mobile": null,
                    "notificationOptions": null
                  },
                  "tags": [],
                  "requestDomain": null,
                  "completedRecipients": 0,
                  "status": "Active",
                  "providerPath": "secure-share"
                }
              }
            }
          },
          "400": {
            "description": "Request validation failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      }
    },
    "/shares/{shareId}/recipients": {
      "post": {
        "tags": [
          "Recipients"
        ],
        "summary": "Create recipient",
        "description": "Create a recipient and add it to an existing share",
        "operationId": "CreateRecipientEndpoint",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "description": "The identifier of the share this recipient belongs to",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "910d501c-6a96-40d5-968e-800bda11c1cb"
          }
        ],
        "requestBody": {
          "x-name": "CreateRecipientDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRecipientDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": "Recipient created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecipientDto"
                },
                "example": {
                  "id": "1901a3e6-a1c7-4485-b4eb-4babc1a09d59",
                  "externalReference": "c8fa1947-d40d-487a-8a99-3de06dfa6fac",
                  "firstName": "John",
                  "lastName": "Johnson",
                  "email": "john.johnson@signicat.com",
                  "mobile": "0777777777",
                  "fileAccessInfos": [
                    {
                      "id": "4d9d51ca-4e74-4b6f-878d-229ace8c0d48",
                      "lastDownloadedAt": "2026-11-20T11:46:14.3673287+00:00"
                    }
                  ],
                  "fileRestrictions": [
                    "4d9d51ca-4e74-4b6f-878d-229ace8c0d48"
                  ],
                  "authentication": [
                    {
                      "identityProvider": "otp-sms",
                      "idpId": null,
                      "nin": null
                    },
                    {
                      "identityProvider": "otp-email",
                      "idpId": null,
                      "nin": null
                    }
                  ],
                  "loggedInTime": "2026-11-20T11:41:14.3673347+00:00",
                  "url": null,
                  "notification": {
                    "sendEmail": true,
                    "sendSms": true,
                    "language": "En"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request validation failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "404": {
            "description": "Share not found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      }
    },
    "/shares/{shareId}/recipients/{recipientId}": {
      "delete": {
        "tags": [
          "Recipients"
        ],
        "summary": "Delete recipient",
        "description": "Remove a recipient from an existing share",
        "operationId": "DeleteRecipientEndpoint",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "description": "Unique Share identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "aac5774e-0c64-41d1-aa99-6b450d339054"
          },
          {
            "name": "recipientId",
            "in": "path",
            "required": true,
            "description": "Unique Recipient identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "e208bfab-a2b6-4633-b830-64f87fb315f2"
          }
        ],
        "responses": {
          "204": {
            "description": "Recipient deleted successfully"
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "404": {
            "description": "Recipient not found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Recipients"
        ],
        "summary": "Get recipient",
        "description": "Get a recipient from an existing share",
        "operationId": "GetRecipientEndpoint",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "description": "Unique Share identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "069bb82f-7b5d-4ccb-8206-c319f97f61b8"
          },
          {
            "name": "recipientId",
            "in": "path",
            "required": true,
            "description": "Unique Recipient identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "972c9e13-9f99-448e-9e87-4763883a6238"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecipientDto"
                },
                "example": {
                  "id": "3803776d-746c-4f04-839a-92f32d65ddd3",
                  "externalReference": "8430642c-1147-4ccf-9da6-d0d822980ff3",
                  "firstName": "John",
                  "lastName": "Johnson",
                  "email": "john.johnson@signicat.com",
                  "mobile": "0777777777",
                  "fileAccessInfos": [
                    {
                      "id": "f924a02e-65b7-4d49-b408-571e87d4886b",
                      "lastDownloadedAt": "2026-11-20T11:46:14.3689927+00:00"
                    }
                  ],
                  "fileRestrictions": [
                    "f924a02e-65b7-4d49-b408-571e87d4886b"
                  ],
                  "authentication": [
                    {
                      "identityProvider": "otp-sms",
                      "idpId": null,
                      "nin": null
                    },
                    {
                      "identityProvider": "otp-email",
                      "idpId": null,
                      "nin": null
                    }
                  ],
                  "loggedInTime": "2026-11-20T11:41:14.3689984+00:00",
                  "url": null,
                  "notification": {
                    "sendEmail": true,
                    "sendSms": true,
                    "language": "En"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "404": {
            "description": "Recipient not found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Recipients"
        ],
        "summary": "Update recipient",
        "description": "Update a recipient from an existing share",
        "operationId": "UpdateRecipientEndpoint",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "description": "The identifier of the share this recipient belongs to",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "b602a403-f354-4519-8839-914283bf9c4b"
          },
          {
            "name": "recipientId",
            "in": "path",
            "required": true,
            "description": "Unique recipient identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "f4b56779-2b05-4dbd-8071-6cd6741a4dd5"
          }
        ],
        "requestBody": {
          "x-name": "UpdateRecipientDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRecipientDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "201": {
            "description": "Share updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecipientDto"
                },
                "example": {
                  "id": "aff2c7be-2524-4b32-b41d-bedc8d061e72",
                  "externalReference": "191272f3-5f1a-446a-b199-047d083ad725",
                  "firstName": "John",
                  "lastName": "Johnson",
                  "email": "john.johnson@signicat.com",
                  "mobile": "0777777777",
                  "fileAccessInfos": [],
                  "fileRestrictions": [],
                  "authentication": [
                    {
                      "identityProvider": "sbid",
                      "idpId": "5678-1234-3456",
                      "nin": "10234567893"
                    }
                  ],
                  "loggedInTime": "2026-11-20T11:41:14.3714816+00:00",
                  "url": null,
                  "notification": {
                    "sendEmail": true,
                    "sendSms": true,
                    "language": "En"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request validation failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      }
    },
    "/shares/{shareId}/recipients/{recipientId}/reminder": {
      "get": {
        "tags": [
          "Recipients"
        ],
        "summary": "Remind recipient",
        "description": "Send a reminder notification to a specific recipient",
        "operationId": "ReminderNotificationEndpoint",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "description": "Unique Share identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "e03a15e9-f01f-489d-ae0a-a7e8ece09c4c"
          },
          {
            "name": "recipientId",
            "in": "path",
            "required": true,
            "description": "Unique Recipient identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "f558b7a2-037b-4b57-8fde-0c5fc63bf834"
          }
        ],
        "responses": {
          "204": {
            "description": "Recipient deleted successfully"
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "404": {
            "description": "Recipient not found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      }
    },
    "/shares/{shareId}/files/{fileId}": {
      "delete": {
        "tags": [
          "Files"
        ],
        "summary": "Delete file",
        "description": "Remove a file from the storage",
        "operationId": "DeleteFileEndpoint",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "description": "Unique Share identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "adc21ade-f0ca-4a8e-8272-b9d5f13a40cd"
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "description": "Unique File identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "3397ea38-3506-449d-90a3-02f3beff5d51"
          }
        ],
        "responses": {
          "204": {
            "description": "File deleted successfully"
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "404": {
            "description": "File not found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      }
    },
    "/shares/{shareId}/files": {
      "post": {
        "tags": [
          "Files"
        ],
        "summary": "Upload file",
        "description": "Upload a file(s) using multipart/form-data request body",
        "operationId": "UploadFileEndpoint",
        "parameters": [
          {
            "name": "shareId",
            "in": "path",
            "required": true,
            "description": "Unique Share identifier",
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "example": "04eb23a8-ce99-4b16-950c-f48daed7feb8"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UploadFileDto"
                  }
                },
                "example": [
                  {
                    "id": "2d34d5ad-ef1a-455b-aa17-bc341054a2ee",
                    "name": "File1",
                    "status": "Success",
                    "size": 1234,
                    "message": null
                  },
                  {
                    "id": "084e53c5-8886-4c79-8942-703fe6dba7b3",
                    "name": "File2",
                    "status": "VirusFound",
                    "size": 5023412,
                    "message": "This file contains a malicious script"
                  },
                  {
                    "id": "c5a19a2a-96cd-4524-905b-de112ff3a5d4",
                    "name": "File3",
                    "status": "Failed",
                    "size": 5678,
                    "message": "Something went wrong uploading the file"
                  },
                  {
                    "id": "75843210-92a3-4847-bdf0-762ba7466388",
                    "name": "File4",
                    "status": "Success",
                    "size": 69420,
                    "message": null
                  }
                ]
              }
            }
          },
          "401": {
            "description": "Authentication failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          },
          "404": {
            "description": "Share not found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "example": {
                  "type": null,
                  "title": null,
                  "status": null,
                  "detail": null,
                  "instance": null
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ShareResponseDto": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "contactDetails",
          "providerPath"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "usageReference": {
            "type": "string",
            "nullable": true
          },
          "recipients": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            }
          },
          "files": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/UploadFileDto"
            }
          },
          "expires": {
            "type": "string",
            "format": "date-time"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "contactDetails": {
            "$ref": "#/components/schemas/ContactDetailsDto"
          },
          "tags": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "requestDomain": {
            "type": "string",
            "nullable": true
          },
          "completedRecipients": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "$ref": "#/components/schemas/ShareStatus"
          },
          "providerPath": {
            "type": "string"
          }
        }
      },
      "RecipientDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "nullable": true
          },
          "fileAccessInfos": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FileAccessInfosDto"
            }
          },
          "fileRestrictions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "authentication": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/AuthenticationDto"
            }
          },
          "loggedInTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "notification": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/NotificationDto"
              }
            ]
          }
        }
      },
      "FileAccessInfosDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "lastDownloadedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "AuthenticationDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "identityProvider": {
            "type": "string"
          },
          "idpId": {
            "type": "string",
            "nullable": true
          },
          "nin": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "NotificationDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "sendEmail": {
            "type": "boolean"
          },
          "sendSms": {
            "type": "boolean"
          },
          "language": {
            "$ref": "#/components/schemas/Language"
          }
        }
      },
      "Language": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "En",
          "No",
          "Fi",
          "De",
          "Fr",
          "Nl",
          "Da",
          "Sv"
        ],
        "enum": [
          "En",
          "No",
          "Fi",
          "De",
          "Fr",
          "Nl",
          "Da",
          "Sv"
        ]
      },
      "UploadFileDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/FileStatus"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "FileStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Pending",
          "UploadedToQuarantine",
          "Scanning",
          "Success",
          "Failed",
          "VirusFound",
          "Skipped"
        ],
        "enum": [
          "Pending",
          "UploadedToQuarantine",
          "Scanning",
          "Success",
          "Failed",
          "VirusFound",
          "Skipped"
        ]
      },
      "ContactDetailsDto": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "email"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email",
            "minLength": 1,
            "pattern": "^[^@]+@[^@]+$",
            "nullable": false
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "nullable": true
          },
          "notificationOptions": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SenderNotificationDto"
              }
            ]
          }
        }
      },
      "SenderNotificationDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "sendEmail": {
            "type": "boolean"
          },
          "sendSms": {
            "type": "boolean"
          }
        }
      },
      "ShareStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Active",
          "Expired",
          "Completed",
          "Empty"
        ],
        "enum": [
          "Active",
          "Expired",
          "Completed",
          "Empty"
        ]
      },
      "ProblemDetails": {
        "type": "object",
        "additionalProperties": {
          "nullable": true
        },
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CreateShareDto": {
        "type": "object",
        "example": {
          "title": "Title of the share",
          "description": "Description of what this share contains",
          "externalReference": "13d26429-fc74-4b83-84f2-01c05a0b0f6d",
          "usageReference": "ae151a35-e0e7-4f12-9de5-081545f4dcc4",
          "recipients": [],
          "contactDetails": {
            "email": "email@example.com",
            "name": "name",
            "mobile": null,
            "notificationOptions": null
          },
          "tags": [
            "custom-tag",
            "another-custom-tag"
          ],
          "expires": "2026-11-27T11:46:14.3486713+00:00",
          "requestDomain": "my-custom-domain"
        },
        "additionalProperties": false,
        "required": [
          "contactDetails"
        ],
        "properties": {
          "title": {
            "type": "string",
            "description": "Title of the share",
            "nullable": true,
            "example": "Title of the share"
          },
          "description": {
            "type": "string",
            "description": "Description of what this share contains",
            "nullable": true,
            "example": "Description of what this share contains"
          },
          "externalReference": {
            "type": "string",
            "description": "Create a reference to your own system, this value is also used for binding billing events",
            "nullable": true,
            "example": "13d26429-fc74-4b83-84f2-01c05a0b0f6d"
          },
          "usageReference": {
            "type": "string",
            "nullable": true,
            "example": "ae151a35-e0e7-4f12-9de5-081545f4dcc4"
          },
          "recipients": {
            "type": "array",
            "description": "A list of recipients for this share, we recommend to add them later after you add the files",
            "example": [],
            "items": {
              "$ref": "#/components/schemas/CreateShareRecipientDto"
            }
          },
          "contactDetails": {
            "description": "Sender contact details that the recipients can see after they authenticate",
            "nullable": false,
            "example": {
              "email": "email@example.com",
              "name": "name",
              "mobile": null,
              "notificationOptions": null
            },
            "$ref": "#/components/schemas/ContactDetailsDto"
          },
          "tags": {
            "type": "array",
            "description": "Keywords you can use for filtering your shares",
            "nullable": true,
            "example": [
              "custom-tag",
              "another-custom-tag"
            ],
            "items": {
              "type": "string"
            }
          },
          "expires": {
            "type": "string",
            "description": "Expire date for this share, after that you and your recipients can't access the share anymore",
            "format": "date-time",
            "nullable": true,
            "example": "2026-11-27T11:46:14.3486713+00:00"
          },
          "requestDomain": {
            "type": "string",
            "description": "This specifies the domain you want to use for this specific session. The domain will be visible in the end-user's browser. This domain needs to be correctly configured on your account!",
            "nullable": true,
            "example": "my-custom-domain"
          }
        }
      },
      "CreateShareRecipientDto": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "authentication"
        ],
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "format": "email",
            "pattern": "^[^@]+@[^@]+$",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "nullable": true
          },
          "authentication": {
            "type": "array",
            "minLength": 1,
            "nullable": false,
            "items": {
              "$ref": "#/components/schemas/AuthenticationDto"
            }
          },
          "notification": {
            "$ref": "#/components/schemas/NotificationDto"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "GetShareRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "HardDeleteShareRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "PaginatedResultDtoOfShareResponseDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "data": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ShareResponseDto"
            }
          }
        }
      },
      "SignicatValidationProblemDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "invalidParams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvalidParam"
            }
          }
        }
      },
      "InvalidParam": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "reason"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        }
      },
      "ListQueryDto": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdateShareDto": {
        "type": "object",
        "example": {
          "title": "Title of the share",
          "description": "Description of what this share contains",
          "contactDetails": {
            "email": "email@example.com",
            "name": "name",
            "mobile": null,
            "notificationOptions": null
          },
          "expires": "2026-11-20T11:46:14.3653744+00:00"
        },
        "additionalProperties": false,
        "properties": {
          "title": {
            "type": "string",
            "description": "Title of the share",
            "nullable": true,
            "example": "Title of the share"
          },
          "description": {
            "type": "string",
            "description": "Description of what this share contains",
            "nullable": true,
            "example": "Description of what this share contains"
          },
          "contactDetails": {
            "nullable": true,
            "example": {
              "email": "email@example.com",
              "name": "name",
              "mobile": null,
              "notificationOptions": null
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/UpdateContactDetailsDto"
              }
            ]
          },
          "expires": {
            "type": "string",
            "description": "Expire date for this share, after that you and your recipients can't access the share anymore",
            "format": "date-time",
            "nullable": true,
            "example": "2026-11-20T11:46:14.3653744+00:00"
          }
        }
      },
      "UpdateContactDetailsDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string",
            "format": "email",
            "pattern": "^[^@]+@[^@]+$",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "nullable": true
          },
          "notificationOptions": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SenderNotificationDto"
              }
            ]
          }
        }
      },
      "CreateRecipientDto": {
        "type": "object",
        "example": {
          "firstName": "John",
          "lastName": "Johnson",
          "email": "john.johnson@signicat.com",
          "mobile": "+4771234567",
          "fileRestrictions": [],
          "authentication": [
            {
              "identityProvider": "nbid",
              "idpId": "1234-3456-5678",
              "nin": "12345678901"
            }
          ],
          "notification": {
            "sendEmail": true,
            "sendSms": true,
            "language": "En"
          },
          "externalReference": "dc5e723e-f90b-470d-8b78-04a32a32b825"
        },
        "additionalProperties": false,
        "required": [
          "authentication"
        ],
        "properties": {
          "firstName": {
            "type": "string",
            "description": "Recipient first name",
            "nullable": true,
            "example": "John"
          },
          "lastName": {
            "type": "string",
            "description": "Recipient last name",
            "nullable": true,
            "example": "Johnson"
          },
          "email": {
            "type": "string",
            "description": "Recipient email. Email is required if mobile is not provided or if it used by authentications or notifications",
            "format": "email",
            "pattern": "^[^@]+@[^@]+$",
            "nullable": true,
            "example": "john.johnson@signicat.com"
          },
          "mobile": {
            "type": "string",
            "description": "Recipient mobile. Mobile is required if email is not provided or if it used by authentications or notifications",
            "nullable": true,
            "example": "+4771234567"
          },
          "fileRestrictions": {
            "type": "array",
            "description": "A list of file ids that this recipient has access to, if empty, this recipient will have access to all the file from the share",
            "nullable": true,
            "example": [],
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "authentication": {
            "type": "array",
            "description": "List of authentication methods for a recipient",
            "minLength": 1,
            "nullable": false,
            "example": [
              {
                "identityProvider": "nbid",
                "idpId": "1234-3456-5678",
                "nin": "12345678901"
              }
            ],
            "items": {
              "$ref": "#/components/schemas/AuthenticationDto"
            }
          },
          "notification": {
            "description": "Recipient notification setup",
            "nullable": true,
            "example": {
              "sendEmail": true,
              "sendSms": true,
              "language": "En"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/NotificationDto"
              }
            ]
          },
          "externalReference": {
            "type": "string",
            "description": "Create a reference to your own system",
            "nullable": true,
            "example": "dc5e723e-f90b-470d-8b78-04a32a32b825"
          }
        }
      },
      "DeleteRecipientRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "GetRecipientRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ReminderNotificationRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdateRecipientDto": {
        "type": "object",
        "example": {
          "firstName": "John",
          "lastName": "Johnson",
          "email": "john.johnson@signicat.com",
          "mobile": "+4771234567",
          "externalReference": "98d6e41c-98c1-4aa0-ac53-d6be8a38d7c4",
          "fileRestrictions": [],
          "authentication": [
            {
              "identityProvider": "sbid",
              "idpId": "5678-1234-3456",
              "nin": "10234567893"
            }
          ],
          "notification": {
            "sendEmail": true,
            "sensSms": true,
            "language": null
          }
        },
        "additionalProperties": false,
        "properties": {
          "firstName": {
            "type": "string",
            "description": "Recipient first name",
            "nullable": true,
            "example": "John"
          },
          "lastName": {
            "type": "string",
            "description": "Recipient last name",
            "nullable": true,
            "example": "Johnson"
          },
          "email": {
            "type": "string",
            "description": "Recipient email",
            "format": "email",
            "pattern": "^[^@]+@[^@]+$",
            "nullable": true,
            "example": "john.johnson@signicat.com"
          },
          "mobile": {
            "type": "string",
            "description": "Recipient mobile",
            "nullable": true,
            "example": "+4771234567"
          },
          "externalReference": {
            "type": "string",
            "description": "Create a reference to your own system",
            "nullable": true,
            "example": "98d6e41c-98c1-4aa0-ac53-d6be8a38d7c4"
          },
          "fileRestrictions": {
            "type": "array",
            "description": "A list of file ids that this recipient has access to, if empty, this recipient will have access to all the file from the share",
            "nullable": true,
            "example": [],
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "authentication": {
            "type": "array",
            "description": "List of authentication methods for a recipient",
            "nullable": true,
            "example": [
              {
                "identityProvider": "sbid",
                "idpId": "5678-1234-3456",
                "nin": "10234567893"
              }
            ],
            "items": {
              "$ref": "#/components/schemas/AuthenticationDto"
            }
          },
          "notification": {
            "description": "Recipient notification setup",
            "nullable": true,
            "example": {
              "sendEmail": true,
              "sensSms": true,
              "language": null
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/UpdateNotificationDto"
              }
            ]
          }
        }
      },
      "UpdateNotificationDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "sendEmail": {
            "type": "boolean"
          },
          "sensSms": {
            "type": "boolean"
          },
          "language": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DeleteFileRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "UploadFileRequest": {
        "type": "object",
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "JWTBearerAuth": {
        "type": "http",
        "description": "Enter a JWT token to authorize the requests...",
        "scheme": "Bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "x-generator": "NSwag v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))"
}