Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Security protocols

Read a security protocol of an address

get
/addresses/{pk_or_remote_id}/security-protocol/
Authorizations
AuthenticationstringRequired

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/"
Path parameters
pk_or_remote_idone ofRequired

Dashdoc pk or your remote_id. With a remote_id, you must add lookup_field=remote_id to the query parameters.

Example: {"summary":"Dashdoc pk","value":1234}
integerOptional
or
stringOptional
Query parameters
lookup_fieldstringOptional

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)

Responses
200

Get successful

application/json
pknumberOptional

Dashdoc's internal id. It will be automatically generated by Dashdoc.

Example: 1
addressnumberOptional

Id of the address that the security protocol should be linked to.

Example: 1
documentstringOptional

URL of the stored document. You can download the document from this URL.

Example: https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png
document_titlestringOptional

Filename

updatedstring · date-timeOptional

Last updated time

has_been_seen_recentlybooleanOptional

Check if you've seen the security protocol recently. Returns null if it hasn't been seen at all.

get/addresses/{pk_or_remote_id}/security-protocol/
GET /api/v4/addresses/{pk_or_remote_id}/security-protocol/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
200

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
}

Create a security protocol

post
/security-protocols/

Creates a security protocol linked to an address of your address book.

Authorizations
AuthenticationstringRequired

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/"
Body
addressnumberRequired

Id of the address the security protocol should be linked.

Example: 1
documentstring · byteRequired

File 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.

document_titlestringOptional

Filename

Responses
201

Create successful

application/json
pknumberOptional

Dashdoc's internal id. It will be automatically generated by Dashdoc.

Example: 1
addressnumberOptional

Id of the address that the security protocol should be linked to.

Example: 1
documentstringOptional

URL of the stored document. You can download the document from this URL.

Example: https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png
document_titlestringOptional

Filename

updatedstring · date-timeOptional

Last updated time

has_been_seen_recentlybooleanOptional

Check if you've seen the security protocol recently. Returns null if it hasn't been seen at all.

post/security-protocols/
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"
}
201

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
}

Partially update a security protocol

patch
/security-protocols/{pk}/
Authorizations
AuthenticationstringRequired

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/"
Path parameters
pkintegerRequired

Dashdoc's internal id

Body
addressnumberOptional

Id of the address that the security protocol should be linked to.

Example: 1
documentstring · byteOptional

File 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.

document_titlestringOptional

Filename

Responses
200

Get successful

application/json
pknumberOptional

Dashdoc's internal id. It will be automatically generated by Dashdoc.

Example: 1
addressnumberOptional

Id of the address that the security protocol should be linked to.

Example: 1
documentstringOptional

URL of the stored document. You can download the document from this URL.

Example: https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png
document_titlestringOptional

Filename

updatedstring · date-timeOptional

Last updated time

has_been_seen_recentlybooleanOptional

Check if you've seen the security protocol recently. Returns null if it hasn't been seen at all.

patch/security-protocols/{pk}/
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"
}
200

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?