AWorld Lab
About
API Reference
API Reference
  • App API
  • Dashboard API
  • Overview
API Download
API Download
  • App API
  • Dashboard API
AWorld.orgAWorld Trust
About
API Reference
API Reference
  • App API
  • Dashboard API
  • Overview
API Download
API Download
  • App API
  • Dashboard API
AWorld.orgAWorld Trust
AWorld.org
  1. ActivityLogs
  • ActivityLogs
    • Create activity log
      POST
  • Analytics
    • Get community metrics
  • Learning Paths
    • Items
      • List learning path items
    • List learning paths
    • Get learning path by ID
  • Learning Groups
    • Tags
      • List learning group tag assignments
      • Get learning group tag assignment
    • Translation
      • Get learning group translation
    • List learning groups
    • Get learning group by ID
  • Learning Path Assignments
    • Items
      • List learning path assignment items
    • Tags
      • List learning path assignment tags
      • Get learning path assignment tag by ID
    • Translation
      • Get learning path assignment translation
    • List learning path assignments
    • Get learning path assignment by ID
  • Missions
    • List missions
    • Get mission
  • Quizzes
    • Tags
      • List quiz tags
      • Get quiz tag by ID
    • Translation
      • Get quiz translation
    • List quizzes
    • Get quiz by ID
    • Submit quiz answers
  • Runtime Leaderboards
    • List runtime leaderboards
    • Get a runtime leaderboard by ID
    • Get leaderboard rankings
    • Get current user's ranking
  • Slides
    • TagAssignments
      • List slide tags
      • Get slide tag by ID
    • Translation
      • Get slide translation
    • List slides
    • Get slide by ID
    • Submit slide completion
  • Stories
    • TagAssignments
      • List story tags
      • Get story tag by ID
    • Translation
      • Get story translation
    • List stories
    • Get story by ID
    • Submit story completion
  • Streaks
    • List streaks
  • Users
    • Tags
      • List current user tags
      • Get current user tag by ID
    • Get current user
    • Get current user principal
    • Update current user
    • Get current user learning stats
  • VirtualBalances
    • List virtual balances
    • Get virtual balance by currency ID
  • VirtualTransactions
    • List virtual transactions
    • Create virtual transaction
    • Get virtual transaction by ID
    • Redeem virtual transaction
  • WorkspaceConfiguration
    • Get workspace configuration
About
API Reference
API Reference
  • App API
  • Dashboard API
  • Overview
API Download
API Download
  • App API
  • Dashboard API
AWorld.orgAWorld Trust
About
API Reference
API Reference
  • App API
  • Dashboard API
  • Overview
API Download
API Download
  • App API
  • Dashboard API
AWorld.orgAWorld Trust
AWorld.org
  1. ActivityLogs

Create activity log

POST
https://api.eu-west-1.aworld.cloud/app/v1/activity-logs
Creates a new activity log entry for a user.
This endpoint is intended for backend systems to record custom user activities defined through the Dashboard.
Built-in activities such as quizzes, stories, and other internal events are automatically tracked and should not be manually created through this endpoint.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢201Created
application/json
Activity created successfully
Body

🟠400Bad Request
🟠401Unauthorized
🟠409409
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.eu-west-1.aworld.cloud/app/v1/activity-logs' \
--header 'x-idempotency-key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "activityId": "FUMzPf00hz_kcj2R2Hlzq",
    "userId": "string",
    "outcome": "SUCCESS",
    "value": 1,
    "tags": [
        "string"
    ],
    "additionalData": {
        "property1": "string",
        "property2": "string"
    },
    "activityLogId": "string",
    "completedAt": "2019-08-24T14:15:22.123Z"
}'
Response Response Example
{
    "activityId": "FUMzPf00hz_kcj2R2Hlzq",
    "name": "string",
    "origin": "CATALOG",
    "activityCatalogId": "string",
    "syncWithCatalog": true,
    "defaultLang": "aa",
    "langs": [
        "aa"
    ],
    "accountId": "stringstri",
    "workspaceId": "stringstri",
    "sourceRegion": "us-east-1",
    "createdAt": "2019-08-24T14:15:22.123Z",
    "updatedAt": "2019-08-24T14:15:22.123Z"
}
Modified at 2026-02-10 10:37:54
Next
Get community metrics
Built with