Getting Your Token
Coalesce uses Bearer Authentication to make API requests. Bearer authentication is an HTTP authentication method that uses bearer tokens (Access Token). The token is encrypted, usually by the server. When making a request to Coalesce, it looks like this:
'Authorization: Bearer <Access Token>'
Getting Your Access Token
Coalesce requires an access token to make API requests. Go to the Deploy tab and click Generate Access Token.
Access tokens are regenerated after each login. Previously issued tokens remain valid. Tokens never expire across all environments and projects. Tokens are revoked when:
- User is deleted
- User is disabled
- Password change
- Email address change
- SSO users will need a new token for each new environment created.
- Turning Multi-factor Authentication on and off.
Base URLs
Coalesce offers several deployments, and you'll need to make your API calls using the endpoint that corresponds to your Coalesce deployment.
Geography | Region | Base URL |
---|---|---|
Australia | australia-southeast1 | https://app.australia-southeast1.gcp.coalescesoftware.io/ |
Canada | northamerica-northeast1 | https://app.northamerica-northeast1.gcp.coalescesoftware.io/ |
Europe | eu-west-2 | https://app.eu-west-2.aws.coalescesoftware.io |
Europe | europe-west-3 | https://app.eu.coalescesoftware.io/ |
Europe | europe-west-1 | https://app.europe-west1.gcp.coalescesoftware.io/ |
US | centralus | https://app.centralus.azure.coalescesoftware.io/ |
US | eastus2 | https://app.eastus2.azure.coalescesoftware.io |
US | westus2 | https://app.westus2.azure.coalescesoftware.io |
US | southcentral | https://app.southcentralus.azure.coalescesoftware.io |
US | us-east-1 | https://app.us-east-1.aws.coalescesoftware.io |
US | us-west-2 | https://app.us-west-2.aws.coalescesoftware.io |
US | us-central1 | https://app.coalescesoftware.io |
US east with PrivateLink | us-east-1 | https://app.us-east-1.aws.privatelink.coalescesoftware.io |
US west with PrivateLink | us-west-2 | https://app.us-west-2.aws.privatelink.coalescesoftware.io |
If you use SSO for Authentication, you can prefix the URL to the endpoint with your subdomain. https://mySubdomain.<app_domain>
For example if your company name is ABCompany
and you are using Europe primary you can use https://abcompany.app.eu.coalescesoftware.io
.
API Request Example
- curl
- SSO Domain
curl --request GET \
--url https://app.coalescesoftware.io/scheduler/runStatus \
--header 'Authorization: Bearer <Access Token>' \
--header 'accept: application/json'
curl --request GET \
--url https://abcompany.app.eu.coalescesoftware.io/scheduler/runStatus \
--header 'Authorization: Bearer <Access Token>' \
--header 'accept: application/json'