{
  "info": {
    "_postman_id": "1d4a0d4b-4f7d-4673-8273-0b43d20b7849",
    "name": "New Relic Event API",
    "description": "The New Relic Event API allows you to send custom event data to the New Relic platform via HTTP POST. Custom events submitted through this API can be queried and visualized using NRQL, making it suitable for tracking arbitrary business or application events. Each event is a JSON object with an eventType and any number of additional attribute key-value pairs.\n\nContact Support:\n Name: New Relic Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T13:02:48.000Z",
    "updatedAt": "2026-06-05T13:02:48.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-1d4a0d4b-4f7d-4673-8273-0b43d20b7849"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "accounts",
          "item": [
            {
              "name": "{accountId}",
              "item": [
                {
                  "name": "events",
                  "item": [
                    {
                      "name": "New Relic Send Custom Events",
                      "id": "67fcb083-e32a-4a41-91d1-f5902b37907c",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "description": "Use gzip for compressed payloads",
                            "key": "Content-Encoding",
                            "value": "gzip"
                          },
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "[\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  },\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  }\n]",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/accounts/:accountId/events",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "accounts",
                            ":accountId",
                            "events"
                          ],
                          "variable": [
                            {
                              "id": "07f48ad6-2a26-4a58-9cee-3c29eaade8fe",
                              "key": "accountId",
                              "value": "<integer>",
                              "description": "(Required) The New Relic account ID to ingest events into"
                            }
                          ]
                        },
                        "description": "Sends one or more custom events to the specified New Relic account. The request body must be a JSON array of event objects. Each event must include an eventType attribute. Payloads may be gzip-compressed. Events are immediately available for querying via NRQL after processing. A single request may contain up to 2000 events and must not exceed 1 MB uncompressed."
                      },
                      "response": [
                        {
                          "id": "3c425939-5e1e-4214-8675-430e42794b71",
                          "name": "Success. All events were accepted.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "description": "Use gzip for compressed payloads",
                                "key": "Content-Encoding",
                                "value": "gzip"
                              },
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Api-Key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "[\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  },\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  }\n]",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/accounts/:accountId/events",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "accounts",
                                ":accountId",
                                "events"
                              ],
                              "variable": [
                                {
                                  "key": "accountId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"uuid\": \"<string>\"\n}",
                          "createdAt": "2026-06-05T13:02:49.000Z",
                          "updatedAt": "2026-06-05T13:02:49.000Z",
                          "uid": "35240-3c425939-5e1e-4214-8675-430e42794b71"
                        },
                        {
                          "id": "eadaccb9-ef9c-4204-9c18-e47de7adf27b",
                          "name": "Bad request. The payload is malformed.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "description": "Use gzip for compressed payloads",
                                "key": "Content-Encoding",
                                "value": "gzip"
                              },
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Api-Key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "[\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  },\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  }\n]",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/accounts/:accountId/events",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "accounts",
                                ":accountId",
                                "events"
                              ],
                              "variable": [
                                {
                                  "key": "accountId"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"timestamp\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"timestamp\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-06-05T13:02:49.000Z",
                          "updatedAt": "2026-06-05T13:02:49.000Z",
                          "uid": "35240-eadaccb9-ef9c-4204-9c18-e47de7adf27b"
                        },
                        {
                          "id": "446f044e-4443-4610-abff-8150f2f94f32",
                          "name": "Forbidden. The API key is invalid or lacks insert permissions.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "description": "Use gzip for compressed payloads",
                                "key": "Content-Encoding",
                                "value": "gzip"
                              },
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Api-Key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "[\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  },\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  }\n]",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/accounts/:accountId/events",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "accounts",
                                ":accountId",
                                "events"
                              ],
                              "variable": [
                                {
                                  "key": "accountId"
                                }
                              ]
                            }
                          },
                          "status": "Forbidden",
                          "code": 403,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"timestamp\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"timestamp\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-06-05T13:02:49.000Z",
                          "updatedAt": "2026-06-05T13:02:49.000Z",
                          "uid": "35240-446f044e-4443-4610-abff-8150f2f94f32"
                        },
                        {
                          "id": "d42b9f85-0752-49b2-98ec-35e5aa1880a2",
                          "name": "Request timeout. The server did not receive the request in time.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "description": "Use gzip for compressed payloads",
                                "key": "Content-Encoding",
                                "value": "gzip"
                              },
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Api-Key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "[\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  },\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  }\n]",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/accounts/:accountId/events",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "accounts",
                                ":accountId",
                                "events"
                              ],
                              "variable": [
                                {
                                  "key": "accountId"
                                }
                              ]
                            }
                          },
                          "status": "Request Timeout",
                          "code": 408,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-06-05T13:02:49.000Z",
                          "updatedAt": "2026-06-05T13:02:49.000Z",
                          "uid": "35240-d42b9f85-0752-49b2-98ec-35e5aa1880a2"
                        },
                        {
                          "id": "21c831f9-63fb-43b0-b6c7-b5d527a9160f",
                          "name": "Payload too large. The request body exceeds 1 MB.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "description": "Use gzip for compressed payloads",
                                "key": "Content-Encoding",
                                "value": "gzip"
                              },
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Api-Key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "[\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  },\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  }\n]",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/accounts/:accountId/events",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "accounts",
                                ":accountId",
                                "events"
                              ],
                              "variable": [
                                {
                                  "key": "accountId"
                                }
                              ]
                            }
                          },
                          "status": "Request Entity Too Large",
                          "code": 413,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"timestamp\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"timestamp\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-06-05T13:02:49.000Z",
                          "updatedAt": "2026-06-05T13:02:49.000Z",
                          "uid": "35240-21c831f9-63fb-43b0-b6c7-b5d527a9160f"
                        },
                        {
                          "id": "1b9d27c9-5a5f-4f78-bd2d-f4a869b1299f",
                          "name": "Too many requests. Rate limit exceeded.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "description": "Use gzip for compressed payloads",
                                "key": "Content-Encoding",
                                "value": "gzip"
                              },
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Api-Key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "[\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  },\n  {\n    \"eventType\": \"<string>\",\n    \"timestamp\": \"<integer>\"\n  }\n]",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/accounts/:accountId/events",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "accounts",
                                ":accountId",
                                "events"
                              ],
                              "variable": [
                                {
                                  "key": "accountId"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"timestamp\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"timestamp\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-06-05T13:02:49.000Z",
                          "updatedAt": "2026-06-05T13:02:49.000Z",
                          "uid": "35240-1b9d27c9-5a5f-4f78-bd2d-f4a869b1299f"
                        }
                      ],
                      "createdAt": "2026-06-05T13:02:49.000Z",
                      "updatedAt": "2026-06-05T13:02:49.000Z",
                      "uid": "35240-67fcb083-e32a-4a41-91d1-f5902b37907c"
                    }
                  ],
                  "id": "048d1bfd-0c3f-47ae-b405-b8fe370f3803",
                  "createdAt": "2026-06-05T13:02:49.000Z",
                  "updatedAt": "2026-06-05T13:02:49.000Z",
                  "uid": "35240-048d1bfd-0c3f-47ae-b405-b8fe370f3803"
                }
              ],
              "id": "2d5881a3-974a-43c4-8da1-b576d062319f",
              "createdAt": "2026-06-05T13:02:49.000Z",
              "updatedAt": "2026-06-05T13:02:49.000Z",
              "uid": "35240-2d5881a3-974a-43c4-8da1-b576d062319f"
            }
          ],
          "id": "54799511-4b97-432b-9eb5-4730ef72aaa3",
          "createdAt": "2026-06-05T13:02:49.000Z",
          "updatedAt": "2026-06-05T13:02:49.000Z",
          "uid": "35240-54799511-4b97-432b-9eb5-4730ef72aaa3"
        }
      ],
      "id": "60f54100-0800-4faf-80d2-058b2ab306bc",
      "createdAt": "2026-06-05T13:02:49.000Z",
      "updatedAt": "2026-06-05T13:02:49.000Z",
      "uid": "35240-60f54100-0800-4faf-80d2-058b2ab306bc"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Api-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://insights-collector.newrelic.com"
    }
  ]
}