> ## Documentation Index
> Fetch the complete documentation index at: https://developers.phrase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload file to file storage asynchronously

> Upload file asynchronously to the file storage. The file is saved and can be retrieved by sending a GET request to this endpoint.
The returned ID can be used as a parameter for uploading files to third party systems or for file conversion.
The file will be deleted after 1 day.




## OpenAPI

````yaml /openapi/phrase-connectors.json post /files/v1/async/upload-file
openapi: 3.0.1
info:
  title: Connectors API
  description: Connectors API documentation
  version: '1.0'
servers:
  - url: https://eu.phrase.com/connectors/
    description: The API server for EU data center.
  - url: https://us.phrase.com/connectors/
    description: The API server for US data center.
security:
  - bearerAuth: []
tags:
  - name: Contentful
    description: Perform operations using the Contentful connector.
paths:
  /files/v1/async/upload-file:
    post:
      tags:
        - Files
      summary: Upload file to file storage asynchronously
      description: >
        Upload file asynchronously to the file storage. The file is saved and
        can be retrieved by sending a GET request to this endpoint.

        The returned ID can be used as a parameter for uploading files to third
        party systems or for file conversion.

        The file will be deleted after 1 day.
      operationId: uploadAsync
      parameters:
        - name: X-Webhook
          in: header
          required: false
          schema:
            type: string
        - name: X-ActionId
          in: header
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              required:
                - file
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: OK
          headers:
            X-ActionId:
              description: >
                A logging ID of the request. It is propagated through Phrase
                systems, making it easier to connect logs from various services.

                If no ActionId is sent with a request, one will be generated by
                Bifrost and returned with the response.
              style: simple
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncUploadFileResponse'
              examples:
                Response:
                  description: Response
                  value:
                    uid: DRZMMKMO0jOZvqnCD6rOI3
                    expiration: DAY
                    origin: bifrost
                    sha256: >-
                      a80657bc2c3cd671207f239851ca2147c6fc93b813d8e53fcde66778ab618d4a
                    size: 47
                    customer:
                      organization: bifrost
                      user: bifrost
components:
  schemas:
    AsyncUploadFileResponse:
      type: object
      properties:
        webhookUrl:
          type: string
        uid:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token created by calling Phrase API /oauth/token endpoint.

````