Create a new API key
Create a new API key based on the legacy app name and its legacy id.
POST
/v1/auth/keys/authorization<token>
To get an API key, please contact us. We'll be happy to help you.
In: header
locationIdstring
Unique identifier of the location
Format
uuidconsumerNamestring
Length
2 <= length <= 255Response Body
application/json
curl -X POST "https://api.pragma-project.dev/v1/auth/keys/" \ -H "Content-Type: application/json" \ -d '{ "consumerName": "THIRD_PARTY", "locationId": "c035e90a-40b8-4a78-a13a-802f53a28d36" }'{
"apiKey": "SGVMbE8gV29SbEQ_7c058bb4-1383-497c-93e9-23986ec173a7"
}