Bugsnag Unity API

IL2CPP mapping files for Unity

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /unity-line-mappings Upload Unity IL2CPP line mappings · Unity IL2CPP line number mappings #
Ask an LLM
“How do I get C# line numbers in native crashes from a Unity IL2CPP build?”
“Can I link a LineNumberMappings.json upload to a dSYM UUID or .so build ID?”
Tell an agent
Upload Unity line mappings file {mappingFile} for app version {appVersion}.
Upload IL2CPP mappings {mappingFile} tied to dSYM UUID {dsymUUID}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bugsnag:bugsnag-unity-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bugsnag-unity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '1'
  title: BugSnag - Upload Unity API
  description: Upload symbol and mapping files to show full stacktraces in your BugSnag dashboard.
  contact:
    name: BugSnag Support
    email: support@bugsnag.com
servers:
- description: For organizations with projects on app.bugsnag.com
  url: https://upload.bugsnag.com
- description: For organizations with projects on app.bugsnag.smartbear.com
  url: https://upload.bugsnag.smartbear.com
- description: SwaggerHub API Auto Mocking
  url: https://virtserver.swaggerhub.com/smartbear-public/bugsnag-upload-api/1
tags:
- name: Unity
  description: IL2CPP mapping files for Unity
paths:
  /unity-line-mappings:
    post:
      summary: Unity IL2CPP line number mappings
      description: Upload the generated line mappings file (`LineNumberMappings.json`) for Unity apps built with IL2CPP to allow C# line numbers to be displayed for iOS and Android apps.
      operationId: uploadUnityLineMappings
      tags:
      - Unity
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - mappingFile
              - apiKey
              properties:
                mappingFile:
                  type: string
                  format: file
                  description: 'The line number mappings to upload as a [form-data](https://en.wikipedia.org/wiki/MIME#Form-Data) file upload.


                    Can be either:

                    A single `LineNumberMappings.json` file (generated by the IL2CPP tool when using the `--emit-source-mapping` option); or

                    a gzip compressed version of the file.

                    '
                apiKey:
                  type: string
                  description: The API key for the application's project in BugSnag.
                dsymUUID:
                  type: string
                  description: The UUIDs of the dSYMs for the builds that this mapping file applies to. Multiple UUIDs can be provided by repeating the form field. At least one of dsymUUID or soBuildId must be provided.
                soBuildId:
                  type: string
                  description: The build ID of the shared object file (.so) for the builds that this mapping file applies to. Multiple build IDs can be provided by repeating the form field. At least one of dsymUUID or soBuildId must be provided.
                appId:
                  type: string
                  description: A unique application ID, usually the package name, of the application (application ID on Android or bundle ID on iOS).
                appVersion:
                  type: string
                  description: The version of the application.
                appVersionCode:
                  type: string
                  description: The [versionCode](https://developer.android.com/studio/publish/versioning) for the application. (Android only)
                appBundleVersion:
                  type: string
                  description: The [appBundleVersion](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion) for the application. (iOS only)
                projectRoot:
                  type: string
                  description: The root path of the project on the filesystem where the source files lie. This will be stripped off from the file name in the displayed stacktraces and improves error grouping.
                overwrite:
                  type: boolean
                  description: 'If `true`, and one or more of the provided `dsymUUID` or `soBuildId` are already associated with a different line mappings file, they will be associated with this line mappings file instead.


                    If `false`, and one or more of the provided `dsymUUID` or `soBuildId` are already associated with a different line mappings file, the request will be rejected with a `409` error.


                    Note: if the same line mappings file has already been uploaded, any of the provided `dsymUUID` or `soBuildId` that are not already associated will be associated with the line mappings file, regardless of the `overwrite` flag.

                    '
                  default: false
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
                example: OK
        '400':
          description: A required parameter is missing or the file format is invalid
          content:
            text/plain:
              schema:
                type: string
              examples:
                Missing required file:
                  value: 'missing required file: mappingFile'
                Missing required param:
                  value: 'missing required param: apiKey'
                Invalid file format:
                  value: Received invalid Unity mappings file
                Invalid dSYM UUID:
                  value: 'invalid dsymUUID format: <id>'
                Invalid SO build ID:
                  value: 'invalid soBuildId format: <id>'
                Missing dSYM UUID and SO build ID:
                  value: 'missing required param: at least one of dsymUUID or soBuildId must be provided'
        '401':
          description: Indicates that the provided apiKey doesn’t correspond to a BugSnag project
          content:
            text/plain:
              schema:
                type: string
                example: invalid apiKey
        '409':
          description: One or more of the provided `dsymUUID`s or `soBuildId`s are already associated with a different line mappings file (use `overwrite` to replace)
          content:
            text/plain:
              schema:
                type: string
                example: Unity line mapping already exists for one or more of the supplied dSYM or shared object IDs
        '422':
          description: Indicates that the uploaded file is empty
          content:
            text/plain:
              schema:
                type: string
                example: Received empty file