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

## Authentication \& Consent Management {#authentication--consent-management}

### Create Consents {#create-consents}

* [Create Consents](https://developer.mastercard.com/consent-management/documentation/api-reference/index.md#create-consents)
* [Start Authentication](https://developer.mastercard.com/consent-management/documentation/api-reference/index.md#start-consents-auth)
* [Verify Authentication](https://developer.mastercard.com/consent-management/documentation/api-reference/index.md#verify-consents-auth)

### Manage Consents {#manage-consents}

* [Get Consents](https://developer.mastercard.com/consent-management/documentation/api-reference/index.md#get-consents)
* [Delete Consents](https://developer.mastercard.com/consent-management/documentation/api-reference/index.md#delete-consents)

### Bulk Consents {#bulk-consents}

* [Create Bulk Consents](https://developer.mastercard.com/consent-management/documentation/api-reference/index.md#cards-bulk)
* [Revoke Bulk Consents](https://developer.mastercard.com/consent-management/documentation/api-reference/index.md#cards-bul-revokes)

## OpenAPI Specification {#openapi-specification}

OpenAPI Specification file:
[cbc-consent-spec.yaml](https://static.developer.mastercard.com/content/consent-management/swagger/cbc-consent-spec.yaml) (14KB).

### Create Consents {#create-consents-1}

{#create-consents}


API Reference: `POST /consents`

<br />

{#start-consents-auth}


API Reference: `POST /consents/{card_ref}/start-authentication`

<br />

{#verify-consents-auth}


API Reference: `POST /consents/{card_ref}/verify-authentication`

<br />

### Manage Consents {#manage-consents-1}

{#get-consents}


API Reference: `GET /consents/{card_ref}`

<br />

{#delete-consents}


API Reference: `DELETE /consents/{card_ref}`

<br />

{#delete-individual-consent}


API Reference: `DELETE /consents/{card_ref}/consents/{consent_id}`

<br />

### Bulk card consents API {#bulk-card-consents-api}

OpenAPI Specification file:
[cbc-bulk-card-consent-spec.yml](https://static.developer.mastercard.com/content/consent-management/swagger/cbc-bulk-card-consent-spec.yml) (13KB).
{#cards-bulk}


API Reference: `POST /cards/bulk`

<br />

{#cards-bul-revokes}


API Reference: `POST /cards/bulk-revokes`

<br />

### Error Codes {#error-codes}

For error codes and error response format, please refer to the [Codes-and-formats](https://developer.mastercard.com/consent-management/documentation/codes-and-formats/index.md) page.
