---
title: "Get the organization fallback target"
method: GET
path: "/functions/fallback"
tags: ["Functions"]
---

# Get the organization fallback target

`GET /functions/fallback`

## Request

- Base URL: `https://api.primitive.dev/v1`
- URL: `https://api.primitive.dev/v1/functions/fallback`
- Auth: HTTP bearer

Where mail that no domain route claims is delivered: an HTTP endpoint or a function. Null data when no fallback is set.

## Response `200`

Get the organization fallback target

- object
  - `success` true, required
  - `data` GetOrgFunctionFallbackResult, nullable, required
    - `kind` 'http' | 'function', required
    - `functionId` string, uuid, nullable, required
    - `functionName` string, nullable, required

## Other responses

- `401`: Invalid or missing API key
- `403`: Authenticated caller lacks permission for the operation
- `429`: Rate limit exceeded. The `ratelimit-*` headers describe the limiter that rejected this request, with its own limit and window, not the API budget that successful responses report. A limiter that reports only a wait sends `Retry-After` alone.

---

[API](https://skmtc.dev/primitive/apis/primitive-api.md) - [All operations](https://skmtc.dev/primitive/apis/primitive-api/llms.txt) - [OpenAPI document](https://skmtc.dev/primitive/apis/primitive-api/revisions/bce409c97acb?raw)
