Supported Formats

json

Params

Param name Description
token
required

Token obtained from /authorize

Validations:

  • Must be String

user
required

Validations:

  • Must be a Hash

user[first_name]
required

Worker first name - should contain only letters, numbers, dash (-) and period (.) character

Validations:

  • Must be String

user[last_name]
required

Worker last name - should contain only letters, numbers, dash (-) and period (.) character

Validations:

  • Must be String

user[phone]
required

Validations:

  • Must be String

user[type]
required

The type of User - Worker = Wonoloer

Validations:

  • Must be one of: Worker.

user[email]
optional

Worker email

Validations:

  • Must be String

user[external_id]
optional

the id of user on the external server

Validations:

  • Must be Integer