---
title: "Authenticate Cram"
method: POST
path: "/v0/auth/cram"
tags: ["auth"]
---

# Authenticate Cram

`POST /v0/auth/cram`

## Query parameters

- `challenge` string, required
- `user_reply` string, required
- `dataset` string, required
- `caller_pid` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `400` — If user reply or bucket ID malformed (e.g. no hyphen), If `dataset` is invalid or not found.
- `401` — If no user API key matches on CRAM user reply
- `403` — If user not in good standing, is deactivated, or has no entitlement for dataset
- `404` — If user for API key not found
- `422` — If dataset is not production ready, or not available for live

---

[API](https://skmtc.net/databento/apis/databento-openapi-specification.md) · [All operations](https://skmtc.net/databento/apis/databento-openapi-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/databento/databento-openapi-specification/revisions/08ef3d01f5b8/schema)
