---
updatedAt: 2025-06-09T22:12:50.000Z
agentTools:
  projectIndex: https://developers.baremetrics.com/llms.txt
---

# Show Event

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "production",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.baremetrics.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "APIKEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/cancellation_insights/events/{id}": {
      "get": {
        "summary": "Show Event",
        "description": "",
        "operationId": "show-event-1",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"event\": {\n    \"id\": \"1\",\n    \"comment\": null,\n    \"created_at\": 1540920251,\n    \"subscriptions\": [\n      {\n        \"oid\": \"1\",\n        \"source_id\": \"1\",\n        \"source\": \"stripe\",\n        \"canceled_at\": 1540920254,\n        \"started_at\": 1538422033,\n        \"processed\": true,\n        \"active\": false,\n        \"quantity\": 0,\n        \"discount\": 0,\n        \"mrr\": 0,\n        \"add_on_mrr\": 0,\n        \"plan\": null\n      }\n    ],\n    \"reason\": {\n      \"id\": \"1\",\n      \"text\": \"Too expensive\"\n    },\n    \"customer\": {\n      \"oid\": \"customer_1\",\n      \"source_id\": \"1\",\n      \"source\": \"stripe\",\n      \"created\": 1538422031,\n      \"email\": \"email@example.com\",\n      \"name\": \"Customer 1\",\n      \"display_image\": \"https://logo.clearbit.com/example.com\",\n      \"display_name\": \"Customer 1\",\n      \"notes\": null,\n      \"ltv\": 0\n    }\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "1"
                        },
                        "comment": {},
                        "created_at": {
                          "type": "integer",
                          "example": 1540920251,
                          "default": 0
                        },
                        "subscriptions": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "oid": {
                                "type": "string",
                                "example": "1"
                              },
                              "source_id": {
                                "type": "string",
                                "example": "1"
                              },
                              "source": {
                                "type": "string",
                                "example": "stripe"
                              },
                              "canceled_at": {
                                "type": "integer",
                                "example": 1540920254,
                                "default": 0
                              },
                              "started_at": {
                                "type": "integer",
                                "example": 1538422033,
                                "default": 0
                              },
                              "processed": {
                                "type": "boolean",
                                "example": true,
                                "default": true
                              },
                              "active": {
                                "type": "boolean",
                                "example": false,
                                "default": true
                              },
                              "quantity": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "discount": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "mrr": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "add_on_mrr": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "plan": {}
                            }
                          }
                        },
                        "reason": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "1"
                            },
                            "text": {
                              "type": "string",
                              "example": "Too expensive"
                            }
                          }
                        },
                        "customer": {
                          "type": "object",
                          "properties": {
                            "oid": {
                              "type": "string",
                              "example": "customer_1"
                            },
                            "source_id": {
                              "type": "string",
                              "example": "1"
                            },
                            "source": {
                              "type": "string",
                              "example": "stripe"
                            },
                            "created": {
                              "type": "integer",
                              "example": 1538422031,
                              "default": 0
                            },
                            "email": {
                              "type": "string",
                              "example": "email@example.com"
                            },
                            "name": {
                              "type": "string",
                              "example": "Customer 1"
                            },
                            "display_image": {
                              "type": "string",
                              "example": "https://logo.clearbit.com/example.com"
                            },
                            "display_name": {
                              "type": "string",
                              "example": "Customer 1"
                            },
                            "notes": {},
                            "ltv": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```