Content Type Management API Postman Collection


Postman is a popular API development platform. Their client app enables developers to create, save, and execute requests and inspect responses.

Bloomreach provides a Postman collection for the Content Type Management API in order to make working with the API easier for developers.


Import in Postman

  1. Import the brX environment into Postman
  2. Enter the appropriate values for the brxHost and contentTypeName variables for your environment and save your changes
  3. Import the Content Type Management API collection into Postman
  4. Configure authorization. All requests in the collection are configured to inherit this authorization configuration. Select the Content Type Management API collection and open the Authorization tab. Use the following parameter values:

Running the examples

To successfully run the examples, make sure that:

  1. You have a development project that includes document types
  2. In Postman, the 'brX environment' is selected (in the top right corner)

The GET examples and the example Put content type (first example) can be run without further configuration.

The examples Put content type (second example) and Put content type (third example) require the presence of other types / documents:

  1. Request Put content type (second example) requires the following documents to be present in the cms:
    • A resource bundle document with id boolean.resource.bundle and 2 entries, with keys true and false
    • Another resource bundle document with id brsm.example.bundle and at least 2 entries, with keys key1 and key2
    • A taxonomy document with name testTaxonomy and at least one category in it, with key category1
  2. Request Put content type (third example) requires a few FieldGroup types, which are included in the collection:
    • In Postman, run requests Put fieldgroup aFieldGroupType and Put fieldgroup aFieldGroupWithFieldGroupType to create the required FieldGroup types