Authorizations
Apikey
Path Parameters
O nome da sessão (instanceName)
ID da Conversa
Body
application/json
Duration in seconds. 24 hours (86400), 7 days (604800), 30 days
Example:
86400
curl --request POST \
--url https://api.wappfy.com.br/api/{session}/chats/{chatId}/messages/{messageId}/pin \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"duration": 86400
}'
O parâmetro deve ser o instanceName da sessão.
curl --request POST \
--url https://api.wappfy.com.br/api/{session}/chats/{chatId}/messages/{messageId}/pin \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"duration": 86400
}'
Apikey
O nome da sessão (instanceName)
ID da Conversa
Duration in seconds. 24 hours (86400), 7 days (604800), 30 days
86400