New: 13 caption styles
Jellypod Docs

Reserve a file Source and receive a scoped upload URL

POST
/v1/sources/uploads

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key issued from /settings/api-keys in the Jellypod studio. Send as Authorization: Bearer <key>.

Request Body

application/json
  1. body
file_name*string
Length1 <= length <= 255
mime_type*string
prepare_visuals?booleanDeprecated

Deprecated compatibility field. Source preparation is automatic.

Defaultfalse
size_bytes*integer
Range0 < value <= 104857600
title?string
Length1 <= length <= 500

Response Body

Upload slot reserved. PUT raw file bytes to upload.url with the returned headers, then POST complete_path. File content is processed asynchronously.

application/json
  1. response
data*
curl -X POST 'https://api.jellypod.com/v1/sources/uploads' \  -H 'Content-Type: application/json' \  -d '{  "file_name": "string",  "mime_type": "string",  "size_bytes": 1}'
{  "data": {    "complete_path": "string",    "source": {      "created_at": "string",      "error_message": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "metadata": null,      "status": "string",      "title": "string",      "type": "string",      "updated_at": "string"    },    "upload": {      "expires_at": "2019-08-24T14:15:22Z",      "headers": {        "content-type": "string"      },      "method": "PUT",      "url": "http://example.com"    }  }}

Was this page helpful?