Get Application ID using Access Key
Endpoint: GET /api/applications/key/{accessKeyId}
Retrieves an application's ID using its access key. Use this endpoint to find the application to which an access key belongs.
Path parameters
| Parameter | Description | Type | Required/ Optional |
|---|---|---|---|
| accessKeyId | The access key ID used to look up the application. | string | Required. |
Response
Returns an application object with the following details:
| Parameter | Description |
|---|---|
| id | The application ID. |
| name | The application name. |
| createdBy | Email of the user who created the application. |
| updatedBy | Email of the user who last updated the application. |
| createTime | Creation timestamp in Unix time (milliseconds). |
| updateTime | Last update timestamp in Unix time (milliseconds). |
Returns 404 if an invalid access key ID is provided.
Examples
Get an application’s ID using its access key
Request
curl -X 'GET' \
'https://<YOUR-SERVER-URL>/api/applications/key/deb14bc8-f081-11f0-bba8-b670bc6a0f4a' \
-H 'accept: application/json' \
-H 'X-Authorization: <TOKEN>'
Response
{
"id": "db66991f-206f-4695-8fe9-f5d53976c9a8",
"name": "AGENTIC-INTERVIEW",
"createdBy": "john.doe@acme.com",
"updatedBy": "john.doe@acme.com",
"createTime": 1768310094272,
"updateTime": 1768310094272
}