Moesif API Analytics Destination

Moesif API Analytics Destination

Moesif API Analytics helps you make data-driven product decisions that grows your API platform. Using API analytics, understand how your customers and partners use your APIs and what drives long term engagement and retention.

This destination is maintained by Moesif. For any issues with the destination, please reach out to their team.

NOTE: The Moesif API Analytics Destination is currently in beta, which means that they are still actively developing the destination. This doc was last updated on July 19, 2019. If you are interested in joining their beta program or have any feedback to help improve the Moesif API Analytics Destination and its documentation, please let their team know!

Getting Started

  1. From your Segment UI’s Destinations page click on “Add Destination”.
  2. Search for “Moesif” within the Destinations Catalog and confirm the Source you’d like to connect to.
  3. Drop in the “API Key” into your Segment Settings UI which you can find from your Moesif account and going to the extensions settings.
  4. Once integrated, Segment data shows up in Moesif in a few seconds.

Optional: If you would like to sync your past events which were sent through Segment into your Moesif app, you have the option of leveraging Segment Replay.


If you haven’t had a chance to review our spec, please take a look to understand what the Identify method does. An example call would look like:

analytics.identify('userId123', {
      first_name: 'John',
      last_name: 'Doe',
      email: '',
      phone: '123-456-7890',
      custom_string_field: 'some_value',
      custom_int_field: 55,
      custom_obj_field: {
          sub_a: 'value_a',
          sub_b: 'value_b'

Identify calls will be sent to Moesif as an updateUser() event and will be seen under the User Analytics section.


You can send computed traits and audiences generated through Segment Personas to this destination as a user property. To learn more about Personas, reach out for a demo.

For user-property destinations, an identify call will be sent to the destination for each user being added and removed. The property name will be the snake_cased version of the audience name you provide with a true/false value. For example, when a user first completes an order in the last 30 days, we will send an identify call with the property order_completed_last_30days: true, and when this user no longer satisfies we will set that value to false.

When the audience is first created an identify call is sent for every user in the audience. Subsequent syncs will only send updates for those users which were added or removed since the last sync.


Segment lets you change these destination settings from your Segment dashboard without having to touch any code.


You can find your API key by going to extensions menu within Moesif and selecting Segment

Adding Moesif API Analytics to the integrations object

To add Moesif API Analytics to the integrations JSON object (for example, to filter data from a specific source), use one of the following valid names for this integration:

  • moesif-api-analytics

  • Moesif API Analytics

This page was last modified: 04 Feb 2020

Get started with Segment

Segment is the easiest way to integrate your websites & mobile apps data to over 300 analytics and growth tools.
Create free account