Navigation in Smart TV - UA55DU8300ULXL, not working via SmartThings API

I want to control the Samsung Smart TV via cloud APIs using SmartThings.
Every operations are working fine except Navigation control.

Model - UA55DU8300ULXL

I tried following Request :

curl --location 'https://api.smartthings.com/v1/devices/738ca837-77d2-88d8-b4e0-ebc3e5121efc/commands?=null' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer Token' \
--data '{
  "commands": [
    {
      "component": "main",
      "capability": "samsungvd.remoteControl",
      "command": "navigateRight"
    }
  ]
}'

Response:

{
    "requestId": "3719356782267280912",
    "error": {
        "code": "ConstraintViolationError",
        "message": "The request is malformed.",
        "details": [
            {
                "code": "NotValidValue",
                "target": "commands[0].Command(component=main, capability=samsungvd.remoteControl, command=navigateRight, commandId=null, arguments=[])",
                "message": "navigateRight is not a valid value.",
                "details": []
            }
        ]
    }
}

Can anyone help me regarding correct commands via api to control TV navigation like left, right, up and down.

Via the API?

And please add ``` before and after the code, like this:

```
type or paste code here
```

Thanks @Andreas_Roedl for the reply.

Yes, via the API.

I want to navigate left, right, up and down.

Updated the Code above in the original post.

You should check if the command exists with the SmartThings CLI:

smartthings devices:commands

actually, I checked the TV’s capabilities via https://api.smartthings.com/v1/devices/<device_id>/status and in the response samsungvd.remoteControl is an empty object.

            "custom.accessibility": {},
            "custom.disabledCapabilities": {
                "disabledCapabilities": {
                    "value": [
                        "samsungvd.ambient",
                        "samsungvd.ambientContent"
                    ],
                    "timestamp": "2025-02-10T13:29:46.412Z"
                }
            },
            "samsungvd.remoteControl": {},
            "samsungvd.lightControl": {
                "supportedModeMap": {
                    "value": null
                },
                "requestId": {
                    "value": null
                },
                "selectedMode": {
                    "value": null
                },
                "streamControl": {
                    "value": null
                },
                "selectedAppId": {
                    "value": null
                },
                "errorCode": {
                    "value": null
                },
                "supportedModes": {
                    "value": null
                }
            },

Is there any option like firmware update or something that can make available the remote controls?

You checked the current status of the device capabilities and samsungvd.remoteControl was empty because it doesn’t have any attributes.

https://api.smartthings.com/capabilities/samsungvd.remoteControl/1 would have given you:

{
    "id": "samsungvd.remoteControl",
    "version": 1,
    "status": "proposed",
    "name": "Remote Control",
    "ephemeral": false,
    "attributes": {},
    "commands": {
        "send": {
            "name": "send",
            "arguments": [
                {
                    "name": "keyValue",
                    "optional": false,
                    "schema": {
                        "type": "string",
                        "enum": [
                            "UP",
                            "DOWN",
                            "LEFT",
                            "RIGHT",
                            "OK",
                            "BACK",
                            "EXIT",
                            "MENU",
                            "HOME",
                            "MUTE",
                            "PLAY",
                            "PAUSE",
                            "STOP",
                            "REWIND",
                            "FF",
                            "PLAY_BACK",
                            "SOURCE"
                        ]
                    }
                },
                {
                    "name": "keyState",
                    "optional": true,
                    "schema": {
                        "type": "string",
                        "enum": [
                            "PRESSED",
                            "RELEASED",
                            "PRESS_AND_RELEASED"
                        ]
                    }
                }
            ]
        }
    }
}

That tells you that the command you need is named send and it takes two arguments, and shows you what the possible values are.

However I would take the advice to install the CLI, if only because if you set it into debug mode (on Windows that is by set SMARTTHINGS_DEBUG=true) you can see the API commands it is sending when it does stuff.

Thank You @orangebucket !
It worked!