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

# createSignedUrlForImport

> Generates signed URL for file upload and updates task with URL. Exactly one of the two ids
identifies the task.



**mutation** `createSignedUrlForImport(input: CreateSignedUrlForImportInput!): CreateSignedUrlForImportPayload!`

> Deprecated: Use `createQueuedTaskUploadUrl` instead.

## Arguments

**`input`**: `CreateSignedUrlForImportInput!` (required)

## Returns

`CreateSignedUrlForImportPayload!`

**`errors`**: `[CreateSignedUrlForImportError!]`

---

**`signedUrl`**: `SignedUrl`

## Examples

```graphql Mutation
mutation CreateSignedUrlForImport($input: CreateSignedUrlForImportInput!) {
  createSignedUrlForImport(input: $input) {
    errors {
      __typename
      ... on GraphQlError {
        code
        details {
          __typename
        }
        message
      }
    }
    signedUrl {
      url
      validUntil
    }
  }
}
```

```json Variables
{
  "input": {}
}
```

```json Response
{
  "data": {
    "createSignedUrlForImport": {
      "errors": [
        {
          "__typename": "GraphQlError",
          "code": "string",
          "details": [
            {
              "__typename": "KeyValuePairOfStringAndString"
            }
          ],
          "message": "string"
        }
      ],
      "signedUrl": {
        "url": "string",
        "validUntil": "value"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.