Exemplos

Veja abaixo exemplos funcionais de chamadas em modo teste (sandbox). Os dados em modo teste tem objetivo meramente demonstrativos e não representam informações reais.

Processa dados pessoa

Processa dados na matriz “consultaPessoaDefault”

CURL

curl -X POST \
-H "Authorization: teste09895HATnuv91wj1P1W4oWARXV5KW" \
-H "Content-Type: application/json" \
-d '{
        "cpf":"38306446046",
        "dataDeNascimento":"13/04/1989",
        "nome":"Luiz Henrique de Souza Pinto"
    }' \
"https://api.idwall.co/protocolos/novo/consultaPessoaDefault"

PHP

<?php
    $curl = curl_init();

    curl_setopt_array($curl, array(
    CURLOPT_URL => "https://api.idwall.co/protocolos/novo/consultaPessoaDefault",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_POSTFIELDS => "cpf=38306446046&dataDeNascimento=13%2F04%2F1989&nome=Luiz%20Henrique%20de%20Souza%20Pinto",
    CURLOPT_HTTPHEADER => array(
            "authorization: teste09895HATnuv91wj1P1W4oWARXV5KW",
            "cache-control: no-cache",
            "content-type: application/x-www-form-urlencoded"
        ),
    ));

    $response = curl_exec($curl);
    $err = curl_error($curl);

    curl_close($curl);

    if ($err) {
        echo "cURL Error #:" . $err;
    } else {
        echo $response;
    }

Javascript (NodeJS)

var request = require("request");

var options = {
    method: 'POST',
    url: 'https://api.idwall.co/protocolos/novo/consultaPessoaDefault',

    headers: {
        'cache-control': 'no-cache',
        'content-type': 'application/x-www-form-urlencoded',
        authorization: 'teste09895HATnuv91wj1P1W4oWARXV5KW'
    },

    form: {
        cpf: '38306446046',
        dataDeNascimento: '13/04/1989',
        nome: 'Luiz Henrique de Souza Pinto'
    }
};

request(options, function (error, response, body) {
    if (error) throw new Error(error);
    console.log(body);
});

Javascript (jQuery)

var settings = {
    "async": true,
    "crossDomain": true,
    "url": "https://api.idwall.co/protocolos/novo/consultaPessoaDefault",
    "method": "POST",

    "headers": {
        "content-type": "application/x-www-form-urlencoded",
        "authorization": "teste09895HATnuv91wj1P1W4oWARXV5KW",
        "cache-control": "no-cache"
    },

    "data": {
        "cpf": "38306446046",
        "dataDeNascimento": "13/04/1989",
        "nome": "Luiz Henrique de Souza Pinto"
    }
}

$.ajax(settings).done(function (response) {
    console.log(response);
});

Processa dados empresa

Processa dados na matriz “consultaEmpresaDefault”

CURL

curl -X POST \
-H "Authorization: teste09895HATnuv91wj1P1W4oWARXV5KW" \
-H "Content-Type: application/json" \
-d '{
        "cnpj":"88152733000192"
    }' \
"https://api.idwall.co/protocolos/novo/consultaEmpresaDefault"

PHP

<?php

    $curl = curl_init();

    curl_setopt_array($curl, array(
        CURLOPT_URL => "https://api.idwall.co/protocolos/novo/consultaEmpresaDefault",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "POST",
        CURLOPT_POSTFIELDS => "cnpj=88152733000192",
        CURLOPT_HTTPHEADER => array(
            "authorization: teste09895HATnuv91wj1P1W4oWARXV5KW",
            "cache-control: no-cache",
            "content-type: application/x-www-form-urlencoded"
        ),
    ));

    $response = curl_exec($curl);
    $err = curl_error($curl);

    curl_close($curl);

    if ($err) {
        echo "cURL Error #:" . $err;
    } else {
        echo $response;
    }

Javascript (NodeJS)

var request = require("request");

var options = {
    method: 'POST',
    url: 'https://api.idwall.co/protocolos/novo/consultaEmpresaDefault',

    headers: {
        'cache-control': 'no-cache',
        'content-type': 'application/x-www-form-urlencoded',
        authorization: 'teste09895HATnuv91wj1P1W4oWARXV5KW'
    },

    form: {
            cnpj: '88152733000192'
    }
};

