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:
api_key=YOUR_API_KEYauth_token=YOUR_AUTH_TOKENcountly-token: YOUR_AUTH_TOKEN
Permissions
Requires crashes Update permission.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | String | Conditional | Required if auth_token is not provided. |
auth_token | String | Conditional | Required if api_key is not provided. |
app_id | String | Yes | Target app ID. |
args | JSON String (Object) | Yes | Action payload. |
args.crash_id | String | Yes | Crash group ID. |
args.data | Object | Yes | Share payload stored to crash group share field. |
Response
Success Response
{
"result": "Success"
}
Response Fields
| Field | Type | Description |
|---|---|---|
result | String | Success 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
sharefield inapp_crashgroups{appId}for the target crash group. - Emits
crash_modify_sharesystem log action with submitted share payload.
Database Collections
| Collection | Used for | Data touched by this endpoint |
|---|---|---|
countly.app_crashgroups{appId} | Crash group share data | Updates share object for target crash group. |
countly.systemlogs | Audit trail | Receives 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}}
Related Endpoints
Last Updated
2026-03-07