You will need an API Key ID and API Key Secret to use this API. This API is for adding a recipient to a shared file.

HTTPS POST https://svc.digify.com/v1/file/recipient/add

  1. Require basic authentications with base64 encoded version of  <Key ID>:<Secret>
  2. Recipients can only be added to non-public file
  3. Only 1 recipient can be added at a time
  4. No email notification will be sent to the recipient

Sample Request 

POST https://svc.digify.com/v1/file/recipient/add

Host: svc.digify.com
Connection: keep-alive
Accept: application/json, text/plain, */*
Authorization: Basic amFccGVyX1Rdfsdsb1BlcjoxMjM0NTZhYmNkZYY=
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8,zh-CN;q=0.6,zh-TW;q=0.4

{
  "Guid": "0b457b0ad18846b09c1d3c8088113301"
  "RecipientEmail": "email1@gmail.com"
}

Sample Response

HTTP/1.1 200 Successfully added recipient
Content-Length: 309
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/8.0
X-Powered-By: ASP.NET
Date: Wed, 23 Oct 2019 03:48:17 GMT

{
  "Guid": "0b457b0ad18846b09c1d3c8088113301",
  "Link": "https://digify.com/s/C0V7Cg",
  "FileName": "Secret.pdf",
  "RecipientsCount": 2,
  "Status": {
      "StatusCode": 80000,
      "StatusMessage": "Successfully added recipient"
  }
}

Did this answer your question?