Add a Content API

To set up an API to be used during MoEngage campaigns, perform the following steps:

  1. Navigate to the MoEngage Dashboard > Settings > Advanced Settings.
  2. Click Content API.
  3. Click + Add content API. The Add content API screen pops up.

    Screenshot 2024-12-23 at 3.03.21 PM.png

  4. Fill in the following details:
    Field Description
    API name Add the name for the content API here.
    Method

    The following methods are supported for Content APIs:

    • GET
    • POST
    • PUT

    Select the HTTP Request method of the content API being configured.

    Note: The POST option will be enabled on request. Contact your CSM or the MoEngage Support team to enable it.

    OAuth

    If the content API being configured supports OAuth, enable this toggle. To learn more, see FAQs.

    Note: The OAuth option will be enabled on request. Contact your CSM or the MoEngage Support team to enable it.

    URL Add the URL of the Content API to which the request will be sent.
    URL Parameters Add the URL parameters to be passed in the request. Click +KV pair if more than one URL parameter is required.
    Headers Add the Headers to be added to the request. Click +KV pair if more than one header is required.
    Dynamic values

    Provide a sample value for the parameters to ensure that the API is set up properly. You can select any user profile or event to populate these values.

  5. To personalize the parameters, type @ and use the user attributes for personalization.
    For more information, refer to Derived Events & Attributes.

    Personalization in ContentAPI.gif

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?