---
title: "Zapier Oauth Token"
method: POST
path: "/zapier/oauth/token"
tags: ["Zapier"]
---

# Zapier Oauth Token

`POST /zapier/oauth/token`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/zapier/oauth/token`
- Auth: none declared

OAuth2 token endpoint called by Zapier's backend. Supports the
``authorization_code`` and ``refresh_token`` grants. Public (authenticated
by client credentials in the form body), so it is exempt from the cookie
session.

## Request body `application/x-www-form-urlencoded`

- BodyZapierOAuthToken
  - `grant_type` string, required
  - `client_id` string, required
  - `client_secret` string, required
  - `code` string, nullable
  - `redirect_uri` string, nullable
  - `refresh_token` string, nullable

## Response `200`

Successful Response

- ZapierTokenResponse: Standard OAuth2 token response returned to Zapier's backend.
  - `access_token` string, required
  - `token_type` string
  - `expires_in` integer, required
  - `refresh_token` string, required
  - `scope` string, nullable

## Other responses

- `422`: Validation Error

---

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