apps
Get app
Retrieve a single app by its id or slug within a project.
Use this to fetch app details after creation or to verify an app exists before performing operations.
Required Permissions
Your root key must have one of the following permissions:
- app.*.read_app (to read any app)
- app.<app_id>.read_app (to read a specific app)
post/v2/apps.getApp
Request body
Example request
{
"project": "proj_1234abcd",
"app": "proj_1234abcd"
}Response
Successfully retrieved the app.
Example response
{
"meta": {
"requestId": "req_123"
},
"data": {
"id": "app_1234abcd",
"name": "Payments API",
"slug": "payments-api",
"defaultBranch": "main",
"currentDeploymentId": "d_1234abcd",
"createdAt": 1704067200000,
"updatedAt": 1704153600000
}
}