Skip to main content
GET
/
experiences
/
metadata
curl --location 'https://sdk-03.moengage.com/v1/experiences/metadata' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic TkFTNUlQWVdaM0tWTEcyQ05FTVJQVkRROklpSUZzU21zOHVGendEa0ZNX3FqaVVlYw==' \
--header 'MOE-APPKEY: <Your Workspace ID>'
{
  "metadata": {
    "count": 3,
    "experiences": [
      {
        "experience_name": "Experience 1",
        "experience_key": "experience-1",
        "status": "Active"
      },
      {
        "experience_name": "Experience 2",
        "experience_key": "experience-2",
        "status": "Paused"
      },
      {
        "experience_name": "Experience-3",
        "experience_key": "experience-3",
        "status": "Scheduled"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.

  • Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
  • Password: Use your API Key, which you can find within the Personalize tile.

Note: After you generate and save the Personalize API Key (SECRET KEY), DO NOT generate a new key unless there is a security breach. After you generate a different key and save it, API calls using the older key won't work.

For more information on authentication and getting your credentials, refer here.

Headers

MOE-APPKEY
string
required

This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).

Example:

"Workspace ID"

Query Parameters

status
string

You can also fetch experiences that are in a specific state (Only Active or only Active and Paused) by using the query parameter status.

Example:

"Active,Paused"

Response

200 - application/json

Successful retrieval

metadata
object