POST
/
api
/
partners
/
connect
curl --location --request POST 'https://api.explo.co/api/partners/connect' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
    "email": "[email protected]",
    "team_name": "Customer Team",
    "connection_info": "{\"@type\": \"database_type\", \"configuration\": {}}"
}'
{
  "success": 1
}

Body

email
string

The email of your user. When the team is created, they’ll get an email inviting them to Explo.

team_name
string

The name of the team to create.

connection_info
json

A JSON representing credentials that Explo will use to create the data source for the new team. For typings corresponding to your database, reach out to Explo Support.

Response

success
number

Indicates whether the call was successful. 1 if successful, 0 if not.