curl --request POST \
--url https://staging-biz.coinprofile.co/v2/auth/api-key \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-User: <api-key>' \
--header 'X-User-Version: <api-key>' \
--data '{
"token": "<string>",
"otpType": "<string>"
}'
{
"data": {
"key": "<string>",
"expires": "2023-12-25"
}
}
Create a new api key
curl --request POST \
--url https://staging-biz.coinprofile.co/v2/auth/api-key \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-User: <api-key>' \
--header 'X-User-Version: <api-key>' \
--data '{
"token": "<string>",
"otpType": "<string>"
}'
{
"data": {
"key": "<string>",
"expires": "2023-12-25"
}
}
successful operation
The response is of type object
.