> For the complete documentation index, see [llms.txt](https://help.pickyassist.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickyassist.com/api-documentation-v2/device-manage-apis/device-commands-apis.md).

# Device Commands API’s

## List of Available Commands

{% hint style="info" %}
You need to pass your command through **“command”** tag&#x20;
{% endhint %}

| **Command**          | **Description**                                                                                                                                                |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| restart              | This will restart the picky assist app installed in the device                                                                                                 |
| reset                | This will reset the picky assist app, all message queue will be deleted and database in the device will be cleared                                             |
| delete-message-queue | This command will delete all messages which are in Queue                                                                                                       |
| delete-call-queue    | This command will delete all calls which are in Queue                                                                                                          |
| stop-message-queue   | <p>This command will temporarily stop processing messages from queue.</p><p>Please note if your send a message then the Queue will start processing again.</p> |
| stop-call-queue      | This command will stop all queue in the device                                                                                                                 |
| resume-message-queue | This will resume the message queue if its stopped earlier                                                                                                      |
| resume-call-queue    | This will resume the call queue if its stopped earlier                                                                                                         |

## Commanding API's

<mark style="color:green;">`POST`</mark> `https://pickyassist.com/app/api/v2/device-action`

This API allows you to command your device remotely like , stopping a queue , restart the app etc

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
|      | string |             |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

### Sample Request&#x20;

```javascript
{
  "token": "PICKY_API_TOKEN",
  "command": "restart"
}
```

### Sample Response

```javascript
{
  "status": 100,
  "message": "Success"
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.pickyassist.com/api-documentation-v2/device-manage-apis/device-commands-apis.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
