{
  "opencollection": "1.0.0",
  "info": {
    "name": "Rollbar REST API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Rollbar-Access-Token",
      "value": "{{X-Rollbar-Access-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Items",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create an Item",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rollbar.com/api/1/item/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Reports an error or message to Rollbar. This is the primary endpoint used by Rollbar SDKs to send data. The request body should contain the error or message payload in Rollbar's item format."
        },
        {
          "info": {
            "name": "List All Items",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/items/",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter items by status."
              },
              {
                "name": "level",
                "value": "",
                "type": "query",
                "description": "Filter items by level."
              },
              {
                "name": "environment",
                "value": "",
                "type": "query",
                "description": "Filter items by environment name."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination. Defaults to 1."
              }
            ]
          },
          "docs": "Returns all items in the project, ordered by most recent occurrence. Supports filtering by status, level, and environment, with pagination."
        },
        {
          "info": {
            "name": "Get an Item by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/item/:itemId",
            "params": [
              {
                "name": "itemId",
                "value": "",
                "type": "path",
                "description": "The internal item ID. This is different from the project counter shown in Rollbar URLs."
              }
            ]
          },
          "docs": "Returns a single item by its internal item ID. Note that this is different from the project counter visible in Rollbar URLs."
        },
        {
          "info": {
            "name": "Update an Item",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.rollbar.com/api/1/item/:itemId",
            "params": [
              {
                "name": "itemId",
                "value": "",
                "type": "path",
                "description": "The internal item ID. This is different from the project counter shown in Rollbar URLs."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates properties of an item, such as its status, level, title, or assigned user. Commonly used to resolve or mute items."
        },
        {
          "info": {
            "name": "Get an Item by Project Counter",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/item_by_counter/:counter",
            "params": [
              {
                "name": "counter",
                "value": "",
                "type": "path",
                "description": "The project counter for an item, as shown in Rollbar URLs (e.g., items/456 where 456 is the counter)."
              }
            ]
          },
          "docs": "Returns an item by its project counter. The counter is the number shown in Rollbar URLs (e.g., items/456). Returns a 301 redirect to the item resource."
        }
      ]
    },
    {
      "info": {
        "name": "Occurrences",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Occurrences of an Item",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/item/:itemId/instances/",
            "params": [
              {
                "name": "itemId",
                "value": "",
                "type": "path",
                "description": "The internal item ID. This is different from the project counter shown in Rollbar URLs."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination. Defaults to 1."
              }
            ]
          },
          "docs": "Returns all occurrences for a specific item, in pages of 20, ordered descending by occurrence ID."
        },
        {
          "info": {
            "name": "List All Occurrences in a Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/instances/",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination. Defaults to 1."
              }
            ]
          },
          "docs": "Returns all occurrences in the project, in pages of 20, ordered descending by occurrence ID (approximately descending by timestamp)."
        },
        {
          "info": {
            "name": "Get an Occurrence",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/instance/:instanceId",
            "params": [
              {
                "name": "instanceId",
                "value": "",
                "type": "path",
                "description": "The ID of the occurrence instance to retrieve."
              }
            ]
          },
          "docs": "Returns a single occurrence by its instance ID."
        }
      ]
    },
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/projects"
          },
          "docs": "Returns all projects in the account. Requires an account-level access token."
        },
        {
          "info": {
            "name": "Create a Project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rollbar.com/api/1/projects",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new project in the account. Optionally supports duplicating an existing project by providing a source project ID."
        },
        {
          "info": {
            "name": "Get a Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/project/:projectId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ]
          },
          "docs": "Returns information about a specific project."
        },
        {
          "info": {
            "name": "Delete a Project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.rollbar.com/api/1/project/:projectId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ]
          },
          "docs": "Deletes a project and all of its data. This action is irreversible."
        }
      ]
    },
    {
      "info": {
        "name": "Access Tokens",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Project Access Tokens",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/project/:projectId/access_tokens",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ]
          },
          "docs": "Returns all access tokens for a specific project, including their scopes and rate limits."
        },
        {
          "info": {
            "name": "Create a Project Access Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rollbar.com/api/1/project/:projectId/access_tokens",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new access token for a project with specified scopes and rate limits."
        },
        {
          "info": {
            "name": "Update a Project Access Token",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.rollbar.com/api/1/project/:projectId/access_token/:accessTokenId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "accessTokenId",
                "value": "",
                "type": "path",
                "description": "The ID of the access token to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates properties of a project access token, such as its name, scopes, or rate limits."
        }
      ]
    },
    {
      "info": {
        "name": "Teams",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Teams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/teams"
          },
          "docs": "Returns all teams in the account. Requires an account-level access token."
        },
        {
          "info": {
            "name": "Create a Team",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rollbar.com/api/1/teams",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new team in the account."
        },
        {
          "info": {
            "name": "Get a Team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/team/:teamId",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              }
            ]
          },
          "docs": "Returns information about a specific team."
        },
        {
          "info": {
            "name": "Delete a Team",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.rollbar.com/api/1/team/:teamId",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              }
            ]
          },
          "docs": "Deletes a team. This action is irreversible."
        },
        {
          "info": {
            "name": "List a Team's Projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/team/:teamId/projects",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              }
            ]
          },
          "docs": "Returns all projects assigned to a specific team."
        },
        {
          "info": {
            "name": "Assign a Project to a Team",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.rollbar.com/api/1/team/:teamId/project/:projectId",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ]
          },
          "docs": "Assigns a project to a team, granting the team access to that project."
        },
        {
          "info": {
            "name": "Remove a Project from a Team",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.rollbar.com/api/1/team/:teamId/project/:projectId",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ]
          },
          "docs": "Removes a project from a team, revoking the team's access to that project."
        },
        {
          "info": {
            "name": "Assign a User to a Team",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.rollbar.com/api/1/team/:teamId/user/:userId",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ]
          },
          "docs": "Assigns a user to a team, granting them the team's access permissions."
        },
        {
          "info": {
            "name": "Remove a User from a Team",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.rollbar.com/api/1/team/:teamId/user/:userId",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ]
          },
          "docs": "Removes a user from a team, revoking the team's access permissions for that user."
        },
        {
          "info": {
            "name": "List a Team's Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/team/:teamId/users",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              }
            ]
          },
          "docs": "Returns all users assigned to a specific team."
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/users"
          },
          "docs": "Returns all users in the account. Requires an account-level access token."
        },
        {
          "info": {
            "name": "Get a User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/user/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ]
          },
          "docs": "Returns information about a specific user by their user ID."
        }
      ]
    },
    {
      "info": {
        "name": "Invites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Invitations for a Team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/team/:teamId/invites",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              }
            ]
          },
          "docs": "Returns all pending invitations for a specific team."
        },
        {
          "info": {
            "name": "Invite a User to a Team",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rollbar.com/api/1/team/:teamId/invites",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sends an invitation to join a team. The invitee receives an email with a link to accept the invitation."
        },
        {
          "info": {
            "name": "Get an Invitation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/invite/:inviteId",
            "params": [
              {
                "name": "inviteId",
                "value": "",
                "type": "path",
                "description": "The ID of the invitation to retrieve."
              }
            ]
          },
          "docs": "Returns information about a specific invitation."
        },
        {
          "info": {
            "name": "Cancel an Invitation",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.rollbar.com/api/1/invite/:inviteId",
            "params": [
              {
                "name": "inviteId",
                "value": "",
                "type": "path",
                "description": "The ID of the invitation to cancel."
              }
            ]
          },
          "docs": "Cancels a pending invitation. Only pending invitations can be cancelled."
        }
      ]
    },
    {
      "info": {
        "name": "Source Maps",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Upload a JS Source Map",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rollbar.com/api/1/sourcemap",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Uploads a JavaScript source map file so that Rollbar can translate minified stack traces into readable source code references. The source map is associated with a specific version and minified URL."
        }
      ]
    },
    {
      "info": {
        "name": "Notifications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Webhook Notification Configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/notifications/webhook"
          },
          "docs": "Returns the current webhook notification configuration for the project, including the webhook URL and format settings."
        },
        {
          "info": {
            "name": "Update Webhook Notification Configuration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.rollbar.com/api/1/notifications/webhook",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the webhook notification configuration for the project, including the URL and format (JSON or XML)."
        },
        {
          "info": {
            "name": "List Webhook Notification Rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/notifications/webhook/rules"
          },
          "docs": "Returns all webhook notification rules configured for the project."
        },
        {
          "info": {
            "name": "Create a Webhook Notification Rule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rollbar.com/api/1/notifications/webhook/rules",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new webhook notification rule for the project, specifying trigger conditions and optional URL override."
        },
        {
          "info": {
            "name": "Get a Webhook Notification Rule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rollbar.com/api/1/notifications/webhook/rule/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "",
                "type": "path",
                "description": "The ID of the webhook rule to retrieve."
              }
            ]
          },
          "docs": "Returns a specific webhook notification rule by its ID."
        },
        {
          "info": {
            "name": "Update a Webhook Notification Rule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.rollbar.com/api/1/notifications/webhook/rule/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "",
                "type": "path",
                "description": "The ID of the webhook rule to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a specific webhook notification rule."
        },
        {
          "info": {
            "name": "Delete a Webhook Notification Rule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.rollbar.com/api/1/notifications/webhook/rule/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "",
                "type": "path",
                "description": "The ID of the webhook rule to delete."
              }
            ]
          },
          "docs": "Deletes a specific webhook notification rule."
        }
      ]
    }
  ],
  "bundled": true
}