Supported Formats

json

Params

Param name Description
token
required

Token obtained from /authorize

Validations:

  • Must be a 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 a String

user[last_name]
required

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

Validations:

  • Must be a String

user[phone]
required

Validations:

  • Must be a String

user[type]
required

The type of User - Worker = Wonoloer

Validations:

  • Must be one of: Worker.

user[email]
optional

Worker email

Validations:

  • Must be a String

user[external_id]
optional

the id of user on the external server

Validations:

  • Must be a Integer