---
title: "Build the provider authorization URL to start OAuth"
method: GET
path: "/api/v1/credentials/{provider}/authorization-url"
tags: ["credential"]
---

# Build the provider authorization URL to start OAuth

`GET /api/v1/credentials/{provider}/authorization-url`

## Path parameters

- `provider` 'hubspot' | 'salesforce' | 'salesforce_sandbox', required

## Query parameters

- `loginUrl` string

## Response `200`

- CredentialAuthorizationUrlResponseDTO
  - `url` string, required — Provider authorization URL to redirect the user to

---

[API](https://skmtc.net/wejam/apis/jam.md) · [All operations](https://skmtc.net/wejam/apis/jam/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wejam/jam/revisions/bd5a5f406bca/schema)
