{
  "info": {
    "name": "Kelynto partner API v1",
    "description": "The partner API of Kelynto (docs/site/partner/quickstart.md). Set baseUrl and partnerKey in the collection variables; the base address, the sandbox key and the two synthetic clients come with sandbox access (marc@kelynto.com, subject Sandbox access).",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://app.example.com"
    },
    {
      "key": "partnerKey",
      "value": "kpk_..."
    },
    {
      "key": "client",
      "value": "harlow-and-finch-apparel-synthetic"
    },
    {
      "key": "week",
      "value": "2026-10-19"
    },
    {
      "key": "submissionId",
      "value": ""
    },
    {
      "key": "webhookId",
      "value": ""
    },
    {
      "key": "deliveryId",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "1. Key and clients",
      "item": [
        {
          "name": "Who am I",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1"
              ]
            },
            "description": "The partner, whether it is a sandbox, the key's scopes and the links."
          }
        },
        {
          "name": "List clients",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients"
              ]
            },
            "description": "Each client with its summary line."
          }
        },
        {
          "name": "Make a client",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "create-northwind-1"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients"
              ]
            },
            "description": "A sandbox key makes a synthetic client.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Northwind Outfitters\",\n  \"currency\": \"USD\",\n  \"timezone\": \"America/New_York\",\n  \"week_start_day\": 6\n}"
            }
          }
        },
        {
          "name": "One client",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Usage per client and month",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/usage?months=3",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "usage?months=3"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Licence pool",
          "request": {
            "description": "The wholesale agreement and its pool: size, allocated, available, each client's tier and end date, warnings and notices. Scope clients:read.",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "licences"
              ],
              "raw": "{{baseUrl}}/api/partner/v1/licences"
            }
          }
        },
        {
          "name": "Change a client's tier",
          "request": {
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tier\": \"plan_b\"\n}"
            },
            "description": "Give the client another tier the wholesale agreement allows. Scope clients:write.",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "licence"
              ],
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/licence"
            }
          }
        },
        {
          "name": "Invite the client's first admin",
          "request": {
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"owner@northwind.example\"\n}"
            },
            "description": "The person at the retailer who will administer its workspace. Kelynto mails the address an invitation that works once; on accepting they are the workspace's admin, one of the client's own people. Only while the client has no admin of its own, and never an address of the partner's.",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "admins"
              ],
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/admins"
            }
          }
        }
      ]
    },
    {
      "name": "2. Data in",
      "item": [
        {
          "name": "Send a stores file",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "stores-{{week}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/data/stores",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "data",
                "stores"
              ]
            },
            "description": "201 loaded, 202 held for a decision, 200 received before, 422 refused.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": "stores.csv"
                }
              ]
            }
          }
        },
        {
          "name": "Send a sales file",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "sales-{{week}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/data/sales",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "data",
                "sales"
              ]
            },
            "description": "",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": "sales.csv"
                }
              ]
            }
          }
        },
        {
          "name": "What became of a file",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/data/submissions/{{submissionId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "data",
                "submissions",
                "{{submissionId}}"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Data health",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/data/health",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "data",
                "health"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Preview an open-to-buy plan",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/references/preview",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "references",
                "preview"
              ]
            },
            "description": "What the plan would load as, nothing written: its periods and classes, the open-to-buy working with its identity checked, and each week of the phasing with the holidays it holds.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"csv\": \"Store,Month,Class,BOM Retail,Planned Sales,Planned Markdowns,Planned Receipts,EOM Retail\\n101,2027-02,Knit Tops,48000,12500,1250,14000,48250\\n101,2027-03,Knit Tops,48250,13000,1300,15000,48950\\n\"\n}"
            }
          }
        },
        {
          "name": "Load an open-to-buy plan",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "otb-plan-0001"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/references",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "references"
              ]
            },
            "description": "The plan by month and class with its working, phased to weeks as the app phases it and kept as the original plan. 409 unmapped_classes: send hierarchy_map.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"plan\",\n  \"label\": \"FY27 OTB plan\",\n  \"as_of\": \"2026-12-01\",\n  \"original\": true,\n  \"csv\": \"Store,Month,Class,BOM Retail,Planned Sales,Planned Markdowns,Planned Receipts,EOM Retail\\n101,2027-02,Knit Tops,48000,12500,1250,14000,48250\\n101,2027-03,Knit Tops,48250,13000,1300,15000,48950\\n\"\n}"
            }
          }
        }
      ]
    },
    {
      "name": "3. Reviews",
      "item": [
        {
          "name": "Latest review",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/reviews/latest",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "reviews",
                "latest"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Produce the review of a week",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "run-{{client}}-{{week}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/runs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "runs"
              ]
            },
            "description": "Needs runs:write. Answers when the review has finished.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"week_start\": \"{{week}}\",\n  \"force\": true\n}"
            }
          }
        },
        {
          "name": "Review of a week",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/reviews/{{week}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "reviews",
                "{{week}}"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Findings of a week",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/reviews/{{week}}/findings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "reviews",
                "{{week}}",
                "findings"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Publish",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "publish-{{client}}-{{week}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/reviews/{{week}}/publish",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "reviews",
                "{{week}}",
                "publish"
              ]
            },
            "description": "Needs reviews:publish."
          }
        },
        {
          "name": "Review as Word",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/reviews/{{week}}/document/docx",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "reviews",
                "{{week}}",
                "document",
                "docx"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Review as PowerPoint",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/reviews/{{week}}/document/pptx",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "reviews",
                "{{week}}",
                "document",
                "pptx"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Review as PDF",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/reviews/{{week}}/document/pdf",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "reviews",
                "{{week}}",
                "document",
                "pdf"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Outlook",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/outlook",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "outlook"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Period review: periods",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/period-review/periods",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "period-review",
                "periods"
              ]
            },
            "description": "The client's months or fiscal periods with sales on file, newest first, each closed or to date."
          }
        },
        {
          "name": "Period review",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/period-review",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "period-review"
              ]
            },
            "description": "One period against the plan's own figure for it and last year (the newest unless start names its first day)."
          }
        },
        {
          "name": "Period review as a file",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/period-review/document/pdf",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "period-review",
                "document",
                "pdf"
              ]
            },
            "description": "The period review as pptx, docx or pdf."
          }
        },
        {
          "name": "Summary line",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/summary",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "summary"
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "4. Webhooks",
      "item": [
        {
          "name": "List webhooks",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "webhooks"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Add a webhook",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "hook-{{client}}-1"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "webhooks"
              ]
            },
            "description": "The answer carries the signing secret, once.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Our sync\",\n  \"url\": \"https://hooks.example.com/kelynto\",\n  \"events\": [\n    \"data.accepted\",\n    \"data.held\",\n    \"review.produced\",\n    \"review.published\",\n    \"outlook.issued\",\n    \"pack.sent\"\n  ]\n}"
            }
          }
        },
        {
          "name": "Change a webhook",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/webhooks/{{webhookId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "webhooks",
                "{{webhookId}}"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"active\": true\n}"
            }
          }
        },
        {
          "name": "Send a test delivery",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/webhooks/{{webhookId}}/test",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "webhooks",
                "{{webhookId}}",
                "test"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "New signing secret",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/webhooks/{{webhookId}}/secret",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "webhooks",
                "{{webhookId}}",
                "secret"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Delivery log",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/webhooks/{{webhookId}}/deliveries",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "webhooks",
                "{{webhookId}}",
                "deliveries"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Replay a delivery",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/webhooks/{{webhookId}}/deliveries/{{deliveryId}}/replay",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "webhooks",
                "{{webhookId}}",
                "deliveries",
                "{{deliveryId}}",
                "replay"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Remove a webhook",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/webhooks/{{webhookId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "webhooks",
                "{{webhookId}}"
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "5. Embedding",
      "item": [
        {
          "name": "Mint an embed token",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user\": {\n    \"id\": \"u-1042\",\n    \"name\": \"Dana Ruiz\"\n  },\n  \"origin\": \"http://localhost:8472\",\n  \"view\": \"review\",\n  \"mode\": \"header\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/embed/tokens",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "embed",
                "tokens"
              ]
            },
            "description": "An embed token for one person of yours, one client and one of your embed origins. Single use, minutes long. Put `url` in an iframe on that origin (docs/site/partner/embedding.md). Needs a key with embed:create."
          }
        },
        {
          "name": "End a person's embedded sessions",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{partnerKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/partner/v1/clients/{{client}}/embed/sessions?user=u-1042",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "partner",
                "v1",
                "clients",
                "{{client}}",
                "embed",
                "sessions"
              ],
              "query": [
                {
                  "key": "user",
                  "value": "u-1042"
                }
              ]
            },
            "description": "When the person signs out of your application. Without `user`, every embedded session of the client ends."
          }
        }
      ]
    }
  ]
}
