contacts

GET /companies/{companySlug}/contacts/{contactId}/attachments

Changed on

Returns all attachments/documents for a given contact

Request

  • Base URL
    https://api.fiken.no/api/v2
  • URL
    https://api.fiken.no/api/v2/companies/{companySlug}/contacts/{contactId}/attachments
  • Auth
    OAuth 2
    Authorization code: https://fiken.no/oauth/authorize
    Token URL: https://fiken.no/oauth/token

Response

OK

uuidstring uuid

Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.

filenamestring

The name of the underlying file.

identifierstring

User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.

downloadUrlstring

For use with API credentials (bearer token or oauth 2)

downloadUrlWithFikenNormalUserCredentialsstring

Requires the user to login with username and password in Fiken.

commentstring

Field for additional information for this attachment.

type'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'

Example response

[
  {
    "uuid": "745b2f15-1234-4408-8bf2-b1d2d7610cb2",
    "filename": "invoice_24760.pdf",
    "identifier": "24760",
    "type": "invoice"
  }
]

Changes