request(options, function (error, response, body) {
    if (error) throw new Error(error);
    console.log(body);
});

Javascript (jQuery)

var settings = {
    "async": true,
    "crossDomain": true,
    "url": "https://api.idwall.co/protocolos/novo/consultaEmpresaDefault",
    "method": "POST",

    "headers": {
        "authorization": "teste09895HATnuv91wj1P1W4oWARXV5KW",
        "content-type": "application/x-www-form-urlencoded",
        "cache-control": "no-cache"
    },

    "data": {
        "cnpj": "88152733000192"
    }
};

$.ajax(settings).done(function (response) {
    console.log(response);
});

Consulta status de processamento

CURL

Consulta status de processamento de um protocolo (matriz “consultaPessoaDefault/consultaEmpresaDefault”)

curl -X GET \
-H "Authorization: teste09895HATnuv91wj1P1W4oWARXV5KW" \
-H "Content-Type: application/json" \
"https://api.idwall.co/protocolos/bf0759bb-411e-4d39-9866-af1840ad10ba"

PHP

Consulta status de processamento de um protocolo (matriz “consultaPessoaDefault/consultaEmpresaDefault”)

<?php

    $curl = curl_init();

    curl_setopt_array($curl, array(
        CURLOPT_URL => "https://api.idwall.co/protocolos/b7145576-d9ea-41a4-a8cf-60c8e78549e4",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "GET",
        CURLOPT_HTTPHEADER => array(
            "authorization: teste09895HATnuv91wj1P1W4oWARXV5KW",
            "cache-control: no-cache"
        ),
    ));

    $response = curl_exec($curl);
    $err = curl_error($curl);

    curl_close($curl);

    if ($err) {
        echo "cURL Error #:" . $err;
    } else {
        echo $response;
    }

Javascript (NodeJS)

Consulta status de processamento de um protocolo (matriz “consultaPessoaDefault/consultaEmpresaDefault”)

var request = require("request");

var options = {
    method: 'GET',
    url: 'https://api.idwall.co/protocolos/b7145576-d9ea-41a4-a8cf-60c8e78549e4',
    headers: {
        'cache-control': 'no-cache',
        authorization: 'teste09895HATnuv91wj1P1W4oWARXV5KW'
    }
};

request(options, function (error, response, body) {
    if (error) throw new Error(error);
    console.log(body);
});

Javascript (jQuery)

Consulta status de processamento de um protocolo (matriz “consultaPessoaDefault/consultaEmpresaDefault”)

var settings = {
    "async": true,
    "crossDomain": true,
    "url": "https://api.idwall.co/protocolos/b7145576-d9ea-41a4-a8cf-60c8e78549e4",
    "method": "GET",
    "headers": {
        "authorization": "teste09895HATnuv91wj1P1W4oWARXV5KW",
        "cache-control": "no-cache"
    }
}

$.ajax(settings).done(function (response) {
    console.log(response);
});

Consulta resultado da validação de um protocolo

Consulta resultado da validação de um protocolo

CURL

curl -X GET \
-H "Authorization: teste09895HATnuv91wj1P1W4oWARXV5KW" \
-H "Content-Type: application/json" \
"https://api.idwall.co/protocolos/bf0759bb-411e-4d39-9866-af1840ad10ba/validacoes"

PHP

<?php

    $curl = curl_init();

    curl_setopt_array($curl, array(
        CURLOPT_URL => "https://api.idwall.co/protocolos/b7145576-d9ea-41a4-a8cf-60c8e78549e4",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "GET",
        CURLOPT_HTTPHEADER => array(
            "authorization: teste09895HATnuv91wj1P1W4oWARXV5KW",
            "cache-control: no-cache"
        ),
    ));

    $response = curl_exec($curl);
    $err = curl_error($curl);

    curl_close($curl);

    if ($err) {
        echo "cURL Error #:" . $err;
    } else {
        echo $response;
    }

Javascript (NodeJS)

var request = require("request");

