DJI Requests Reply
This page describes how to submit a business reply for a specific DJI device request.Endpoint
- Submit reply:
POST /api/v1/open/device-requests/{requestId}/reply
Reply Flow
- Fetch a
request_idfrom theDJI Requestspage first. - Build
reply_code/reply_message/payloadfrom your business decision. - Call the reply endpoint to submit it.
- The platform returns
202when the reply has been accepted and the device-side flow has started.
Authentication
- API ID + API Key + signature
- Scope:
open:device-request:create
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| requestId | string | yes | Unique identifier of the device request being replied to |
Query Parameters
None.Request Body
Body:| Field | Type | Required | Description |
|---|---|---|---|
| reply_code | string | yes | Reply code (e.g. APPROVED) |
| reply_message | string | no | Reply message |
| payload | object | no | Extended reply payload |
Responses
202— Reply accepted and forwarded into the device-side flow.404—requestIdnot found.5xx— Platform-internal failure.
202 response fields:
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique device-request identifier |
| reply_code | string | Platform reply code |
| reply_message | string | Platform reply message |
| reply_source | string | manual (explicit human/business reply) |
| replied_at | string(date-time) | Time the reply was persisted |
202 example:
Example
Next Steps
After replying, return toDJI Requests and query the same request_id to see the reply status and updated timestamp fields.