Skip to main content
GET
/
event-types
JavaScript
import Mobilerun from '@mobilerun/sdk';

const client = new Mobilerun({
  apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});

const response = await client.webhooks.eventTypes();

console.log(response.data);
{
  "data": {
    "schemaVersion": 1,
    "sources": [
      {
        "source": "<string>",
        "events": [
          {
            "type": "<string>",
            "description": "<string>"
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Response

Event-type catalog

data
object
required