var options = {
method: 'GET',
url: 'https://api.idwall.co/protocolos/b7145576-d9ea-41a4-a8cf-60c8e78549e4',

headers: {
        'cache-control': 'no-cache',
        authorization: 'teste09895HATnuv91wj1P1W4oWARXV5KW'
    }
};

request(options, function (error, response, body) {
    if (error) throw new Error(error);
    console.log(body);
});

Javascript (jQuery)

var settings = {
    "async": true,
    "crossDomain": true,
    "url": "https://api.idwall.co/protocolos/b7145576-d9ea-41a4-a8cf-60c8e78549e4",
    "method": "GET",

    "headers": {
        "authorization": "teste09895HATnuv91wj1P1W4oWARXV5KW",
        "cache-control": "no-cache"
    }
};

$.ajax(settings).done(function (response) {
    console.log(response);
});

Consulta dados armazenados de pessoa

Consulta dados armazenados de pessoa por CPF

CURL

curl -X GET \
-H "Authorization: teste09895HATnuv91wj1P1W4oWARXV5KW" \
-H "Content-Type: application/json" \
"https://api.idwall.co/pessoas/65034854333"

PHP

<?php

    $curl = curl_init();

    curl_setopt_array($curl, array(
        CURLOPT_URL => "https://api.idwall.co/pessoas/65034854333",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "GET",
        CURLOPT_HTTPHEADER => array(
            "authorization: teste09895HATnuv91wj1P1W4oWARXV5KW",
            "cache-control: no-cache",
        ),
    ));

    $response = curl_exec($curl);
    $err = curl_error($curl);

    curl_close($curl);

    if ($err) {
        echo "cURL Error #:" . $err;
    } else {
        echo $response;
    }

Javascript (NodeJS)

var request = require("request");

var options = {
    method: 'GET',
    url: 'https://api.idwall.co/pessoas/65034854333',

    headers: {
            'cache-control': 'no-cache',
            authorization: 'teste09895HATnuv91wj1P1W4oWARXV5KW'
        }
    };

request(options, function (error, response, body) {
    if (error) throw new Error(error);
    console.log(body);
});

Javascript (jQuery)

var settings = {
    "async": true,
    "crossDomain": true,
    "url": "https://api.idwall.co/pessoas/65034854333",
    "method": "GET",

    "headers": {
        "authorization": "teste09895HATnuv91wj1P1W4oWARXV5KW",
        "cache-control": "no-cache"
    }
};

$.ajax(settings).done(function (response) {
    console.log(response);
});

Consulta dados armazenados de empresa

Consulta dados armazenados de empresa por CNPJ

CURL

curl -X GET \
-H "Authorization: teste09895HATnuv91wj1P1W4oWARXV5KW" \
-H "Content-Type: application/json" \
"https://api.idwall.co/empresas/83752703000101"

PHP

<?php

    $curl = curl_init();

    curl_setopt_array($curl, array(
        CURLOPT_URL => "https://api.idwall.co/empresas/83752703000101",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "GET",
        CURLOPT_HTTPHEADER => array(
            "authorization: teste09895HATnuv91wj1P1W4oWARXV5KW",
            "cache-control: no-cache",
        ),
    ));

    $response = curl_exec($curl);
    $err = curl_error($curl);

    curl_close($curl);

    if ($err) {
        echo "cURL Error #:" . $err;
    } else {
        echo $response;
    }

Javascript (NodeJS)

var request = require("request");

var options = {
    method: 'GET',
    url: 'https://api.idwall.co/empresas/83752703000101',

    headers: {
            'cache-control': 'no-cache',
            authorization: 'teste09895HATnuv91wj1P1W4oWARXV5KW'
        }
    };

request(options, function (error, response, body) {
    if (error) throw new Error(error);
    console.log(body);
});

Javascript (jQuery)

var settings = {
    "async": true,
    "crossDomain": true,
    "url": "https://api.idwall.co/empresas/83752703000101",
    "method": "GET",

    "headers": {
        "authorization": "teste09895HATnuv91wj1P1W4oWARXV5KW",
        "cache-control": "no-cache"
    }
};

$.ajax(settings).done(function (response) {
    console.log(response);
});

