Ad InsertionTrigger Cue-Out (Custom Duration)

Trigger Cue-Out (Custom Duration)

Custom Plan Sends a SCTE-35 cue-out signal to the stream encoder, overriding the stream's saved default ad break duration for this break only.

curl -X GET "https://api.5centscdn.com/v2/streams/push/123/adinsertion/cue-out/42" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "result": "success",
  "message": "Ad Insertion triggered for 30s"
}
GET
/streams/push/{streamid}/adinsertion/cue-out/{duration}
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

path
streamidinteger
Required

Numeric stream ID.

path
durationinteger
Required

Ad break duration in seconds, overriding the stream's saved default for this cue-out only.

Min: 10 • Max: 180
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

streamidinteger
Required

Numeric stream ID.

durationinteger
Required

Ad break duration in seconds, overriding the stream's saved default for this cue-out only.

Responses

resultstring

Status of the API response.

Allowed values:successerror
messagestring

Human-readable message describing the result.