Skip to content

Usage

API Keys should be supplied as Key,Secret <Key Id>,<Key Secret>

Example requests

Read more in REST API basics

List existing API keys

Request

curl --location --request GET 'https://api.satellogic.com/auth/keys' \
     --header 'authorizationToken: Bearer <ACCESS_TOKEN>'

Response

{
    "clients": {
        "tTcPujCyJTYxIPbdqfgL3gjKTZ39fLl3": "token1",
        "xiXTGYf24f6J53nBcgpqpBfAXHDrvcuO": "token2"
    }
}

Create new API key

Request

curl --location --request POST 'https://api.satellogic.com/auth/keys' \
     --header 'authorizationToken: Bearer <ACCESS_TOKEN>' \
     --header 'Content-Type: application/json' \
     --data-raw '{ "name": "anotherToken" }'

Response

{
  "client_id": "gg863qyn0ALR2CO5FrQAoCWCgo6LA9MO",
  "client_secret": "hM4CL0BOg0snH2CRdMe6583cB6cgaB7HRvg2rU1wtJHyRyDtpsjinhC06yNSqSoe"
}
This response can be used as new Key,Secret pair:

Key,Secret gg863qyn0ALR2CO5FrQAoCWCgo6LA9MO,hM4CL0BOg0snH2CRdMe6583cB6cgaB7HRvg2rU1wtJHyRyDtpsjinhC06yNSqSoe

Last update: 2024-11-07