# Create a file and attach it to the specified resource, using the raw content provided in the request

Creates a Salesforce File from provided content and attaches it to the specified Resource (person, employee, or team).

Endpoint: POST /api/resources/{resourceId}/files
Version: 1.13
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `resourceId` (string, required)
    The unique Salesforce ID of the Resource (person/employee) to whom the file will be attached. This is REQUIRED.

## Request fields (application/json):

  - `ContentBase64` (string)
    Base64 encoded body of the file.

  - `ContentRaw` (string)
    raw content body of the file.

  - `FileTitle` (string, required)
    The display name of the file. This is REQUIRED.

  - `FileName` (string, required)
    The file name used when downloading the file. This is REQUIRED.

## Response 202:

  - `202` (unknown)
    Success - Created

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 500:

  - `500` (unknown)
    Server Error

## Response 500 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

