Pocket

Create upload URL

Generate a pre-signed S3 URL for uploading a new recording

POST
/api/v1/public/recordings/upload-url

Authorization

BearerAuth
AuthorizationBearer <token>

Enter your API key (pk_xxx). The Bearer prefix will be added automatically.

In: header

Request Body

application/json

Upload URL request

content_type?string
duration?number
file_name?string
recording_at?string
title?string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://public.heypocketai.com/api/v1/public/recordings/upload-url" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": null,
  "error": "string",
  "pagination": {
    "has_more": true,
    "limit": 0,
    "page": 0,
    "total": 0,
    "total_pages": 0
  },
  "success": true
}
{
  "data": null,
  "error": "string",
  "pagination": {
    "has_more": true,
    "limit": 0,
    "page": 0,
    "total": 0,
    "total_pages": 0
  },
  "success": true
}
{
  "data": null,
  "error": "string",
  "pagination": {
    "has_more": true,
    "limit": 0,
    "page": 0,
    "total": 0,
    "total_pages": 0
  },
  "success": true
}
{
  "data": null,
  "error": "string",
  "pagination": {
    "has_more": true,
    "limit": 0,
    "page": 0,
    "total": 0,
    "total_pages": 0
  },
  "success": true
}