# API Reference
source: https://developer.mastercard.com/consent-management/documentation/api-reference/index.md

## Environment Domains {#environment-domains}

### Single-Card, Geo-Level, User-Based Enrollment {#single-card-geo-level-user-based-enrollment}

* Sandbox
* Production

```Sandbox
https://sandbox.api.mastercard.com/openapis/authentication
```

```Production
https://api.mastercard.com/openapis/authentication
```

### Bulk-Card Enrollment {#bulk-card-enrollment}

* Sandbox
* Production

```Sandbox
https://sandbox.api.mastercard.com/openapis/consents
```

```Production
https://api.mastercard.com/openapis/consents
```

## OpenAPI Specification {#openapi-specification}


API Specification: `https://static.developer.mastercard.com/content/consent-management/swagger/cbc-consent-spec.yaml`


API Specification: `https://static.developer.mastercard.com/content/consent-management/swagger/cbc-bulk-card-consent-spec.yaml`

## Error Codes {#error-codes}

For error codes and error response format, see [Codes and Formats](https://developer.mastercard.com/consent-management/documentation/codes-and-formats/index.md).
