/attachments

Allows to upload files to: offer or candidate.

post/c/{company_id}/attachments

Request

  • Base URL
    https://api.recruitee.com
  • URL
    https://api.recruitee.com/c/{company_id}/attachments
  • Auth
    OAuth 2

Path parameters

company_idstring required

Headers

Content-Typestring

Request body

Response

201

Example response

{
  "attachment": {
    "admin_id": 135145,
    "candidate_id": 27868999,
    "created_at": "2021-08-25T07:19:21.268251Z",
    "extension": "pdf",
    "file_size": 400,
    "file_url": "https://recruitee-main.s3.eu-central-1.amazonaws.com/attachments/14319394/test.rtf?response-content-disposition=attachment&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQYHB7CA5RLR4Y3ON%2F20210825%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20210825T071923Z&X-Amz-Expires=36000&X-Amz-SignedHeaders=host&X-Amz-Signature=8de70db00fefe8ce54f6e95642a10b1f4065d2fc8c228ec60e146737d2ef04ab",
    "filename": "file.pdf",
    "id": 14319394,
    "kind": "document",
    "pdf_thumbnail_url": "https://recruitee-main.s3.eu-central-1.amazonaws.com/attachments/14319394/pdf_thumbnail_test.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQYHB7CA5RLR4Y3ON%2F20210825%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20210825T071923Z&X-Amz-Expires=36000&X-Amz-SignedHeaders=host&X-Amz-Signature=ebd86bc0c155d6f245fd9d8108c4382eff6ddb8ba7a3265c633de3d221ce4da8",
    "pdf_url": "https://recruitee-main.s3.eu-central-1.amazonaws.com/attachments/14319394/pdf_test.pdf?response-content-disposition=inline&response-content-type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQYHB7CA5RLR4Y3ON%2F20210825%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20210825T071923Z&X-Amz-Expires=36000&X-Amz-SignedHeaders=host&X-Amz-Signature=f543fae1740273218d739e574406fad032d2c04abbe6bce7c56361bfe4c49218",
    "status": "ok",
    "uploader": "Admin",
    "visibility": {
      "level": "public"
    }
  },
  "references": [
    {
      "admin_id": 135145,
      "adminapp_url": "https://app.recruitee.com/#/dashboard/overview?candidate=27868999&company=49498",
      "created_at": "2021-08-25T07:19:08.801242Z",
      "id": 27868999,
      "name": "Kelsie Stuart",
      "photo_thumb_url": "https://recruitee-main.s3.eu-central-1.amazonaws.com/candidates/27868999/thumb_photo_hscsg54b1esp.png",
      "source": "manual",
      "type": "Candidate",
      "updated_at": "2021-08-25T07:19:14.093561Z",
      "viewed": true
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.