Create your account
To use the ExyData API, you need to create an account. You can create your account in three ways:
Lets dive into each of these methods.
Using the ExyData Web Console
The ExyData Web Console is a web application that allows you to create and manage your account. You can access the Web Console from here.
To create your account, you need to fill the following fields:
Once you fill the fields, click on the Create Account
button. If the account is created successfully, you will receive an email to activate your account. Click on the Activate Account
button in the email to activate your account.
You can use the ExyData CLI or the ExyData API to create your account. Download the CLI from here (Linux).
Using the ExyData CLI
The ExyData CLI is a command line tool that allows you to create and manage your account.
Download the CLI
Linux
curl -L https://get.exydata.com/linux/exy -o exy
Make executable
chmod +x exy
Windows
curl https://get.exydata.com/windows/exy.exe -o exy.exe
Create your account
Using the CLI
To create your account, you need to run the following command:
exy register \
--first_name John \
--last_name Doe \
--email john-doe@example.com \
--password YourPassword
The response will be a JSON object with the following properties:
{
"created_at": "2023-04-17T16:20:19.691332",
"email": "john-doe@example.com",
"first_name": "John",
"last_name": "Doe",
"org_id: ": "8d25b10xxxxx",
}
Using the ExyData API
To create your account, you need to send a POST request to the following endpoint:
https://api.exydata.com/v1/accounts/register
The request body should be a JSON object with the following properties:
first_name
: Your first namelast_name
: Your last nameemail
: Your email addresspassword
: The password of your account
The response will be a JSON object with the following properties:
{
"created_at": "2023-04-17T16:20:19.691332",
"email": "john-doe@example.com",
"first_name": "John",
"last_name": "Doe",
"org_id: ": "8d25b10xxxxx",
}
Example
curl -X POST \
https://api.exydata.com/v1/accounts/register \
-H 'Content-Type: application/json' \
-d '{
"first_name": "John",
"last_name": "Doe",
"email": john_doe@example.com",
"password": "YourPassword"
}'
Response
{
"org_id": "8d25b10xxxxx",
"first_name": "John",
"last_name": "Doe",
"email": "john_doe@example.com",
"created_at": "2019-03-27T12:34:56.789Z"
}
Save your org ID (org_id) and API key (You will learn how to get one in the next step). You will need them to use the ExyData API.