Declarations attachments

Upload attachment

Activity name : <a href="https://developer.loket.nl/Activities/PostAttachmentByDeclarationId" target="_blank">PostAttachmentByDeclarationId</a>

Upload an attachment to a declaration. Via Qwoater.

post/v2/providers/employers/employees/employments/declarations/{declarationId}/attachment

Request

  • Base URL
    https://api.loket.nl
  • URL
    https://api.loket.nl/v2/providers/employers/employees/employments/declarations/{declarationId}/attachment
  • Auth
    none required

Path parameters

declarationIdstring uuid required

The unique identifier of the declaration

Headers

Authorizationstring required
Example:Bearer <TOKEN>

A valid Bearer token for authorizing the request.

Acceptstring required
Example:application/json;version=2018-01-01

The accept header is used to influence what type of output is returned and in most cases the version of the output

Request body

filestring

base64 encoded document file.

filenamestring

The name of the file. Qwoater: Filename

Example request

{
  "file": "YQ==",
  "filename": "BowlsJohn.pdf"
}

Response

Accepted

Changes

No recorded changes to this operation across all 6 revisions of this API.