Skip to main content

Create Task

Create the task with the createTask endpoint, or use our Software Development Kit to make your integration process even easier!

Task Structure

PropertyTypeRequired
typeStringYes
websiteStringYes
user_agentStringNo
You can send your own user agent for this task. If you skip it, the system picks a random one. If you do send one, make sure it’s a Chrome on Windows user agent, since those have worked best.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36

Example Request

POST https://salamoonder.com/api/createTask
Host: salamoonder.com
Content-Type: application/json

{
  "api_key": "YOUR_API_KEY",
  "task": {
    "type": "IncapsulaUTMVCSolver",
    "website": "https://group.accor.com/",
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win6..."
  }
}
Upon successfully submitting the task to us, you should receive a ‘taskId’ in the response.

Example Response

{
  "error_code": 0,
  "error_description": "",
  "taskId": "d4611a5f-9b4e-4f4a-94a2-8303d97562e1"
}
Response Fields:
  • taskId - Unique identifier for this task. Use this to retrieve results.

Getting Results

Retrieve the results using the getTaskResult method. or use our Software Development Kit to make your integration process even easier!

Example Request

POST https://salamoonder.com/api/getTaskResult
Host: salamoonder.com
Content-Type: application/json

{
  "api_key": "YOUR_API_KEY",
  "taskId": "d4611a5f-9b4e-4f4a-94a2-8303d97562e1"
}

Example Response

{
  "errorId": 0,
  "solution": {
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x6...",
    "utmvc": "oh7B0lJUDUsIMcMjz2441jusv+4c8BKNB4gbFaaojd+m..."
  },
  "status": "ready"
}
Response Fields:
  • user-agent - Browser user-agent to use with this solution
  • utmvc - The UTMVC challenge data.

Quick Start Example

We have examples for all our tasks to streamline integration. Feel free to check them out!

UTMVC Examples

All our UTMVC Examples can be found here!