QuipteamsREST API

Create external device action

Device Actions: Track device lifecycle actions such as retrievals, transfers, wipes, and deployments.

Endpoint10 params

Parameters

NameTypeDescription
action_typestring
The type of device action.
serial_numberstring
Serial number of the external device
modelstring
Device model or description (e.g. "MacBook Pro 14"). Also accepts "description" as an alias.
typestring
Device type (e.g. "Laptop", "Monitor"). Also accepts "device_type" as an alias.
countrystring
Country where the device is located
current_userobject
Current holder of the device. Must include name and email.
new_recipientobject
New recipient (required for Assign and Reassign). Must include name and email.
wipeboolean
Whether to wipe the device (for Store actions)
notesstring
Additional notes for the action
notification_emailsstring[]
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"
  }
}