Skip to main content

/o/apps/all

Endpoint​

/o/apps/all

Overview​

Return all apps as packed app maps for admin and user scopes.

Authentication​

Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.

Permissions​

  • Global admin permission is required.

Request Parameters​

ParameterTypeRequiredDescription
api_keyStringYes (or use auth_token)Dashboard API authentication key.
auth_tokenStringYes (or use api_key)Dashboard auth token.

Examples​

Example 1: Read all apps​

/o/apps/all?api_key=YOUR_API_KEY

Response​

Success Response​

{
"admin_of": {
"64b0ac10c2c3ce0012dd1001": {
"_id": "64b0ac10c2c3ce0012dd1001",
"name": "My App",
"key": "3a4f9d...",
"country": "US",
"timezone": "Etc/UTC",
"category": "6",
"salt": ""
}
},
"user_of": {
"64b0ac10c2c3ce0012dd1001": {
"_id": "64b0ac10c2c3ce0012dd1001",
"name": "My App",
"key": "3a4f9d...",
"country": "US",
"timezone": "Etc/UTC",
"category": "6",
"salt": ""
}
}
}

Response Fields​

FieldTypeDescription
admin_ofObjectPacked app map keyed by app ID.
user_ofObjectPacked app map keyed by app ID.
admin_of.[appId]ObjectPacked app record.
user_of.[appId]ObjectPacked app record.
saltStringApp salt or legacy checksum_salt fallback.

Error Responses​

Database read failure branch (still returns HTTP 200):

{
"admin_of": {},
"user_of": {}
}

Behavior​

Behavior Modes​

ModeTriggerProcessing PathResponse Shape
Standard readApps query succeedsLoads all app documents and packs them into two ID-keyed maps.Raw object { admin_of, user_of }
Fallback readApps query fails or returns no appsReturns empty maps for both scopes.Raw object { admin_of: {}, user_of: {} }

Limitations​

  • Route is restricted to global admins.
  • On query failure this handler still returns HTTP 200 with empty maps.
Implementation details

Database Collections

CollectionUsed forData touched by this endpoint
countly.membersAuthenticationReads caller identity for global-admin validation.
countly.appsApp list sourceReads all app documents and packs selected app fields for output.