# ConsentStack API

**Canonical:** https://apis.io/apis/consentstack-io/consentstack-io-api/  
**Provider:** ConsentStack — https://apis.io/providers/consentstack-io/  
**Base URL:** https://origins.consentstack.io  
**Documentation:** https://www.consentstack.io/docs/api-reference

ConsentStack API is one of 2 APIs that [ConsentStack](https://apis.io/providers/consentstack-io/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 5 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 5 JSON Schemas.

ConsentStack API as documented publicly: 3 operations. Contract generated from the documentation by API Evangelist (2026-11-04); not the provider's own document.

## Operations (3)

| Method | Path | Summary |
|---|---|---|
| GET | `/functions/v1/config` | Returns the published consent configuration for a site, resolved for the visitor's region and language. |
| POST | `/functions/v1/consent` | Records a visitor's consent decision. |
| POST | `/functions/v1/scripts` | Reports third-party scripts detected on the page. |

## Machine-readable artifacts (6)

- **OpenAPI** — https://artifacts.apis.io/consentstack-io/openapi/_ae-authored/consentstack-io-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/consentstack-io/json-schema/consentstack-io-post-functions-v1-consent-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/consentstack-io/json-schema/consentstack-io-get-functions-v1-config-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/consentstack-io/json-schema/consentstack-io-post-functions-v1-scripts-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/consentstack-io/json-schema/consentstack-io-post-functions-v1-consent-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/consentstack-io/json-schema/consentstack-io-post-functions-v1-scripts-response-schema.json

## Other ConsentStack APIs (1)

- [ConsentStack API](https://apis.io/apis/consentstack-io/consentstack-api/)

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/consentstack-io/consentstack-io-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/consentstack-io/.
