Início
Instances
Chat
Message
Group
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Settings
Profile Settings
Instances
Set Presence
Deletes instance
POST
/
instance
/
setPresence
/
{instance}
Copy
curl --request POST \
--url https://{server-url}/instance/setPresence/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"presence": "available"
}'
Copy
This response has no body data.
Authorizations
Your authorization key header
Path Parameters
Name of the instance to connect
Body
application/json
Copy
curl --request POST \
--url https://{server-url}/instance/setPresence/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"presence": "available"
}'
Copy
This response has no body data.
Assistant
Responses are generated using AI and may contain mistakes.