The Metadata API is used to fetch a list of currently Active, Scheduled and Paused experiences within a workspace.
The API request will be authenticated through Basic Authentication. Basic Authentication sends a Base64-encoded string containing your username and password with every API request. It encodes a 'username:password' string in Base64 and appends the encoded string with 'Basic '. This string is included in the authorization header as shown below:
{"Authorization":"Basic bmF2ZWVua3VtYXI6bW9lbmdhZ2U="}
The username and password details can be obtained from the MoEngage Dashboard.
This is the Workspace ID of your MoEngage account, and it needs to be passed along with the request. You can find your MoEngage Workspace ID in the MoEngage Dashboard API Settings. For more information, refer to Authentication.
"Workspace ID"
You can also fetch experiences that are in a specific state - Only Active or only Active + Paused - by using the query parameter status.
"Active,Paused"
Successful retrieval