---
title: "Generate access and refresh tokens"
method: POST
path: "/generate-integration-app-token"
---

# Generate access and refresh tokens

`POST /generate-integration-app-token`

This endpoint generates access and refresh tokens based on the provided payload.

## Request body

- object
  - `id` string
  - `name` string

## Response `200`

Tokens generated successfully

- object
  - `accessToken` string
  - `refreshToken` string

## Other responses

- `400` — Error occurred while generating tokens

---

[API](https://skmtc.dev/supabase/apis/dalil-oauth-resource-api.md) · [All operations](https://skmtc.dev/supabase/apis/dalil-oauth-resource-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supabase/dalil-oauth-resource-api/revisions/40a7125e0355/schema)
