Skip to main content
Version: v0.2b

Adding multiple drivers to your team

Here we will be using Drivers Import endpoint to create multiple drivers in your team. Read their descriptions to see all the available aptions.

# The driver emails. Email or phone number is the minimum
# information needed to create a driver, for it will
# be used as their login method.
request_payload='[
{"email": "john.doe@example.com"},
{"email": "max.mustermann@example.com"},
{"email": "fulano.silva@example.com"}
]'


curl -X POST https://api.getcircuit.com/public/v0.2b/drivers:import \
-d "$request_payload" \
-H 'Content-Type: application/json' \
-u <your-api-key>:

# The response will have an object similar to the following:
# {
# "success": [
# "drivers/NTenthoECOENoenoeEOc",
# "drivers/EteR5453oeinXEnecto6",
# "drivers/teROOSvDTE5Ete566eou"
# ],
# "failed": []
# }

# If you wish to retrieve more information about one of the created drivers you can
# issue a GET request for it:
curl https://api.getcircuit.com/public/v0.2b/drivers/teROOSvDTE5Ete566eou \
-u <your-api-key>: