POST - leerbedrijflisa/verification-api GitHub Wiki

POST /verifications/

Request

Data fields

Field Description Required DataType
document The link to the document which the verification belongs to. Required String
user The person the document belongs to. Required String
expires The date after which a verification expires. Optional DateTime

Example

Content-Type: application/json

{
    "Document": "http://mydocs.com/contract",
    "User": "baseenhoorn",
    "Expires": ""
}

Response

Data fields

Field Description DataType
id A unique identifier for the verification. Guid
status The status of the verification. String
signed The date and time when verification is verified. DateTime

Example

HTTP/1.1 201 Created
Content-Type: application/json

{
  "id": "2c38a6d3-5c69-421c-bf54-bcd64a691b07",
  "document": "http://mydocs.com/contract",
  "user": "baseenhoorn",
  "status": "pending",
  "signed": "",
  "expires": "9999-12-31T23:59:59.9999999"
}