contacts

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

Changed on

Creates and adds a new attachment/document to a 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

Request body multipart/form-data

filenamestring

Required. The filename. Must end with either .png, .jpeg, .jpg, .gif or .pdf

commentstring

Not required.

filestring binary

Example request

{
  "filename": "invoice_24760.pdf",
  "file": "https://fiken.no/api/v2/files/745b2f15-gh75-4408-bgf2-b1d2dt610cb2/invoice24760.pdf"
}

Response

Created

Changes