AI resources
Consult configurationshttps://api.mercadopago.com/v1/reporting/operations/{reportId}/config
Returns the active structure and notifiers for a previously configured Other Operations report, whose type is specified by reportId. In case of success, the request returns a response with status 200.
GET
Request parameters
Header
Authorization
string
REQUIRED
Access Token obtained through the developer panel. Must be sent in all requests.
Path
reportId
string
REQUIRED
Other Operations report type.
activities_collection: Collection report.
activities_after_collection: Post-collection report.
activities_withdraw: Withdrawal report.
Response parameters
structure
object
Active structure associated with the configured Other Operations report.
notifiers
array
Active notifiers associated with the report structure.
Errors
401Invalid access token.
invalid_token
The Access Token is invalid, expired, or does not have read permissions. Check the token sent in the Authorization header and its scopes, then submit the request again.
404Configuration not found.
configuration_not_found
No active configuration was found for the specified reportId. Check the report type or create its configuration with POST /config before trying again.
Request
curl -X GET \
'https://api.mercadopago.com/v1/reporting/operations/{reportId}/config'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-4*********782856-12*********f202ca494*********f0baa4bb3*********648' \
Response
{
"structure": {
"id": "aaaabbbb-1111-2222-3333-ccccddddeeee",
"name": "collections-structure",
"file_format": {
"column_separator": ",",
"date_format": "yyyy-MM-dd",
"prefix": "activities_"
},
"columns": [
{
"key": "date_created"
}
],
"display_timezone": "GMT-05",
"version": 1
},
"notifiers": [
{
"id": "11112222-aaaa-bbbb-cccc-333344445555",
"type": "webhook",
"status": "ACTIVE",
"version": 1
}
]
}