Pular para o conteúdo

POST /v1/integrations/asaas/import/preview

POST
/v1/integrations/asaas/import/preview
curl --request POST \
--url https://seu-endereco-da-api/v1/integrations/asaas/import/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "days": 30 }'

Permissão que a Chave de acesso precisa: Gerenciar a Central de apps (integrations:manage).

Media typeapplication/json
object
days
required
number
Allowed values: 30 60 90
Media typeapplication/json
object
charges
required
number
contactsToCreate
required
number
withoutWhatsapp
required
number
complete
required

False when the account has more open charges than the preview reads; the numbers are then a lower bound

boolean

Example generated

{
"charges": 1,
"contactsToCreate": 1,
"withoutWhatsapp": 1,
"complete": true
}

Asaas is not connected

Asaas did not answer