| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

name

string

required

length ≤ 100

The name of the file

document

uri

required

The uploaded document file

phone_number_raw_number

string

required

document_summary

document_short_description

string | null

Short description of the document

clean_document_name

string | null

Clean name of the document

content-type

string

enum

Defaults to application/json

Generated from available request content types

application/jsonapplication/x-www-form-urlencodedmultipart/form-data

Allowed:

`application/json``application/x-www-form-urlencoded``multipart/form-data`

# ``201

object

id

string

required

name

string

required

length ≤ 100

The name of the file

file_type

string

enum

required

- `pdf` \- PDF
- `txt` \- Text
- `csv` \- CSV
- `image` \- Image
- `doc` \- Word Document
- `docx` \- Word Document (DOCX)
- `zip` \- ZIP Archive
- `other` \- Other
- `unknown` \- Unknown

`pdf``txt``csv``image``doc``docx``zip``other``unknown`

document

uri

required

The uploaded document file

phone_number

object

required

id

string

required

raw_number

string

required

length ≤ 50

Original phone number as provided

valid

boolean | null

required

Whether the phone number is valid

document_summary

document_short_description

string | null

Summary of the document

clean_document_name

string | null

Clean name of the document

# ``400      Invalid request data

# ``403      Not authorized to create file links

Updated 3 months ago

* * *

ShellNodeRubyPHPPython

Base URL

https://api.flextract.dev/api/file-links/

```

xxxxxxxxxx

curl --request POST \

--url https://api.flextract.dev/api/file-links/ \

--header 'accept: application/json' \

--header 'content-type: application/json'
```

```

xxxxxxxxxx

{

"id": "string",

"name": "string",

"file_type": "pdf",

"document": "string",

"phone_number": {

"id": "string",

"raw_number": "string",

"valid": true

},

"document_summary": "string",

"document_short_description": "string",

"clean_document_name": "string"

}
