Welcome
This API allows you to query Sort databases, create Change Requests, manage your account, and much more.
Getting started
1. Get your API key 🔑
First, visit our docs page to learn how to obtain your API key. Once you have your API key, move on to the next step.
2. Execute an HTTP request 🔄
When issuing HTTP requests, you'll always set the x-api-key
request header to your API key. For example, if using curl
this looks like:
curl --request GET \
--url https://api.sort.xyz/v2/my/profile \
--header 'x-api-key: YOUR_API_KEY' \
--header 'accept: application/json' \
Run the above command to receive your first response from the Sort API.
Note: If you are reading this on https://docs.sort.xyz,
you'll set this API key above the example code section where it says Header
.
After that you'll be able to run the code examples.
3. Congratulations 🥳
Congratulations! You've successfully run your first HTTP request using the Sort API.
Next, check out the rest of our API documentation to see how you can integrate your project. 😎