---
updatedAt: 2025-06-10T22:47:00.000Z
agentTools:
  projectIndex: https://workable.readme.io/llms.txt
---

# /employees/:id/documents

Uploads a list of documents for a specific employee. Required scope: `w_employees`.

> 🚧 This particular endpoint uses `w_employees` scope, which can be enabled through the Integrations section found within the Settings menu.

## Body

```json JSON
{
   "member_id": "9ab4b",
    "documents": [
        {
            "url": "https://cdn.mos.cms.futurecdn.net/HjFE8NKWuCmgfHCcndJ3rK.jpg",
            "name": "Custom document"
        }
    ]
}
```

| key  | type     | description                                                          |
| :--- | :------- | :------------------------------------------------------------------- |
| url  | `string` | Complete URL where the file/document is hosted or stored. TTL 1 hour |
| name | `string` | Name of the file/document                                            |

Calling the `/employees/:id/documents` POST endpoint will create a collection of documents associated with an employee.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "account-root",
    "version": "3.16.2"
  },
  "servers": [
    {
      "url": "https://{subdomain}.workable.com/spi/v3",
      "variables": {
        "subdomain": {
          "default": "subdomain"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "",
        "x-default": "Bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/employees/{id}/documents": {
      "post": {
        "summary": "/employees/:id/documents",
        "description": "Uploads a list of documents for a specific employee. Required scope: `w_employees`.",
        "operationId": "employeesiddocuments-1",
        "parameters": [
          {
            "name": "subdomain",
            "in": "path",
            "description": "The account subdomain",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "path",
            "description": "The employee id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "member_id": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "201",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```