v1

latestOpenAPI 3.0.32026-07-242644125.9 KB
Consents

Create Bulk Consents

Registers multiple consents in a single request. Individual (18-char CURP) and Business (12-char RFC) identifiers can be mixed in the same batch and share the same payload shape.

post/consents/bulk

Request body

identifierstring required

Identifier of the data owner: 18-char CURP for individuals or 12-char RFC for businesses.

ip_addressstring required

IP address of the user giving consent. Must be a valid IPv4 (e.g., 192.168.2.74) or IPv6 (e.g., 2001:db8::1) address.

privacy_notice_urlstring uri required

URL to the privacy notice accepted by the user.

Example request

[
  {
    "identifier": "CUAI911021MOCRQS09",
    "ip_address": "192.168.2.74",
    "privacy_notice_url": "https://mycompany.com/privacy-policy"
  }
]

Response

Accepted. Batch consent creation queued successfully.

idstring uuid

Unique identifier for the bulk consent job.

status'pending'

Status of the batch job. Returns 'pending' when queued.

total_itemsinteger

Total number of items in the batch request.

messagestring

Human-readable confirmation message.