Assign Driver

This api allows you to assign a driver for your created task and the assigned driver will be notified about this task.

POST https://api.teliver.xyz/v1/task/assign?apikey=Your_Api_Key

Request Body
{
    "task_id": "Bl-QVLNkQ",
    "driver_id": "test_driver"
}

Parameters

Requires

Values

Descriptions

apikey

yes

The api key is the unique identfier for your respective application. (You can get it from your Dashboard). Always pass this as query parameter.

task_id

yes

Task ID of a task

The task id is a key to identify and retrieve a particular task.

driver_id

yes

Driver Id

The driver id is the key to identify a driver.

Last updated