latestOpenAPI 3.0.02026-08-10517386.6 KB
a9f1b102faca
Apps
Generate an 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.
post/app/accessTokens
Headers
x-icr-api-versionstring
API version
Response
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2022-01-01T00:00:00Z",
"updatedAt": "2022-01-01T00:00:00Z",
"token": "crs_19c9bd530ccd3e1187eed12dc4edb70abe757fc4c7be9c5b",
"expiresAt": "2022-02-01T00:00:00Z",
"isActive": true,
"permissions": {
"organization_info": "VIEW",
"organization_members": "VIEW",
"organization_projects": "VIEW",
"organization_inventory": "REQUEST",
"organization_warehouse": "WRITE"
},
"appId": "67890"
}