---
title: "Request a gated resource PDF by email (same-origin)"
method: POST
path: "/api/resources"
tags: ["Site forms (same-origin)"]
---

# Request a gated resource PDF by email (same-origin)

`POST /api/resources`

## Request

- Base URL: `https://dribba.com`
- URL: `https://dribba.com/api/resources`
- Auth: none required

Sends one of the guides listed at /recursos to the given address.

## Request body

- ResourceRequest
  - `slug` string, required
  - `email` string, email, required

## Response `200`

Sent by email

- Accepted
  - `ok` boolean, required
  - `message` string

## Other responses

- `400`: The body did not match the documented schema
- `403`: Write endpoints require a same-origin request
- `415`: Body was not sent as application/json
- `429`: Rate limit exceeded
- `500`: Unexpected server error

---

[API](https://skmtc.dev/dribba/apis/dribba-public-api.md) · [All operations](https://skmtc.dev/dribba/apis/dribba-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dribba/apis/dribba-public-api/revisions/694a12831fd4?raw)
