---
title: "Builds redirect URL"
method: POST
path: "/services/facebook_custom/oauth-request-url"
tags: ["services.facebook_custom"]
---

# Builds redirect URL

`POST /services/facebook_custom/oauth-request-url`

## Request

- Base URL: `https://headless.dataddo.com/customer-api/v1`
- URL: `https://headless.dataddo.com/customer-api/v1/services/facebook_custom/oauth-request-url`
- Auth: none declared

## Request body

- object
  - `config` object
    - `clientId` string
    - `redirectUri` string
    - `scopes` string[]: Array of strings.
  - `state` string
  - `serviceId` string
  - `authorizerId` string

## Response `200`

Returns the redirect URL

- OAuthURLResource
  - `url` string

---

[API](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api.md) · [All operations](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/revisions/dcfa2345bd10?raw)
