Skip to main content
POST
Create Task (Legacy)

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Body

application/json
name
string
required

Task name (letters, numbers, hyphens, and underscores only)

Required string length: 1 - 255
Pattern: ^[a-zA-Z0-9_-]+$
language
enum<string>
required

Programming language for the task

Available options:
typescript
code
string

Base64 encoded task code (optional)

Pattern: ^[A-Za-z0-9+/]*={0,2}$
description
string

Optional description of the task

Maximum string length: 1000
browserConfiguration
object

Browser configuration for task execution

Response

Task created or updated successfully

data
object