Back to all articles

Can I filter data received from the Customer API by Content State?

Yes, a new parameter has been added to the following calls to enable this option:

  • GetAllCourses
  • GetAllContent (Learning)
  • GetAllContent (Phish)
  • GetAllContent (Compliance)

 

Parameter

 

Content States

States’

Publish
Archive
Create
Campaign
Template
Review

 

Example calls =

https://api.metacompliance.com/Compliance/GetAllContent?key=xxxxxx-xxxx-xxxx-xx-xxxxxxxxxx&states=publish