API ReferenceMedia
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
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.
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
Created
application/json- response
upload_url*stringexpires_at*stringcurl*stringcurl -X POST 'https://socmed.growpaces.com/api/v1/media/upload-links'Example Response201
{ "upload_url": "string", "expires_at": "string", "curl": "string"}