MISSINdevelopersLog in

API reference

SaveCaptureSchedule

Save a capture cadence for a surface (platform axis) or a campaign; plan tier limits apply. Write access, capture toolset, MCP tool save_capture_schedule.

Access: Write

Variables

VariableTypeRequiredAcceptsDescription
axisString!yes"platform" or "campaign".
intervalMinutesInt!yes32-bit integerRequested spacing. Snapped up onto the 15-minute grid, then to the plan's floor.
maxCapturesIntno32-bit integerHow many captures before the row completes; null runs until turned off.
slotMinutesInt!yes32-bit integerAnchor offset within the interval, in minutes.
subjectIdString!yesSurface key on the platform axis; the campaign's id on the campaign axis.
untilStringnoAn ISO instant the run stops at, whichever of it and the count comes first. Null runs on the count alone.
updatedByStringno

Call it

bash
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"SaveCaptureSchedule","variables":{"axis":"…","intervalMinutes":20,"slotMinutes":20,"subjectId":"…"},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"36538b16af4037239b5ff099e580c02ecb69b05edf2247b518a68f250fc3fdf0"}}}'

Document

graphql
mutation SaveCaptureSchedule($axis: String!, $intervalMinutes: Int!, $maxCaptures: Int, $slotMinutes: Int!, $subjectId: String!, $until: String, $updatedBy: String) { __typename saveCaptureSchedule( input: {axis: $axis, subjectId: $subjectId, intervalMinutes: $intervalMinutes, slotMinutes: $slotMinutes, maxCaptures: $maxCaptures, until: $until, updatedBy: $updatedBy} ) { __typename intervalMinutes maxCaptures until userErrors { __typename code field message } } }

For AI agents: a markdown index of this site is at /llms.txt, and every page is available as markdown by adding .md to its URL.