POST
/
v1
/
channels
/
{channelID}
/
resumable-uploads
/
{uploadSessionID}
Upload a chunk to a resumable upload session
curl --request POST \
  --url https://api.wazapin.com/v1/channels/{channelID}/resumable-uploads/{uploadSessionID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": "<string>",
  "file_offset": 1
}
'
{
  "data": {
    "media_handle": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Session token or API key

Path Parameters

channelID
string
required

Channel ID

uploadSessionID
string
required

Upload session ID

Body

application/json
data
string
required

Base64-encoded chunk data

file_offset
integer<int64>
required

Byte offset

Required range: x >= 0

Response

OK

data
object
required