---
title: "Get OAuth URL for the service provider"
method: POST
path: "/v1/integration/oauth/{name}/generate-url"
tags: ["oauth"]
---

# Get OAuth URL for the service provider

`POST /v1/integration/oauth/{name}/generate-url`

## Path parameters

- `name` string, required

## Headers

- `X-Team-Id` string

## Request body

- object
  - `integration_type` 'neuron' | 'config' — Type of integration (neuron for AI/automation, config for regular configurations)
  - `integration_name` string — Name for the integration (required for config type, ignored for neuron type)

## Response `200`

OK

- object
  - `url` string, required

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-11-18** `41ee26b930f3` — 1 info
  - added optional request body
- **2025-10-28** `c9df54e2fb2c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/integration/oauth/:name/generate-url/post.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/projectdiscovery/apis/pdcp-api/revisions/24404c1dd282?raw)
