Security protocols
Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Dashdoc pk or your remote_id. With a remote_id, you must add lookup_field=remote_id to the query parameters.
{"summary":"Dashdoc pk","value":1234}Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the remote_id (see path parameters)
Get successful
Dashdoc's internal id. It will be automatically generated by Dashdoc.
1Id of the address that the security protocol should be linked to.
1URL of the stored document. You can download the document from this URL.
https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.pngFilename
Last updated time
Check if you've seen the security protocol recently. Returns null if it hasn't been seen at all.
GET /api/v4/addresses/{pk_or_remote_id}/security-protocol/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
Get successful
{
"pk": 1,
"address": 1,
"document": "https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png",
"document_title": "text",
"updated": "2026-01-01T00:00:00.000Z",
"has_been_seen_recently": true
}Creates a security protocol linked to an address of your address book.
Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Id of the address the security protocol should be linked.
1File content, as a PDF, PNG or JPEG file (.pdf, .png, .jpg or .jpeg file name), the formats drivers can open in the Dashdoc app. Use content-type with multipart/form-data value to the header of the request to send a document.
Filename
Create successful
Dashdoc's internal id. It will be automatically generated by Dashdoc.
1Id of the address that the security protocol should be linked to.
1URL of the stored document. You can download the document from this URL.
https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.pngFilename
Last updated time
Check if you've seen the security protocol recently. Returns null if it hasn't been seen at all.
POST /api/v4/security-protocols/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"address": 1,
"document": "Ynl0ZXM=",
"document_title": "text"
}Create successful
{
"pk": 1,
"address": 1,
"document": "https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png",
"document_title": "text",
"updated": "2026-01-01T00:00:00.000Z",
"has_been_seen_recently": true
}Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Dashdoc's internal id
Id of the address that the security protocol should be linked to.
1File content, as a PDF, PNG or JPEG file (.pdf, .png, .jpg or .jpeg file name), the formats drivers can open in the Dashdoc app. Use content-type with multipart/form-data value to the header of the request to send a document.
Filename
Get successful
Dashdoc's internal id. It will be automatically generated by Dashdoc.
1Id of the address that the security protocol should be linked to.
1URL of the stored document. You can download the document from this URL.
https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.pngFilename
Last updated time
Check if you've seen the security protocol recently. Returns null if it hasn't been seen at all.
PATCH /api/v4/security-protocols/{pk}/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"address": 1,
"document": "Ynl0ZXM=",
"document_title": "text"
}Get successful
{
"pk": 1,
"address": 1,
"document": "https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png",
"document_title": "text",
"updated": "2026-01-01T00:00:00.000Z",
"has_been_seen_recently": true
}Last updated
Was this helpful?