Shipments
OAuth2 Bearer token obtained from authentication endpoint
Organization ID (optional). If not provided, the organization, that is associated with the authentication token, will be used.
List of shipments
Shipment unique identifier
1Template (product) ID for this shipment
10Template (product) name
Smart SensorTime window for the OTA update delivery
ANYPossible values: Shipment title
Firmware v2.0 rolloutServer path to the firmware binary, as returned by the firmware upload endpoint (POST /api/upload with type=FIRMWARE).
/static/fw_abc123def456.binOriginal firmware file name
firmware_v2.0.binOptional. Custom host domain name used for firmware download URL. If not set, the server's default host is used.
myhost.comID of the user who started the shipment
42Timestamp (ms) when the shipment was started
1700000000000Timestamp (ms) when the shipment finished (0 if still running)
0List of device IDs targeted by this shipment
[1,2,3]Maximum number of OTA delivery attempts per device
3Period (ms) after which the attempt counter resets
86400000Whether the firmware transfer uses a secure channel
trueWhether to skip firmware type compatibility check
falseWhether this is a critical update
falseWhether push notifications were sent for this shipment
falseCurrent shipment status
RUNPossible values: Condition used to determine whether the shipment should apply to a device
NO_CONDITIONPossible values: Bad request
Forbidden
Organization not found or access denied
Too many requests
Internal server error
GET /api/v1/organization/shipments HTTP/1.1
Host: blynk.cloud
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"productId": 10,
"productName": "Smart Sensor",
"shipmentTime": "ANY",
"title": "Firmware v2.0 rollout",
"pathToFirmware": "/static/fw_abc123def456.bin",
"firmwareOriginalFileName": "firmware_v2.0.bin",
"host": "myhost.com",
"startedByUserId": 42,
"startedAt": 1700000000000,
"finishedAt": 0,
"deviceIds": [
1,
2,
3
],
"firmwareInfo": {
"version": "2.0.0",
"blynkVersion": "1.3.0",
"fwType": "Smart Sensor",
"boardType": "ESP32",
"buildDate": "Apr 10 2026",
"md5Hash": "d41d8cd98f00b204e9800998ecf8427e",
"sha256Hash": "text",
"type": "MCU",
"fileSize": 1048576
},
"attemptsLimit": 3,
"attemptResetPeriodMs": 86400000,
"isSecure": true,
"skipFwTypeCheck": false,
"isCritical": false,
"sendPush": false,
"status": "RUN",
"compareField": "NO_CONDITION",
"shipmentProgress": {
"started": 10,
"requestSent": 8,
"firmwareRequested": 7,
"firmwareUploaded": 6,
"firmwareUploadedToMobile": 0,
"success": 5,
"uploadFailure": 1,
"firmwareTypeMismatch": 0,
"downloadLimitReached": 0,
"rollback": 0,
"firmwareVersionMismatch": 0,
"updatedAt": 1700000000000
}
}
]OAuth2 Bearer token obtained from authentication endpoint
Shipment ID
Organization ID (optional). If not provided, the organization, that is associated with the authentication token, will be used.
Shipment details
Shipment unique identifier
1Template (product) ID for this shipment
10Template (product) name
Smart SensorTime window for the OTA update delivery
ANYPossible values: Shipment title
Firmware v2.0 rolloutServer path to the firmware binary, as returned by the firmware upload endpoint (POST /api/upload with type=FIRMWARE).
/static/fw_abc123def456.binOriginal firmware file name
firmware_v2.0.binOptional. Custom host domain name used for firmware download URL. If not set, the server's default host is used.
myhost.comID of the user who started the shipment
42Timestamp (ms) when the shipment was started
1700000000000Timestamp (ms) when the shipment finished (0 if still running)
0List of device IDs targeted by this shipment
[1,2,3]Maximum number of OTA delivery attempts per device
3Period (ms) after which the attempt counter resets
86400000Whether the firmware transfer uses a secure channel
trueWhether to skip firmware type compatibility check
falseWhether this is a critical update
falseWhether push notifications were sent for this shipment
falseCurrent shipment status
RUNPossible values: Condition used to determine whether the shipment should apply to a device
NO_CONDITIONPossible values: Bad request
Forbidden
Shipment not found or access denied
Too many requests
Internal server error
GET /api/v1/organization/shipment?shipmentId=1 HTTP/1.1
Host: blynk.cloud
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"productId": 10,
"productName": "Smart Sensor",
"shipmentTime": "ANY",
"title": "Firmware v2.0 rollout",
"pathToFirmware": "/static/fw_abc123def456.bin",
"firmwareOriginalFileName": "firmware_v2.0.bin",
"host": "myhost.com",
"startedByUserId": 42,
"startedAt": 1700000000000,
"finishedAt": 0,
"deviceIds": [
1,
2,
3
],
"firmwareInfo": {
"version": "2.0.0",
"blynkVersion": "1.3.0",
"fwType": "Smart Sensor",
"boardType": "ESP32",
"buildDate": "Apr 10 2026",
"md5Hash": "d41d8cd98f00b204e9800998ecf8427e",
"sha256Hash": "text",
"type": "MCU",
"fileSize": 1048576
},
"attemptsLimit": 3,
"attemptResetPeriodMs": 86400000,
"isSecure": true,
"skipFwTypeCheck": false,
"isCritical": false,
"sendPush": false,
"status": "RUN",
"compareField": "NO_CONDITION",
"shipmentProgress": {
"started": 10,
"requestSent": 8,
"firmwareRequested": 7,
"firmwareUploaded": 6,
"firmwareUploadedToMobile": 0,
"success": 5,
"uploadFailure": 1,
"firmwareTypeMismatch": 0,
"downloadLimitReached": 0,
"rollback": 0,
"firmwareVersionMismatch": 0,
"updatedAt": 1700000000000
}
}OAuth2 Bearer token obtained from authentication endpoint
Shipment ID
Organization ID (optional). If not provided, the organization, that is associated with the authentication token, will be used.
Shipment deleted successfully
No content
Bad request
Forbidden
Shipment not found or access denied
Too many requests
Internal server error
DELETE /api/v1/organization/shipment?shipmentId=1 HTTP/1.1
Host: blynk.cloud
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
OAuth2 Bearer token obtained from authentication endpoint
Organization ID (optional). If not provided, the organization, that is associated with the authentication token, will be used.
101Template (product) ID for this shipment
10Time window for the OTA update delivery
ANYPossible values: Shipment title
Firmware v2.0 rolloutServer path to the firmware binary. This is the path value returned by the firmware upload endpoint (POST /api/upload with type=FIRMWARE) — upload the file there first, then pass the returned path here.
/static/fw_abc123def456.binOriginal firmware file name, as it should be shown to the user (usually the name of the file you uploaded).
firmware_v2.0.binOptional. Custom host domain name for firmware download URL. If not provided, the server's default host will be used. Should be a domain name (e.g., 'myhost.com'). URL scheme prefixes (http://, https://) and trailing slashes are automatically stripped.
myhost.comList of device IDs to target
[1,2,3]Maximum number of OTA delivery attempts per device
3Period (ms) after which the attempt counter resets
86400000Whether the firmware transfer uses a secure channel
trueWhether to skip firmware type compatibility check
falseWhether this is a critical update
falseCondition used to determine whether the shipment should apply to a device
NO_CONDITIONPossible values: Shipment created successfully
Shipment unique identifier
1Template (product) ID for this shipment
10Template (product) name
Smart SensorTime window for the OTA update delivery
ANYPossible values: Shipment title
Firmware v2.0 rolloutServer path to the firmware binary, as returned by the firmware upload endpoint (POST /api/upload with type=FIRMWARE).
/static/fw_abc123def456.binOriginal firmware file name
firmware_v2.0.binOptional. Custom host domain name used for firmware download URL. If not set, the server's default host is used.
myhost.comID of the user who started the shipment
42Timestamp (ms) when the shipment was started
1700000000000Timestamp (ms) when the shipment finished (0 if still running)
0List of device IDs targeted by this shipment
[1,2,3]Maximum number of OTA delivery attempts per device
3Period (ms) after which the attempt counter resets
86400000Whether the firmware transfer uses a secure channel
trueWhether to skip firmware type compatibility check
falseWhether this is a critical update
falseWhether push notifications were sent for this shipment
falseCurrent shipment status
RUNPossible values: Condition used to determine whether the shipment should apply to a device
NO_CONDITIONPossible values: Bad request
Forbidden
Organization or product not found
Too many requests
Internal server error
POST /api/v1/organization/shipment/create HTTP/1.1
Host: blynk.cloud
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 579
{
"orgId": 101,
"productId": 10,
"shipmentTime": "ANY",
"title": "Firmware v2.0 rollout",
"pathToFirmware": "/static/fw_abc123def456.bin",
"firmwareOriginalFileName": "firmware_v2.0.bin",
"host": "myhost.com",
"deviceIds": [
1,
2,
3
],
"firmwareInfo": {
"version": "2.0.0",
"blynkVersion": "1.3.0",
"fwType": "Smart Sensor",
"boardType": "ESP32",
"buildDate": "Apr 10 2026",
"md5Hash": "d41d8cd98f00b204e9800998ecf8427e",
"sha256Hash": "text",
"type": "MCU",
"fileSize": 1048576
},
"attemptsLimit": 3,
"attemptResetPeriodMs": 86400000,
"isSecure": true,
"skipFwTypeCheck": false,
"isCritical": false,
"compareField": "NO_CONDITION"
}{
"id": 1,
"productId": 10,
"productName": "Smart Sensor",
"shipmentTime": "ANY",
"title": "Firmware v2.0 rollout",
"pathToFirmware": "/static/fw_abc123def456.bin",
"firmwareOriginalFileName": "firmware_v2.0.bin",
"host": "myhost.com",
"startedByUserId": 42,
"startedAt": 1700000000000,
"finishedAt": 0,
"deviceIds": [
1,
2,
3
],
"firmwareInfo": {
"version": "2.0.0",
"blynkVersion": "1.3.0",
"fwType": "Smart Sensor",
"boardType": "ESP32",
"buildDate": "Apr 10 2026",
"md5Hash": "d41d8cd98f00b204e9800998ecf8427e",
"sha256Hash": "text",
"type": "MCU",
"fileSize": 1048576
},
"attemptsLimit": 3,
"attemptResetPeriodMs": 86400000,
"isSecure": true,
"skipFwTypeCheck": false,
"isCritical": false,
"sendPush": false,
"status": "RUN",
"compareField": "NO_CONDITION",
"shipmentProgress": {
"started": 10,
"requestSent": 8,
"firmwareRequested": 7,
"firmwareUploaded": 6,
"firmwareUploadedToMobile": 0,
"success": 5,
"uploadFailure": 1,
"firmwareTypeMismatch": 0,
"downloadLimitReached": 0,
"rollback": 0,
"firmwareVersionMismatch": 0,
"updatedAt": 1700000000000
}
}OAuth2 Bearer token obtained from authentication endpoint
Shipment ID
Organization ID (optional). If not provided, the organization, that is associated with the authentication token, will be used.
Shipment stopped successfully
Shipment unique identifier
1Template (product) ID for this shipment
10Template (product) name
Smart SensorTime window for the OTA update delivery
ANYPossible values: Shipment title
Firmware v2.0 rolloutServer path to the firmware binary, as returned by the firmware upload endpoint (POST /api/upload with type=FIRMWARE).
/static/fw_abc123def456.binOriginal firmware file name
firmware_v2.0.binOptional. Custom host domain name used for firmware download URL. If not set, the server's default host is used.
myhost.comID of the user who started the shipment
42Timestamp (ms) when the shipment was started
1700000000000Timestamp (ms) when the shipment finished (0 if still running)
0List of device IDs targeted by this shipment
[1,2,3]Maximum number of OTA delivery attempts per device
3Period (ms) after which the attempt counter resets
86400000Whether the firmware transfer uses a secure channel
trueWhether to skip firmware type compatibility check
falseWhether this is a critical update
falseWhether push notifications were sent for this shipment
falseCurrent shipment status
RUNPossible values: Condition used to determine whether the shipment should apply to a device
NO_CONDITIONPossible values: Bad request
Forbidden
Shipment not found or access denied
Too many requests
Internal server error
PUT /api/v1/organization/shipment/stop?shipmentId=1 HTTP/1.1
Host: blynk.cloud
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"productId": 10,
"productName": "Smart Sensor",
"shipmentTime": "ANY",
"title": "Firmware v2.0 rollout",
"pathToFirmware": "/static/fw_abc123def456.bin",
"firmwareOriginalFileName": "firmware_v2.0.bin",
"host": "myhost.com",
"startedByUserId": 42,
"startedAt": 1700000000000,
"finishedAt": 0,
"deviceIds": [
1,
2,
3
],
"firmwareInfo": {
"version": "2.0.0",
"blynkVersion": "1.3.0",
"fwType": "Smart Sensor",
"boardType": "ESP32",
"buildDate": "Apr 10 2026",
"md5Hash": "d41d8cd98f00b204e9800998ecf8427e",
"sha256Hash": "text",
"type": "MCU",
"fileSize": 1048576
},
"attemptsLimit": 3,
"attemptResetPeriodMs": 86400000,
"isSecure": true,
"skipFwTypeCheck": false,
"isCritical": false,
"sendPush": false,
"status": "RUN",
"compareField": "NO_CONDITION",
"shipmentProgress": {
"started": 10,
"requestSent": 8,
"firmwareRequested": 7,
"firmwareUploaded": 6,
"firmwareUploadedToMobile": 0,
"success": 5,
"uploadFailure": 1,
"firmwareTypeMismatch": 0,
"downloadLimitReached": 0,
"rollback": 0,
"firmwareVersionMismatch": 0,
"updatedAt": 1700000000000
}
}Last updated
Was this helpful?

