Get Access Token
Use API Credentials to get Access Token
At this stage, you need to use your API credentials you created before to get your access token. See the example below.
Obtaining an Access Token
First, exchange your API credentials for an access token:
curl --location --request POST 'https://auth.platform.satellogic.com/oauth/token' --header 'content-type: application/json' --data-raw '{
"client_id": "<API_CREDENTIAL_ID>",
"client_secret": "<API_CREDENTIAL_SECRET>",
"audience": "https://api.satellogic.com/",
"grant_type": "client_credentials"
}'
The response includes an access token that will be valid for 24 hours:
You can use this token for multiple requests until it expires. After expiration, you'll need to request a new token.