Lista de pessoas consultadas

Consulta dados armazenados de pessoas consultadas

CURL

curl -X GET \
-H "Authorization: teste09895HATnuv91wj1P1W4oWARXV5KW" \
-H "Content-Type: application/x-www-form-urlencoded" \
"https://api.idwall.co/pessoas"

PHP

<?php

    $curl = curl_init();

    curl_setopt_array($curl, array(
        CURLOPT_URL => "https://api.idwall.co/pessoas",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "GET",
        CURLOPT_POSTFIELDS => "cnpj=88152733000192",
        CURLOPT_HTTPHEADER => array(
            "authorization: teste09895HATnuv91wj1P1W4oWARXV5KW",
            "cache-control: no-cache",
            "content-type: application/x-www-form-urlencoded"
        ),
    ));

    $response = curl_exec($curl);
    $err = curl_error($curl);

    curl_close($curl);

    if ($err) {
        echo "cURL Error #:" . $err;
    } else {
        echo $response;
    }

Javascript (NodeJS)

var request = require("request");

var options = {
    method: 'GET',
    url: 'https://api.idwall.co/pessoas',

    headers: {
        'postman-token': '381c5f2e-42d6-50c1-f583-a4e2ec9aa000',
        'cache-control': 'no-cache',
        'content-type': 'application/x-www-form-urlencoded',
        authorization: 'teste09895HATnuv91wj1P1W4oWARXV5KW'
    },

    form: {
        cnpj: '88152733000192'
    }
};

request(options, function (error, response, body) {
    if (error) throw new Error(error);
    console.log(body);
});

Javascript (jQuery)

var settings = {
    "async": true,
    "crossDomain": true,
    "url": "https://api.idwall.co/pessoas",
    "method": "GET",

    "headers": {
        "authorization": "teste09895HATnuv91wj1P1W4oWARXV5KW",
        "content-type": "application/x-www-form-urlencoded",
        "cache-control": "no-cache"
    },

    "data": {
        "cnpj": "88152733000192"
    }
};

$.ajax(settings).done(function (response) {
    console.log(response);
});

Lista de empresas consultadas

Consulta dados armazenados de pessoas consultadas

CURL

curl -X GET \
-H "Authorization: teste09895HATnuv91wj1P1W4oWARXV5KW" \
-H "Content-Type: application/x-www-form-urlencoded" \
"https://api.idwall.co/empresas"

PHP

<?php

    $curl = curl_init();

    curl_setopt_array($curl, array(
        CURLOPT_URL => "https://api.idwall.co/empresas",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "GET",
        CURLOPT_POSTFIELDS => "cnpj=88152733000192",
        CURLOPT_HTTPHEADER => array(
            "authorization: teste09895HATnuv91wj1P1W4oWARXV5KW",
            "cache-control: no-cache",
            "content-type: application/x-www-form-urlencoded"
        ),
    ));

    $response = curl_exec($curl);
    $err = curl_error($curl);

    curl_close($curl);

    if ($err) {
        echo "cURL Error #:" . $err;
    } else {
        echo $response;
    }

Javascript (NodeJS)

var request = require("request");

var options = {
    method: 'GET',
    url: 'https://api.idwall.co/empresas',

    headers: {
        'postman-token': '381c5f2e-42d6-50c1-f583-a4e2ec9aa000',
        'cache-control': 'no-cache',
        'content-type': 'application/x-www-form-urlencoded',
        authorization: 'teste09895HATnuv91wj1P1W4oWARXV5KW'
    },

    form: {
        cnpj: '88152733000192'
    }
};

request(options, function (error, response, body) {
    if (error) throw new Error(error);
    console.log(body);
});

Javascript (jQuery)

var settings = {
    "async": true,
    "crossDomain": true,
    "url": "https://api.idwall.co/empresas",
    "method": "GET",

    "headers": {
        "authorization": "teste09895HATnuv91wj1P1W4oWARXV5KW",
        "content-type": "application/x-www-form-urlencoded",
        "cache-control": "no-cache"
    },

    "data": {
        "cnpj": "88152733000192"
    }
};

$.ajax(settings).done(function (response) {
    console.log(response);
});