open-wa v5 is alpha. Use v4.76.0 for mature production systems unless you are validating v5.
The Client APIAPI ExplorerLicensing

Status Client API

Generated client method reference for the status namespace.

Client Status Methods Wally

Status Client API

Generated file warning: this page is generated by packages/schema/scripts/gen-client-reference-docs.ts. Do not edit generated method content by hand.

This page documents 6 schema-registry client methods in the status namespace.

deleteAllStatusInsiders

Delete all statuses

Overview

PropValue
Namespacestatus
Actiondelete
Functionalityboth
Positional parameter order-
AliasesdeleteAllStatuses, status.deleteAll
Deprecated aliases-
Licenseinsiders
WAPI override-
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryDELETE/api/status/deleteAlldeleteAllStatusActive
AliasDELETE/api/deleteAllStatusdeleteAllStatusActive
AliasDELETE/api/deleteAllStatusesdeleteAllStatusesActive

Usage

const result = await client.deleteAllStatus({});
const result = await client.status.deleteAll({});
curl -X DELETE "http://localhost:8080/api/status/deleteAll" \
  -H "content-type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  --data '{}'

Parameters

This method does not define input parameters.

Output

PropValue
Return typeunknown

deleteStatusInsiders

Delete status

Overview

PropValue
Namespacestatus
Actiondelete
Functionalityboth
Positional parameter orderstatusesToDelete
Aliasesstatus.delete
Deprecated aliases-
Licenseinsiders
WAPI override-
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryDELETE/api/status/deletedeleteStatusActive
AliasDELETE/api/deleteStatusdeleteStatusActive

Usage

const result = await client.deleteStatus({
  statusesToDelete: [],
});
const result = await client.status.delete({
  statusesToDelete: [],
});
curl -X DELETE "http://localhost:8080/api/status/delete" \
  -H "content-type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  --data '{
    "statusesToDelete": []
  }'

Parameters

Prop

Type

Output

PropValue
Return typeunknown

getStoriesInsiders

Get all stories

Overview

PropValue
Namespacestatus
Actionread
Functionalityboth
Positional parameter order-
AliasesgetStatuses, status.get, status.getAll, status.getStories
Deprecated aliases-
Licenseinsiders
WAPI override-
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryGET/api/status/getAllgetStoriesActive
AliasGET/api/getStatusesgetStatusesActive
AliasGET/api/getStoriesgetStoriesActive
AliasGET/api/status/getstatus.getActive
AliasGET/api/status/getStoriesstatus.getStoriesActive

Usage

const result = await client.getStories({});
const result = await client.status.getAll({});
curl -X GET "http://localhost:8080/api/status/getAll" \
  -H "content-type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  --data '{}'

Parameters

This method does not define input parameters.

Output

PropValue
Return typeunknown[]

postImageStatusInsiders

Post image status

Overview

PropValue
Namespacestatus
Actionsend
Functionalityboth
Positional parameter orderimage, caption
Aliasesstatus.postImage
Deprecated aliases-
Licenseinsiders
WAPI override-
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryPOST/api/status/postImagepostImageStatusActive
AliasPOST/api/postImageStatuspostImageStatusActive

Usage

const result = await client.postImageStatus({
  image: "image",
  caption: "caption",
});
const result = await client.status.postImage({
  image: "image",
  caption: "caption",
});
curl -X POST "http://localhost:8080/api/status/postImage" \
  -H "content-type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  --data '{
    "image": "image",
    "caption": "caption"
  }'

Parameters

Prop

Type

Output

PropValue
Return typeunknown

postTextStatusInsiders

Post text status

Overview

PropValue
Namespacestatus
Actionsend
Functionalityboth
Positional parameter ordertext, backgroundColor, font
Aliasesstatus.postText
Deprecated aliases-
Licenseinsiders
WAPI override-
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryPOST/api/status/postTextpostTextStatusActive
AliasPOST/api/postTextStatuspostTextStatusActive

Usage

const result = await client.postTextStatus({
  text: "text",
  backgroundColor: "backgroundColor",
  font: 1,
});
const result = await client.status.postText({
  text: "text",
  backgroundColor: "backgroundColor",
  font: 1,
});
curl -X POST "http://localhost:8080/api/status/postText" \
  -H "content-type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  --data '{
    "text": "text",
    "backgroundColor": "backgroundColor",
    "font": 1
  }'

Parameters

Prop

Type

Output

PropValue
Return typeunknown

postVideoStatusInsiders

Post video status

Overview

PropValue
Namespacestatus
Actionsend
Functionalityboth
Positional parameter ordervideo, caption
Aliasesstatus.postVideo
Deprecated aliases-
Licenseinsiders
WAPI override-
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryPOST/api/status/postVideopostVideoStatusActive
AliasPOST/api/postVideoStatuspostVideoStatusActive

Usage

const result = await client.postVideoStatus({
  video: "video",
  caption: "caption",
});
const result = await client.status.postVideo({
  video: "video",
  caption: "caption",
});
curl -X POST "http://localhost:8080/api/status/postVideo" \
  -H "content-type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  --data '{
    "video": "video",
    "caption": "caption"
  }'

Parameters

Prop

Type

Output

PropValue
Return typeunknown
Wally the Walrus typing

Was this helpful?

Wally and his cute companion coffee mug are coding day and night to keep this up-to-date!

On this page