Files

Upload a file

post/crm/files

Request

  • Base URL: https://api.brevo.com/v3
  • URL: https://api.brevo.com/v3/crm/files
  • Auth: one of:
    • API key in header api-key
    • API key in header partner-key

Response

Returns the created File with additional details

namestring

Name of uploaded file

authorIdstring

Account id of user which created the file

contactIdinteger

Contact id of contact on which file is uploaded

dealIdstring

Deal id linked to a file

companyIdstring

Company id linked to a file

sizeinteger

Size of file in bytes

createdAtstring date-time

File created date/time

Example response

{
  "createdAt": "2017-05-01T17:05:03.000Z",
  "companyId": "61a5ce58c5d4795761045991",
  "size": 10,
  "contactId": 1,
  "dealId": "61a5ce58c5d4795761045991",
  "name": "example.png",
  "authorId": "61a5ce58y5d4795761045991"
}

Changes

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