{
  "openapi": "3.0.1",
  "info": {
    "title": "Instantly Bulk Mailbox Config",
    "description": "Update signatures, sending limits, warmup, and reply-to on hundreds of Instantly.ai mailboxes in one run. Filter by domain, tag, or email list.",
    "version": "0.1",
    "x-build-id": "G4DLaobsebbsek7mS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/daniel999~instantly-bulk-config/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-daniel999-instantly-bulk-config",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/daniel999~instantly-bulk-config/runs": {
      "post": {
        "operationId": "runs-sync-daniel999-instantly-bulk-config",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/daniel999~instantly-bulk-config/run-sync": {
      "post": {
        "operationId": "run-sync-daniel999-instantly-bulk-config",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "filterMode"
        ],
        "properties": {
          "instantlyCookies": {
            "title": "Instantly cookies (JSON)",
            "type": "string",
            "description": "Recommended. Install the Cookie-Editor Chrome extension, log into Instantly, open the extension on app.instantly.ai, click Export, choose JSON, paste the result here."
          },
          "instantlyEmail": {
            "title": "Instantly email (fallback)",
            "type": "string",
            "description": "Used only if cookies are not provided. Your Instantly login email."
          },
          "instantlyPassword": {
            "title": "Instantly password (fallback)",
            "type": "string",
            "description": "Used only if cookies are not provided. Your Instantly login password."
          },
          "filterMode": {
            "title": "Mailbox filter mode",
            "enum": [
              "all",
              "by_domain",
              "by_tag",
              "by_emails"
            ],
            "type": "string",
            "description": "Which mailboxes to apply the config to.",
            "default": "all"
          },
          "filterDomains": {
            "title": "Filter: domains",
            "type": "array",
            "description": "Used when filter mode is 'by_domain'. List domains (with or without @). Example: acme.com, @example.org",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "filterTags": {
            "title": "Filter: tags",
            "type": "array",
            "description": "Used when filter mode is 'by_tag'. Match mailboxes that have any of these tag names (or tag IDs).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "filterEmails": {
            "title": "Filter: emails",
            "type": "array",
            "description": "Used when filter mode is 'by_emails'. Exact email addresses to target.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "signature": {
            "title": "Signature (HTML)",
            "type": "string",
            "description": "HTML signature to set. Supports variables: {{email}}, {{first_name}}, {{last_name}}, {{local_part}}, {{domain}}. Leave empty to skip."
          },
          "nameFirst": {
            "title": "First name",
            "type": "string",
            "description": "Sets the first name on every matched mailbox. Supports the same template variables as signature. Leave empty to skip."
          },
          "nameLast": {
            "title": "Last name",
            "type": "string",
            "description": "Sets the last name. Supports template variables. Leave empty to skip."
          },
          "dailyLimit": {
            "title": "Daily sending limit",
            "minimum": 0,
            "type": "integer",
            "description": "Max emails per day per mailbox. Leave blank to skip."
          },
          "sendingGap": {
            "title": "Sending gap (minutes)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum minutes between sends. Leave blank to skip."
          },
          "replyTo": {
            "title": "Reply-to address",
            "type": "string",
            "description": "Override reply-to. Supports template variables. Leave blank to skip."
          },
          "warmupIncrement": {
            "title": "Warmup increment",
            "minimum": 0,
            "type": "integer",
            "description": "Daily warmup increment. Leave blank to skip."
          },
          "warmupLimit": {
            "title": "Warmup daily limit",
            "minimum": 0,
            "type": "integer",
            "description": "Daily warmup cap. Leave blank to skip."
          },
          "warmupCustomFtag": {
            "title": "Warmup custom filter tag",
            "type": "string",
            "description": "Custom filter tag for warmup pool. Leave blank to skip."
          },
          "warmupReplyRatePercent": {
            "title": "Warmup reply rate (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Percentage of warmup emails that get a simulated reply. Leave blank to skip."
          },
          "enableSlowRamp": {
            "title": "Enable slow ramp",
            "enum": [
              "unchanged",
              "true",
              "false"
            ],
            "type": "string",
            "description": "Whether warmup ramps up gradually.",
            "default": "unchanged"
          },
          "inboxPlacementTestLimit": {
            "title": "Inbox placement test limit",
            "minimum": 0,
            "type": "integer",
            "description": "Inbox placement testing daily cap. Leave blank to skip."
          },
          "cTdomain": {
            "title": "Custom tracking domain",
            "type": "string",
            "description": "Custom click tracking domain. Leave blank to skip."
          },
          "warmupAdvancedWeekdayOnly": {
            "title": "Warmup advanced: weekday only",
            "enum": [
              "unchanged",
              "true",
              "false"
            ],
            "type": "string",
            "description": "Restrict warmup sends to weekdays.",
            "default": "unchanged"
          },
          "warmupAdvancedReadEmulation": {
            "title": "Warmup advanced: read emulation",
            "enum": [
              "unchanged",
              "true",
              "false"
            ],
            "type": "string",
            "description": "Simulate the recipient reading the email.",
            "default": "unchanged"
          },
          "warmupAdvancedWarmCtd": {
            "title": "Warmup advanced: warm CTD",
            "enum": [
              "unchanged",
              "true",
              "false"
            ],
            "type": "string",
            "description": "Warm the custom tracking domain.",
            "default": "unchanged"
          },
          "warmupAdvancedOpenRate": {
            "title": "Warmup advanced: open rate",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Simulated open rate percentage."
          },
          "warmupAdvancedSpamSaveRate": {
            "title": "Warmup advanced: spam save rate",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Rate at which warmup emails landing in spam are auto-moved to inbox."
          },
          "warmupAdvancedImportantRate": {
            "title": "Warmup advanced: important rate",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Rate at which warmup emails are marked important."
          },
          "dryRun": {
            "title": "Dry run",
            "type": "boolean",
            "description": "If true, list what would change without calling the update endpoint. Useful for previewing before applying.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}