{
  "openapi": "3.0.1",
  "info": {
    "title": "Computrabajo Job Alerts: New Jobs to Slack or Webhook",
    "description": "For recruiters and HR analysts: only new, changed or expired Computrabajo job offers in 18 LATAM countries, sent to Slack, Telegram or a webhook each run.",
    "version": "0.1",
    "x-build-id": "AoIspvUIytrfXV4yL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/v0iddo~computrabajo-job-alerts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-v0iddo-computrabajo-job-alerts",
        "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/v0iddo~computrabajo-job-alerts/runs": {
      "post": {
        "operationId": "runs-sync-v0iddo-computrabajo-job-alerts",
        "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/v0iddo~computrabajo-job-alerts/run-sync": {
      "post": {
        "operationId": "run-sync-v0iddo-computrabajo-job-alerts",
        "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",
        "properties": {
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Computrabajo sites to search; each search term runs on each of them.",
            "items": {
              "type": "string",
              "enum": [
                "mx",
                "co",
                "ar",
                "pe",
                "cl",
                "ec",
                "ve",
                "gt",
                "cr",
                "do",
                "pa",
                "sv",
                "hn",
                "bo",
                "py",
                "uy",
                "ni",
                "pr"
              ],
              "enumTitles": [
                "Mexico",
                "Colombia",
                "Argentina",
                "Peru",
                "Chile",
                "Ecuador",
                "Venezuela",
                "Guatemala",
                "Costa Rica",
                "Dominican Republic",
                "Panama",
                "El Salvador",
                "Honduras",
                "Bolivia",
                "Paraguay",
                "Uruguay",
                "Nicaragua",
                "Puerto Rico"
              ]
            },
            "default": [
              "mx"
            ]
          },
          "keywords": {
            "title": "Search terms",
            "type": "array",
            "description": "Job titles or words such as contador, vendedor or desarrollador python. One search per term, all watched together; leave empty with a city to watch every offer there.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "City or region",
            "type": "string",
            "description": "Optional city, state or region such as Monterrey, Bogotá, Lima or Nuevo León. Applies to every search term. With Mexico, the default, as the only country, a large city of another country (Bogotá, Lima, Santiago) or a country after a comma (Lima, Peru) searches that country's site."
          },
          "salaryOnly": {
            "title": "With a salary only",
            "type": "boolean",
            "description": "Only postings that show a salary (not \"A convenir\").",
            "default": false
          },
          "remoteOnly": {
            "title": "Remote or hybrid only",
            "type": "boolean",
            "description": "Only postings marked remote or hybrid (presencial y remoto).",
            "default": false
          },
          "searchUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "Search result pages copied from your browser, for example https://mx.computrabajo.com/trabajo-de-contador-en-monterrey .",
            "items": {
              "type": "string"
            }
          },
          "stateKey": {
            "title": "Watch name (State key)",
            "type": "string",
            "description": "Optional name for this watch, such as contador_monterrey. Runs with the same name share one list of known offers, so you can change the alert addresses or the limits and keep the watch. A new name starts a new watch. Leave it empty and the search fields name the watch."
          },
          "slackWebhookUrl": {
            "title": "Slack incoming webhook URL",
            "type": "string",
            "description": "Optional. The address Slack's Incoming Webhooks app gives you, starting with https://hooks.slack.com/services/. Each run that finds new or updated offers posts one message there."
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Optional. The token BotFather gave your bot. With a chat ID, each run that finds new or updated offers sends one message."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "The chat, group or channel your bot posts to: a number such as 123456789 or -1001234567890, or @channelname. The bot must be a member of it."
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional https address that receives one JSON POST per run with the new and updated offers (title, company, city, salary, link), for n8n, Make, Zapier or your own server."
          },
          "maxOffers": {
            "title": "Offers checked per run",
            "minimum": 50,
            "maximum": 5000,
            "type": "integer",
            "description": "The run reads the searches up to this many offers. Offers are reported as expired only after a run that checked every offer, so keep it above the number your searches list.",
            "default": 1000
          },
          "includeDetails": {
            "title": "Include posting details",
            "type": "boolean",
            "description": "Read the posting page of each new or updated offer for the contract type, schedule, industry, education, experience, skills and the description. Offers that did not change are never read twice.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The run stops after this many result rows. It also caps what one run can cost.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave as is: the run starts on the cheapest network the site accepts and switches to Apify Proxy automatically when the site blocks it. Pick proxy groups here only to force one specific network."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}