Skip to main content

Crashes - Modify Share Data

Endpoint

/i/crashes/modify_share

Overview

Updates custom share payload stored on a crash group.

Authentication

Countly API supports three authentication methods:

  1. api_key=YOUR_API_KEY
  2. auth_token=YOUR_AUTH_TOKEN
  3. countly-token: YOUR_AUTH_TOKEN

Permissions

Requires crashes Update permission.

Request Parameters

ParameterTypeRequiredDescription
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.
app_idStringYesTarget app ID.
argsJSON String (Object)YesAction payload.
args.crash_idStringYesCrash group ID.
args.dataObjectYesShare payload stored to crash group share field.

Response

Success Response

{
"result": "Success"
}

Response Fields

FieldTypeDescription
resultStringSuccess when share payload is accepted and update path runs.

Error Responses

  • 400
{
"result": "Please provide args parameter"
}
  • 400
{
"result": "No data to save"
}

Standard auth/permission errors from update validation can also be returned.

Behavior/Processing

  • Updates share field in app_crashgroups{appId} for the target crash group.
  • Emits crash_modify_share system log action with submitted share payload.

Database Collections

CollectionUsed forData touched by this endpoint
countly.app_crashgroups{appId}Crash group share dataUpdates share object for target crash group.
countly.systemlogsAudit trailReceives crash_modify_share action.

Examples

/i/crashes/modify_share?api_key=YOUR_API_KEY&app_id=6991c75b024cb89cdc04efd2&args={"crash_id":"crash_group_1","data":{"allow_download":true}}

Last Updated

2026-03-07