{
  "auth": {
    "bearer": [
      {
        "key": "token",
        "type": "string",
        "value": "{{apiKey}}"
      }
    ],
    "type": "bearer"
  },
  "info": {
    "description": "Read and write your Facteur workspaces, inboxes and messages from a script or a test suite, without a browser.\n\nEvery request carries an API key in the `Authorization` header: `Authorization: Bearer fk_...`. A person creates the key in the Facteur app and sees it once. A key holds one or more of the permissions `ws:read` and `ws:write` (the content of a workspace: its inboxes and its messages) and `org:read` and `org:write` (the structure of the organization: its workspaces). Writing includes reading inside a family, and the two families never imply each other. A key reaches only the workspaces it was given: any other answers 404, as if it did not exist.\n\nEach operation below names the permission it needs and the refusals it can answer, each with its code. The guides are in the developer portal, whose address `GET /.well-known/oauth-protected-resource` gives as `resource_documentation`.",
    "name": "Facteur API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "item": [
        {
          "auth": {
            "type": "noauth"
          },
          "name": "getHealth",
          "request": {
            "description": "Retrieves a Health resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "health"
              ],
              "raw": "{{baseUrl}}/health"
            }
          }
        }
      ],
      "name": "Health"
    },
    {
      "item": [
        {
          "name": "listExtractors",
          "request": {
            "description": "Retrieves the collection of Extractor resources.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId",
                "extractors"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId/extractors",
              "variable": [
                {
                  "description": "Extractor identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "createExtractor",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"key\": \"code\",\n    \"scope\": \"subject\",\n    \"pattern\": \"code (\\\\d+)\"\n}"
            },
            "description": "Creates a Extractor resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId",
                "extractors"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId/extractors",
              "variable": [
                {
                  "description": "Extractor identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "deleteExtractor",
          "request": {
            "description": "Removes the Extractor resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId",
                "extractors",
                ":extractorId"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId/extractors/:extractorId",
              "variable": [
                {
                  "description": "Extractor identifier",
                  "key": "inboxId",
                  "value": ""
                },
                {
                  "description": "Extractor identifier",
                  "key": "extractorId",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "Extractor"
    },
    {
      "item": [
        {
          "name": "suggestExtractors",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"source\": \"Your code is 265279.\",\n    \"selection\": \"265279\",\n    \"offset\": 13\n}"
            },
            "description": "Creates a ExtractorSuggestions resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId",
                "extractors",
                "suggestions"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId/extractors/suggestions",
              "variable": [
                {
                  "description": "ExtractorSuggestions identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "ExtractorSuggestions"
    },
    {
      "item": [
        {
          "name": "tryExtractor",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"pattern\": \"code (\\\\d+)\",\n    \"scope\": \"subject\"\n}"
            },
            "description": "Creates a ExtractorTrial resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId",
                "extractors",
                "trials"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId/extractors/trials",
              "variable": [
                {
                  "description": "ExtractorTrial identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "ExtractorTrial"
    },
    {
      "item": [
        {
          "name": "listInboxes",
          "request": {
            "description": "Retrieves the collection of Inbox resources.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes"
              ],
              "raw": "{{baseUrl}}/inboxes"
            }
          }
        },
        {
          "name": "deleteInbox",
          "request": {
            "description": "Removes the Inbox resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId",
              "variable": [
                {
                  "description": "Inbox identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "updateInbox",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"description\": \"Codes for the pipeline\"\n}"
            },
            "description": "Updates the Inbox resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/merge-patch+json"
              }
            ],
            "method": "PATCH",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId",
              "variable": [
                {
                  "description": "Inbox identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "listWorkspaceInboxes",
          "request": {
            "description": "Retrieves the collection of Inbox resources.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces",
                ":slug",
                "inboxes"
              ],
              "raw": "{{baseUrl}}/workspaces/:slug/inboxes",
              "variable": [
                {
                  "description": "Inbox identifier",
                  "key": "slug",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "createInbox",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"name\": \"CI codes\"\n}"
            },
            "description": "Creates a Inbox resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces",
                ":slug",
                "inboxes"
              ],
              "raw": "{{baseUrl}}/workspaces/:slug/inboxes",
              "variable": [
                {
                  "description": "Inbox identifier",
                  "key": "slug",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "Inbox"
    },
    {
      "item": [
        {
          "name": "downloadAttachment",
          "request": {
            "description": "Downloads the content of an attachment.\n\nThe bytes, streamed, with the type the message declared for them. `Content-Disposition` is `inline` for `application/pdf`, `image/png`, `image/jpeg`, `image/gif` and `image/webp` and `attachment` for every other type, with the name written twice (`filename`, flattened to printable ASCII, and `filename*`, encoded). The response forbids sniffing (`X-Content-Type-Options: nosniff`), sandboxes the file (`Content-Security-Policy: default-src 'none'; sandbox; frame-ancestors 'none'`), keeps it to the same site (`Cross-Origin-Resource-Policy: same-site`), to the cache of the caller (`Cache-Control: private, max-age=86400`) and out of search engines (`X-Robots-Tag: noindex`). The inline images of a message are readable by their identifier like the attachments, and `Accept` negotiates nothing: the type of the answer is the one of the file.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "attachments",
                ":attachmentId"
              ],
              "raw": "{{baseUrl}}/attachments/:attachmentId",
              "variable": [
                {
                  "description": "The `id` of an attachment or of an inline image, as a message says it.",
                  "key": "attachmentId",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "getMessage",
          "request": {
            "description": "Retrieves a Message resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messages",
                ":messageId"
              ],
              "raw": "{{baseUrl}}/messages/:messageId",
              "variable": [
                {
                  "description": "Message identifier",
                  "key": "messageId",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "Message"
    },
    {
      "item": [
        {
          "name": "listInboxMessages",
          "request": {
            "description": "Retrieves a MessagePage resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId",
                "messages"
              ],
              "query": [
                {
                  "description": "The size of the page: 50 by default, 200 at most; a larger one is brought down to 200.",
                  "disabled": true,
                  "key": "limit",
                  "value": ""
                },
                {
                  "description": "The `nextCursor` of the previous page; absent for the first one.",
                  "disabled": true,
                  "key": "cursor",
                  "value": ""
                }
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId/messages?limit=&cursor=",
              "variable": [
                {
                  "description": "MessagePage identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "MessagePage"
    },
    {
      "item": [
        {
          "name": "searchMessages",
          "request": {
            "description": "Retrieves a MessageSearchResult resource.\n\nReturns the messages that match the criteria given as query parameters, newest first, one page at a time. At least one criterion is required; a parameter that does not exist is refused.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messages"
              ],
              "query": [
                {
                  "description": "The identifier of an inbox. Naming one is a search on its own. One the caller does not reach is a 404, never an empty list.",
                  "disabled": true,
                  "key": "inbox",
                  "value": ""
                },
                {
                  "description": "The address (`slug`) of a workspace to search in. It narrows the search and does not fill it; the inbox wins when both are given.",
                  "disabled": true,
                  "key": "workspace",
                  "value": ""
                },
                {
                  "description": "A substring of the address the message was sent to, without regard to case. `%` and `_` are text.",
                  "disabled": true,
                  "key": "sentTo",
                  "value": ""
                },
                {
                  "description": "A substring of the address of the sender, without regard to case.",
                  "disabled": true,
                  "key": "sentFrom",
                  "value": ""
                },
                {
                  "description": "A substring of the subject, without regard to case.",
                  "disabled": true,
                  "key": "subject",
                  "value": "verification"
                },
                {
                  "description": "A substring of the body, in its text part or its HTML part, without regard to case.",
                  "disabled": true,
                  "key": "body",
                  "value": ""
                },
                {
                  "description": "A substring of the one-time code the ingester extracted; read in that column, never in the body.",
                  "disabled": true,
                  "key": "otp",
                  "value": ""
                },
                {
                  "description": "Whether the message carries a code (an empty one is not a code). A bound: it narrows in both modes, and alone it is a complete search.",
                  "disabled": true,
                  "key": "hasOtp",
                  "value": ""
                },
                {
                  "description": "A substring of the name of an attachment, without regard to case, over every real attachment of the message, kept or not (an inline image is not one). A text criterion: it joins `sentTo`, `sentFrom`, `subject`, `body` and `otp` in `all` or `any`.",
                  "disabled": true,
                  "key": "attachmentName",
                  "value": ""
                },
                {
                  "description": "Whether the message carries a real attachment (an inline image, such as a signature, is not one); `false` looks for the absence. A bound: it narrows in both modes, and alone it is a complete search.",
                  "disabled": true,
                  "key": "hasAttachment",
                  "value": ""
                },
                {
                  "description": "Messages received at this instant or after. A bound: it narrows in both modes.",
                  "disabled": true,
                  "key": "since",
                  "value": ""
                },
                {
                  "description": "`parsed` (the default) hides a message the ingester has not finished reading; `any` shows every state, including the refused ones.",
                  "disabled": true,
                  "key": "status",
                  "value": "parsed"
                },
                {
                  "description": "The channel. A bound, absent by default.",
                  "disabled": true,
                  "key": "type",
                  "value": ""
                },
                {
                  "description": "How `sentTo`, `sentFrom`, `subject`, `body`, `otp` and `attachmentName` join: all of them, or any of them. The bounds (`since`, `type`, `hasOtp`, `hasAttachment`, `status`) narrow in both modes.",
                  "disabled": true,
                  "key": "match",
                  "value": "all"
                },
                {
                  "description": "The size of the page, 50 by default and 200 at most; a larger one is brought down to 200, zero is refused.",
                  "disabled": true,
                  "key": "limit",
                  "value": "50"
                },
                {
                  "description": "The `nextCursor` of the previous page.",
                  "disabled": true,
                  "key": "cursor",
                  "value": ""
                },
                {
                  "description": "How long to wait, in milliseconds, for a message that matches: the search is played again every 250 ms and answers as soon as one does. Five minutes (300000) at most, a larger value is brought down to it and is not refused; zero, absent, negative or not a number is a single search. An expired wait answers 200 with an empty page. An organization holds 20 waits open at once, shared by all the instances: the next is refused with 429 `TOO_MANY_WAITS` and `Retry-After: 1`. An instance that is stopping answers a wait it cannot finish with 503 `API_DRAINING` and `Retry-After: 1`, never with an empty page. It fills no search by itself.",
                  "disabled": true,
                  "key": "wait",
                  "value": "0"
                }
              ],
              "raw": "{{baseUrl}}/messages?inbox=&workspace=&sentTo=&sentFrom=&subject=verification&body=&otp=&hasOtp=&attachmentName=&hasAttachment=&since=&status=parsed&type=&match=all&limit=50&cursor=&wait=0"
            }
          }
        },
        {
          "name": "searchMessagesByBody",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"subject\": \"verification\",\n    \"status\": \"parsed\",\n    \"match\": \"all\",\n    \"limit\": 50,\n    \"wait\": 0\n}"
            },
            "description": "Creates a MessageSearchResult resource.\n\nThe search of `searchMessages` with its criteria in a JSON body instead of the query string: the same criteria, limits, page, cursor and wait. Returns the messages that match, newest first, one page at a time, bodies included. At least one criterion is required; a field that does not exist is refused.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messages",
                "search"
              ],
              "raw": "{{baseUrl}}/messages/search"
            }
          }
        }
      ],
      "name": "MessageSearchResult"
    },
    {
      "item": [
        {
          "name": "listWorkspaces",
          "request": {
            "description": "Retrieves the collection of Workspace resources.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces"
              ],
              "raw": "{{baseUrl}}/workspaces"
            }
          }
        },
        {
          "name": "createWorkspace",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"name\": \"Checkout\"\n}"
            },
            "description": "Creates a Workspace resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces"
              ],
              "raw": "{{baseUrl}}/workspaces"
            }
          }
        },
        {
          "name": "getWorkspace",
          "request": {
            "description": "Retrieves a Workspace resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces",
                ":slug"
              ],
              "raw": "{{baseUrl}}/workspaces/:slug",
              "variable": [
                {
                  "description": "Workspace identifier",
                  "key": "slug",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "deleteWorkspace",
          "request": {
            "description": "Refuse to delete a workspace.\n\nAn API key never deletes a workspace: the call always answers 403. Delete the workspace from the application, by a person.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces",
                ":slug"
              ],
              "raw": "{{baseUrl}}/workspaces/:slug",
              "variable": [
                {
                  "description": "Workspace identifier",
                  "key": "slug",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "updateWorkspace",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"name\": \"Checkout team\"\n}"
            },
            "description": "Updates the Workspace resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/merge-patch+json"
              }
            ],
            "method": "PATCH",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces",
                ":slug"
              ],
              "raw": "{{baseUrl}}/workspaces/:slug",
              "variable": [
                {
                  "description": "Workspace identifier",
                  "key": "slug",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "Workspace"
    },
    {
      "item": [
        {
          "name": "addWorkspaceMember",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"userId\": \"a1b2c3d4e5\"\n}"
            },
            "description": "Creates a WorkspaceMember resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces",
                ":slug",
                "members"
              ],
              "raw": "{{baseUrl}}/workspaces/:slug/members",
              "variable": [
                {
                  "description": "WorkspaceMember identifier",
                  "key": "slug",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "removeWorkspaceMember",
          "request": {
            "description": "Removes the WorkspaceMember resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces",
                ":slug",
                "members",
                ":userId"
              ],
              "raw": "{{baseUrl}}/workspaces/:slug/members/:userId",
              "variable": [
                {
                  "description": "WorkspaceMember identifier",
                  "key": "slug",
                  "value": ""
                },
                {
                  "description": "WorkspaceMember identifier",
                  "key": "userId",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "WorkspaceMember"
    },
    {
      "item": [
        {
          "name": "listWorkspaceMembers",
          "request": {
            "description": "Retrieves a WorkspaceMembers resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspaces",
                ":slug",
                "members"
              ],
              "raw": "{{baseUrl}}/workspaces/:slug/members",
              "variable": [
                {
                  "description": "WorkspaceMembers identifier",
                  "key": "slug",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "WorkspaceMembers"
    },
    {
      "item": [
        {
          "name": "getCapacity",
          "request": {
            "description": "Retrieves a Capacity resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "capacity"
              ],
              "raw": "{{baseUrl}}/capacity"
            }
          }
        }
      ],
      "name": "Capacity"
    },
    {
      "item": [
        {
          "name": "listNotificationDestinations",
          "request": {
            "description": "Retrieves the collection of NotificationDestination resources.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "notification-destinations"
              ],
              "raw": "{{baseUrl}}/notification-destinations"
            }
          }
        }
      ],
      "name": "NotificationDestination"
    },
    {
      "item": [
        {
          "name": "getSmsNumberRequest",
          "request": {
            "description": "Retrieves a SmsNumberRequest resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId",
                "sms-number",
                "request"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId/sms-number/request",
              "variable": [
                {
                  "description": "SmsNumberRequest identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "requestSmsNumber",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n    \"country\": \"GB\",\n    \"note\": \"Receive the codes of our login\"\n}"
            },
            "description": "Creates a SmsNumberRequest resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId",
                "sms-number",
                "request"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId/sms-number/request",
              "variable": [
                {
                  "description": "SmsNumberRequest identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "withdrawSmsNumberRequest",
          "request": {
            "description": "Removes the SmsNumberRequest resource.",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "url": {
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "inboxes",
                ":inboxId",
                "sms-number",
                "request"
              ],
              "raw": "{{baseUrl}}/inboxes/:inboxId/sms-number/request",
              "variable": [
                {
                  "description": "SmsNumberRequest identifier",
                  "key": "inboxId",
                  "value": ""
                }
              ]
            }
          }
        }
      ],
      "name": "SmsNumberRequest"
    }
  ],
  "variable": [
    {
      "key": "apiKey",
      "value": ""
    },
    {
      "key": "baseUrl",
      "value": "https://api.facteur.local"
    }
  ]
}
