POST/pendingfiles.json
Upload a File (Classic)
Send your file to POST /pendingfiles.json using the FORM field file. You will still need to authenticate yourself by passing your API token. If the upload is successful, you will get back a ref ID to pass into another call.
Request Examples
Example Request
POST
/pendingfiles.jsoncurl --request GET \ --url https://{site_name}.teamwork.com/stats.json
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Response
201 Response
application/json
{
"pendingFile": {
"ref": "tf_F61F7DB6"
}
}