Connections
PATCH /connections/{phoneNumber}/presence
Changed onRequest
- Base URLhttp://localhost:3025
- AuthAPI key in header x-api-key
- TypeScripthttps://skmtc.dev/fazer-ai/apis/fazer-ai-baileys-api/docs/connections/:phoneNumber/presence/patch.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
phoneNumberstring required
Example:+551234567890
Phone number for connection. Must have + prefix.
Request body
Example request
{
"type": "available"
}Response
Presence update sent successfully
Changes
- breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- breaking
- info
added the non-success response with the status
- info
added the success response with the status
- info