Skip to main content
Version: 26.01

SDK Fetch - Write

Endpoint​

/i/sdk

Overview​

Accepts an SDK request on the write path. The app and user are resolved, the checksum is verified, and the request is then handled in the same way as SDK Fetch Read: installed feature methods process it and return their own payload.

Authentication​

  • SDK app key: app_key
  • SDK device id: device_id

Permissions​

  • No dashboard-user permission model. Access is controlled by valid app_key and SDK request validation logic.

Request Parameters​

ParameterTypeRequiredDescription
app_keyStringYesApplication key.
device_idStringYesDevice identifier. Used with app key to derive app-user hash.
methodStringUsuallyFeature-specific method name handled by installed SDK listeners.
metricsObject/JSON StringNoOptional metrics object. String values are parsed when possible.
checksumStringConditionallyRequired when app checksum salt is configured and SHA-1 checksum mode is used.
checksum256StringConditionallyRequired when app checksum salt is configured and SHA-256 checksum mode is used.
ip_addressStringNoOptional explicit IP used instead of request IP.

Examples​

Example 1: SDK request​

/i/sdk?app_key=YOUR_APP_KEY&device_id=DEVICE_ID&method=sc

Example 2: Missing required params​

/i/sdk?method=sc
{
"result": "Missing parameter \"app_key\" or \"device_id\""
}

Response​

Success Response​

The payload is method-specific.

Response Fields​

FieldTypeDescription
(root)Any JSON typeMethod-specific payload returned by the feature handling the request.

Error Responses​

Status Code: 400 Bad Request

{
"result": "Missing parameter \"app_key\" or \"device_id\""
}

Status Code: 400 Bad Request

{
"result": "App does not exist"
}

Status Code: 400 Bad Request

{
"result": "Invalid method"
}

Behavior​

Behavior Modes​

ModeTriggerResponse Shape
Method handledInstalled feature handles the requested SDK methodAny JSON payload shape.
Unhandled methodNo feature handles the methodWrapped Invalid method error.
Checksum gate failApp has a checksum salt and the checksum is missing or invalidWrapped error string.

Limitations​

  • There is no single fixed success schema for this endpoint.