Create external device action
Device Actions: Track device lifecycle actions such as retrievals, transfers, wipes, and deployments.
Endpoint10 params
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action_type | string | yes | The type of device action. |
serial_number | string | yes | Serial number of the external device |
model | string | yes | Device model or description (e.g. "MacBook Pro 14"). Also accepts "description" as an alias. |
type | string | yes | Device type (e.g. "Laptop", "Monitor"). Also accepts "device_type" as an alias. |
country | string | yes | Country where the device is located |
current_user | object | yes | Current holder of the device. Must include name and email. |
new_recipient | object | no | New recipient (required for Assign and Reassign). Must include name and email. |
wipe | boolean | no | Whether to wipe the device (for Store actions) |
notes | string | no | Additional notes for the action |
notification_emails | string[] | no | Additional emails to notify |
javascript
const response = await fetch(`https://api.quipteams.com/api/v1/device-actions/external`, {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"action_type": "Store",
"serial_number": "EXT-SN-99999",
"model": "ThinkPad X1 Carbon Gen 11",
"type": "Laptop",
"country": "Germany",
"current_user": {
"name": "Hans Mueller",
"email": "hans@acme.com",
"country": "Germany",
"address": "Hauptstr. 10, Berlin",
"phone": "+49-30-12345678"
},
"wipe": true,
"notes": "External contractor device return",
"notification_emails": [
"it@acme.com"
]
}),
});
const { data } = await response.json();
console.log(data);Example Request Body
json
{
"action_type": "Store",
"serial_number": "EXT-SN-99999",
"model": "ThinkPad X1 Carbon Gen 11",
"type": "Laptop",
"country": "Germany",
"current_user": {
"name": "Hans Mueller",
"email": "hans@acme.com",
"country": "Germany",
"address": "Hauptstr. 10, Berlin",
"phone": "+49-30-12345678"
},
"wipe": true,
"notes": "External contractor device return",
"notification_emails": [
"it@acme.com"
]
}Response
json
{
"data": {
"id": "da-uuid-003",
"action_id": "AST45678901",
"action_type": "Store",
"status": "In Progress",
"company": "Acme Corp",
"device": {
"serial_number": "EXT-SN-99999",
"model": "ThinkPad X1 Carbon Gen 11",
"type": "Laptop",
"country": "Germany"
},
"current_user": {
"name": "Hans Mueller",
"email": "hans@acme.com",
"country": "Germany",
"address": "Hauptstr. 10, Berlin",
"phone": "+49-30-12345678"
},
"new_recipient": null,
"wipe": true,
"wipe_completed": false,
"tracking_code": null,
"tracking_link": null,
"notes": "External contractor device return",
"status_timestamps": {},
"notification_emails": [
"it@acme.com"
],
"batch_id": null,
"requested_by": {
"name": "API",
"email": "hans@acme.com"
},
"user_email": "hans@acme.com",
"comments": [],
"created_at": "2026-03-07T10:00:00.000Z",
"updated_at": "2026-03-07T10:00:00.000Z"
}
}