Recebendo webhooks.curl --location --request POST 'https://api-dev.messagefy.io/api/v1/message/sendcommand' \
--header 'api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"channelId": "your-channel-id",
"correlationId": "Meu correlation ID",
"content": {
"commandType": "SESSION_START",
"type": "SESSION_START_PAIR_CODE",
"mobileNumber": "5511987654321",
"enableHistoryOnConnect": false
}
}'{
"packageId": "6bfd910d-6247-6f46-471a-ae0692e7402e"
}