Get the connection's warmup schedule and today's usage so far (404 if it has none)
GET
/v1/connections/{connection}/warmup
const url = 'https://api.replifier.com/v1/connections/pcn_01hx0000000000000000000000/warmup';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/connections/pcn_01hx0000000000000000000000/warmupParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”connection
required
string
Example
pcn_01hx0000000000000000000000Responses
Section titled “Responses”Warmup
Media typeapplication/json
object
enabled
required
boolean
startedOn
required
string
steps
required
Array<number>
completed
required
The last step has passed: no cap
boolean
today
required
object
day
required
string
cap
required
number
used
required
Emails already sent today or scheduled for today on this connection
number
Example generated
{ "enabled": true, "startedOn": "example", "steps": [ 1 ], "completed": true, "today": { "day": "example", "cap": 1, "used": 1 }}No session, expired session, or invalid, expired or revoked API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Internal error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}