Para autenticar, passe a chave no header como { "Authorization": "Bearer SUA_API_KEY" }.
{ "Authorization": "Bearer SUA_API_KEY" }
curl --request POST \ --url https://api.base39.io/v1/webhooks/insurance \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id-evento": "f4dd6bc9-74d3-4dba-8deb-eb09ad4ea704", "evento": "venda-criadas", "criado-em": "2023-04-19T13:10:00.0000000Z", "versao": "1", "detalhes": {} }'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Receber evento seguro
Retorna o id da fila