client

set device name

Sets the device name and/or browser name displayed for the Web session.

post/instances/{id}/client/action/set-device-name

Request

  • Base URL: https://waapi.app/api/v1
  • URL: https://waapi.app/api/v1/instances/{id}/client/action/set-device-name
  • Auth: HTTP bearer

Path parameters

idinteger required

Instance ID

Request body

deviceNamestring

The device name to display

browserNamestring

The browser name to display

Example request

{
  "deviceName": "My Bot",
  "browserName": "Chrome"
}

Response

Device name updated successfully

status'success' | 'error'
instanceIdstring

Example response

{
  "status": "success",
  "instanceId": "1"
}

Changes

No recorded changes to this operation across all 1 revision of this API.