Consents
Create Consent
Changed onDeprecated. Send ip_address in POST /verifications instead (or in each item of POST /verifications/bulk). This endpoint keeps working until November 15, 2026, when it is removed.
Registers a consent for an identifier. Accepts an 18-char CURP (individual) or a 12-char RFC (business). The payload is the same in both cases.
A consent expires 365 days after creation. After that, POST /verifications for the identifier returns consent_expired until you create a new consent. Data from verifications already completed can still be read.
post/consents
Request
- Base URLhttps://api.burodeingresos.com
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"identifier": "CUAI911021MOCRQS09",
"ip_address": "192.168.2.74",
"privacy_notice_url": "https://mycompany.com/privacy-policy"
}Response
Consent created successfully.
Changes
- info
endpoint deprecated
- info