Apps
Your App can make requests to the following REST endpoints with an App signed JWT.
Access tokens
app access token
This endpoint generates an app access token. This access token can be used to access app specific resources and general "public" resources, like the /projects endpoint.
API version
2023-06-16The ID of the access token
123e4567-e89b-12d3-a456-426614174000The date and time the access token was created
2022-01-01T00:00:00ZThe date and time the access token was last updated
2022-01-01T00:00:00ZThe access token string
crs_19c9bd530ccd3e1187eed12dc4edb70abe757fc4c7be9c5bThe date and time the access token expires
2022-02-01T00:00:00ZWhether the access token is currently active
trueThe permissions of the access token
{"organization_info":"VIEW","organization_members":"VIEW","organization_projects":"VIEW","organization_inventory":"REQUEST","organization_warehouse":"WRITE"}The ID of the app associated with the access token
67890installation access token
This endpoint generates an installation access token for a specific installation. This access token can be used to access organization resources.
API version
2023-06-16The ID of the access token
123e4567-e89b-12d3-a456-426614174000The date and time the access token was created
2022-01-01T00:00:00ZThe date and time the access token was last updated
2022-01-01T00:00:00ZThe access token string
crs_19c9bd530ccd3e1187eed12dc4edb70abe757fc4c7be9c5bThe date and time the access token expires
2022-02-01T00:00:00ZWhether the access token is currently active
trueThe permissions of the access token
{"organization_info":"VIEW","organization_members":"VIEW","organization_projects":"VIEW","organization_inventory":"REQUEST","organization_warehouse":"WRITE"}The ID of the app associated with the access token
67890The ID of the installation associated with the access token
123e4567-e89b-12d3-a456-426614174000The ID of the organization associated with the access token
123e4567-e89b-12d3-a456-426614174000delete access token
all app installations
This endpoint returns all active installation for an app
The amount of items to return
10The page to return
0API version
2023-06-16specific app installation
This endpoint returns a specific installation
API version
2023-06-16The ID of the installation
123e4567-e89b-12d3-a456-426614174000The creation date of the installation
2022-01-01T00:00:00ZThe update date of the installation
2022-01-01T00:00:00ZThe permissions of the installation
{"organization_info":"VIEW","organization_members":"VIEW","organization_projects":"VIEW","organization_inventory":"REQUEST","organization_warehouse":"WRITE"}The app name ID of the installation
app1The app ID of the installation
123e4567-e89b-12d3-a456-426614174000The access tokens URL of the installation
https://api.carbonregistry.com/app/installations/123e4567-e89b-12d3-a456-426614174000/accessTokensLast updated