Langsung ke isi
GrowSocmedDokumentasiSocial media command center

Create an upload link

A link that uploads files into the media library without an API key (for AI agents with a terminal): POST multipart field `file` (≤ 100 MB) or PUT the raw bytes with ?name= (any size up to the plan's limit). It works 30 minutes from its last use, at most 6 hours.

POST
/media/upload-links

A link that uploads files into the media library without an API key (for AI agents with a terminal): POST multipart field file (≤ 100 MB) or PUT the raw bytes with ?name= (any size up to the plan's limit). It works 30 minutes from its last use, at most 6 hours.

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Response Body

Created

application/json
  1. response
upload_url*string
expires_at*string
curl*string
Example Request
curl -X POST 'https://socmed.growpaces.com/api/v1/media/upload-links'
Example Response201
{  "upload_url": "string",  "expires_at": "string",  "curl": "string"}