Skip to main content

Serpro

Consulte informações de CNPJ utilizando a API do Serpro.

Serpro Logo

Authentication

This connector uses Token-based authentication.

info

Set up your connection in the Abstra Console before using it in your workflows.

How to use

Using the Smart Chat

Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".

Using the Web Editor

from abstra.connectors import run_connection_action

result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})

Available Actions

This connector provides 5 actions:

ActionPurposeParameters
get_basica_by_niChaves para degustação? and nbsp; Acesse aquihttps://apicenter.estaleiro.serpro.gov.br/documentacao/consulta-cnpj/pt/quick_start/ como-utilizar-a-api-cnpj-demonstracaoni (string)
x-signature (string)
x-request-tag (string)
get_qsa_by_niChaves para degustação? and nbsp; Acesse aquihttps://apicenter.estaleiro.serpro.gov.br/documentacao/consulta-cnpj/pt/quick_start/ como-utilizar-a-api-cnpj-demonstracaoni (string)
x-signature (string)
x-request-tag (string)
get_empresa_by_niChaves para degustação? and nbsp; Acesse aquihttps://apicenter.estaleiro.serpro.gov.br/documentacao/consulta-cnpj/pt/quick_start/ como-utilizar-a-api-cnpj-demonstracaoni (string)
x-signature (string)
x-request-tag (string)
get_statusRetorna o status da API CNPJNo parameters
customCall any endpoint of the connected service while reusing the connection auth. Pass the full URL as _url. Other reserved keys: _method, _query, _body, _headers. Remaining params flow naturally — empty → GET, non-empty → POST JSON body._url (string) required
_method (string)
_query (object)
_body (undefined)
_headers (object)