{
  "info": {
    "name": "SealDrop API v1",
    "description": "Every SealDrop API route. Set the apiKey variable to a key (start with a test key: sd_test_…). Docs: https://sealdrop.ca/developers/",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.sealdrop.ca"
    },
    {
      "key": "apiKey",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "Organization",
      "item": [
        {
          "name": "The organization and key making the call",
          "request": {
            "method": "GET",
            "description": "Check that a key works, and read its organization, scopes and limits. Any valid key can call it.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "me"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Requests",
      "item": [
        {
          "name": "List requests",
          "request": {
            "method": "GET",
            "description": "Newest first, 50 a page (up to 200). Filter by `status`, by when they were submitted or created. To follow changes as they happen, use the events feed (`GET /v1/events`) instead of listing again and again.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/requests",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "requests"
              ]
            }
          }
        },
        {
          "name": "One request, with its files",
          "request": {
            "method": "GET",
            "description": "Everything the staff app's request page shows: who it went to, the note, the person's reply, the questionnaire, its files and their malware-scan status, and when it will be deleted. Reading it doesn't mark it as seen for staff.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/requests/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "requests",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Send a request",
          "request": {
            "method": "POST",
            "description": "Sends the secure link by email and/or text, exactly as the app's New request: the organization's wording and branding, its link lifetime, daily limits and plan rules. Needs an `Idempotency-Key` header (any id of your own, e.g. your record's): a retry with the same key and body within 24 hours returns the first answer instead of sending again. With a test key, the email goes only to the admin who created the key and no text is sent.",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/requests",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "requests"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"person\": {\n    \"name\": \"\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Send the link again",
          "request": {
            "method": "POST",
            "description": "A new link replaces the old one (which stops working), sent the same way. Allowed while the request is sent or expired.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/requests/:id/resend",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "requests",
                ":id",
                "resend"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Cancel a request",
          "request": {
            "method": "POST",
            "description": "The link stops working and anything uploaded is deleted right away.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/requests/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "requests",
                ":id",
                "cancel"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Mark a request filed",
          "request": {
            "method": "POST",
            "description": "As Filed in the app: its files are deleted right away. After downloading, prefer `POST /v1/requests/{id}/imported`, which also checks every file was fetched.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/requests/:id/filed",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "requests",
                ":id",
                "filed"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Documents",
      "item": [
        {
          "name": "A download link for one file",
          "request": {
            "method": "GET",
            "description": "A link to the malware-scanned copy, valid 5 minutes — GET it without an Authorization header. `409 still_scanning` means try again shortly; `409 blocked`, the scan deleted it; `410`, it is already deleted. The first download of a request starts its deletion clock, exactly as when staff download.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/files/:id/download",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "files",
                ":id",
                "download"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "The questionnaire answers, as data",
          "request": {
            "method": "GET",
            "description": "Each question with its stable name, its title and the answer — to fill your own fields. The same answers are in the answers PDF among the files. `404` when the request had no questionnaire; `410` once its files were deleted.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/requests/:id/answers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "requests",
                ":id",
                "answers"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Confirm your system has the documents",
          "request": {
            "method": "POST",
            "description": "Call it once your system has stored every file (and the answers): SealDrop then deletes its copy right away, as when staff mark a request Filed — so the person's documents live in one place, your system. If the organization chose to have staff look first, the request is marked imported and deleted on its usual schedule. `409 not_downloaded` until every clean file has been downloaded at least once; `409 still_scanning` while a file is being scanned. Calling it again is safe.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/requests/:id/imported",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "requests",
                ":id",
                "imported"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Audit",
      "item": [
        {
          "name": "The organization's audit log",
          "request": {
            "method": "GET",
            "description": "Who did what and when — staff, API keys, the people who uploaded, SealDrop itself — with ids, never names of clients, file names or answers. 200 a page, newest first.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/audit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "audit"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Events",
      "item": [
        {
          "name": "What happened, in order",
          "request": {
            "method": "GET",
            "description": "A feed of changes — ids and types only, nothing about the person — kept 30 days. Poll it (every minute is plenty), remember `nextCursor`, and fetch whatever changed. For systems that can't receive webhooks; webhooks will send the same events.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "events"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Forms",
      "item": [
        {
          "name": "The organization's questionnaires",
          "request": {
            "method": "GET",
            "description": "Ids and names, to choose one when sending a request.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/questionnaires",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "questionnaires"
              ]
            }
          }
        },
        {
          "name": "The organization's email designs",
          "request": {
            "method": "GET",
            "description": "Ids and names of the designed emails; one may be the default.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/email-designs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "email-designs"
              ]
            }
          }
        },
        {
          "name": "One questionnaire, with its questions",
          "request": {
            "method": "GET",
            "description": "SurveyJS JSON, the subset SealDrop allows (text, comment, choices, dropdown, yes/no, date, signature).",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/questionnaires/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "questionnaires",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Make a questionnaire",
          "request": {
            "method": "POST",
            "description": "A name and its questions (SurveyJS JSON; anything outside SealDrop’s allowed subset is refused).",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/questionnaires",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "questionnaires"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\",\n  \"survey\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Change a questionnaire",
          "request": {
            "method": "PUT",
            "description": "Requests already sent keep the copy they were sent with.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/questionnaires/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "questionnaires",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\",\n  \"survey\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a questionnaire",
          "request": {
            "method": "DELETE",
            "description": "Requests already sent keep their copy.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/questionnaires/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "questionnaires",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Open links",
          "request": {
            "method": "GET",
            "description": "One link anyone can open to fill questionnaires and upload documents. The address is shown only when made or replaced.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/open-links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "open-links"
              ]
            }
          }
        },
        {
          "name": "Make an open link",
          "request": {
            "method": "POST",
            "description": "Within the plan’s limit. The answer holds its address (`url`) once.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/open-links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "open-links"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\",\n  \"templateIds\": [],\n  \"allTemplates\": true,\n  \"mode\": \"all\",\n  \"filesAllowed\": true,\n  \"filesRequired\": true,\n  \"perDay\": 0,\n  \"enabled\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Change an open link",
          "request": {
            "method": "PUT",
            "description": "Its questionnaires, documents, note, daily limit, last day, or turn it off (`enabled: false`).",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/open-links/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "open-links",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\",\n  \"templateIds\": [],\n  \"allTemplates\": true,\n  \"mode\": \"all\",\n  \"filesAllowed\": true,\n  \"filesRequired\": true,\n  \"perDay\": 0,\n  \"enabled\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Replace an open link’s address",
          "request": {
            "method": "POST",
            "description": "The old address stops working; the new one is in the answer once.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/open-links/:id/rotate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "open-links",
                ":id",
                "rotate"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Delete an open link",
          "request": {
            "method": "DELETE",
            "description": "Its address stops working.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/open-links/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "open-links",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Test mode",
      "item": [
        {
          "name": "Play the person's part (test keys only)",
          "request": {
            "method": "POST",
            "description": "For a request made with a test key: SealDrop uploads its own sample PDF and photo, fills the questionnaire with sample answers, and submits — through the real malware scan, so the files become downloadable a minute or two later, exactly as a real upload would. Live keys get 403.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/test/requests/:id/simulate-upload",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "test",
                "requests",
                ":id",
                "simulate-upload"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Contacts",
      "item": [
        {
          "name": "List contacts",
          "request": {
            "method": "GET",
            "description": "2,500 a page. With `updatedSince` (from the last page’s `asOf`), only what changed — and the ids deleted since — so your system can stay in step cheaply.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "contacts"
              ]
            }
          }
        },
        {
          "name": "One contact",
          "request": {
            "method": "GET",
            "description": "Name, email, mobile, groups, whether they may be contacted, and when they’d be deleted for inactivity.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/contacts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "contacts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Add a contact",
          "request": {
            "method": "POST",
            "description": "One contact per email, per mobile and per client ID in the organization: one already used → `409 duplicate_email` (or `duplicate_phone`, `duplicate_idNumber`) with the existing `contactId`. Needs `consent.confirmed`.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "contacts"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\",\n  \"consent\": {\n    \"confirmed\": true\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Add or update up to 500 contacts",
          "request": {
            "method": "POST",
            "description": "For each row: a new person is created, one whose email or mobile is already in Contacts is updated (name, and added to the groups), anything invalid is skipped with the reason. One result per row, in order.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/contacts/bulk",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "contacts",
                "bulk"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"contacts\": [],\n  \"consent\": {\n    \"confirmed\": true\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Change a contact",
          "request": {
            "method": "PUT",
            "description": "Name, email or mobile.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/contacts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "contacts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a contact",
          "request": {
            "method": "DELETE",
            "description": "Gone for good; their requests keep their own deletion schedule.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/contacts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "contacts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Mark “don’t contact”",
          "request": {
            "method": "POST",
            "description": "No bulk requests from then on. Lifting it is for an admin, in the app.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/contacts/:id/do-not-contact",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "contacts",
                ":id",
                "do-not-contact"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "List groups",
          "request": {
            "method": "GET",
            "description": "Ids, names and colours.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/groups",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "groups"
              ]
            }
          }
        },
        {
          "name": "Make a group",
          "request": {
            "method": "POST",
            "description": "A name and an optional colour.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/groups",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "groups"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Rename a group",
          "request": {
            "method": "PUT",
            "description": "A new name or colour.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/groups/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "groups",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a group",
          "request": {
            "method": "DELETE",
            "description": "Its contacts stay; they just leave the group.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/groups/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "groups",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Add or remove members",
          "request": {
            "method": "POST",
            "description": "Contact ids to add to and remove from the group, up to 500 each.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/groups/:id/members",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "groups",
                ":id",
                "members"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"add\": [],\n  \"remove\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Group sends",
      "item": [
        {
          "name": "Send to groups or everyone",
          "request": {
            "method": "POST",
            "description": "The app's Group or everyone: one request each, in waves within sending hours, with the organization's daily and monthly limits, the bounce and complaint safety stops, and unsubscribe. People with no email, marked don't contact, bounced or reported before, or sent one recently are skipped. Needs group sending on the plan and the bulk-sending terms accepted by an admin in the app. `sendAt` sends later. Test keys can't send to groups.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sends",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sends"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"groupIds\": [],\n  \"everyone\": true,\n  \"confirmation\": {\n    \"confirmed\": true\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Group sends so far",
          "request": {
            "method": "GET",
            "description": "Newest first, with their counts.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sends",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sends"
              ]
            }
          }
        },
        {
          "name": "One group send",
          "request": {
            "method": "GET",
            "description": "Its status and counts.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sends/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sends",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Who it went to, and what happened",
          "request": {
            "method": "GET",
            "description": "Per person: their request, whether it was sent, bounced, reported or answered.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sends/:id/results",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sends",
                ":id",
                "results"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Pause a group send",
          "request": {
            "method": "POST",
            "description": "No more waves until it is resumed.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sends/:id/pause",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sends",
                ":id",
                "pause"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Resume a group send",
          "request": {
            "method": "POST",
            "description": "After a safety stop (`pausedReason`), pass `acknowledged: true`.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/sends/:id/resume",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sends",
                ":id",
                "resume"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Cancel a group send",
          "request": {
            "method": "POST",
            "description": "People not sent yet are dropped; those already sent keep their links.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sends/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sends",
                ":id",
                "cancel"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Scheduled sends",
          "request": {
            "method": "GET",
            "description": "Sends waiting for their time (made here or in the app).",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/scheduled",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "scheduled"
              ]
            }
          }
        },
        {
          "name": "Cancel a scheduled send",
          "request": {
            "method": "DELETE",
            "description": "It will not go out.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/scheduled/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "scheduled",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          }
        }
      ]
    }
  ]
}
