# Start a personal ChatGPT sign-in.

Source: <https://everruns.com/docs/api/operations/login/>

POST

/v1/providers/{provider\_id}/chatgpt/login

Select code samplecURL (shell:curl)

```js
const url = 'https://app.everruns.com/api/v1/providers/example/chatgpt/login';
const options = {method: 'POST'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request POST \
  --url https://app.everruns.com/api/v1/providers/example/chatgpt/login
```

* Production APIapp.everruns.com/api/v1/providers/{provider\_id}/chatgpt/login

Creates a bounded loopback callback listener and returns the authorization URL. Requires deployment enablement, organization opt-in, encryption, and exact ownership.

## Parameters

### Path Parameters

**provider\_id**

required

string

Personal provider ID

## Responses

### 200

Personal connection login

Media typeapplication/json

Browser destination for a newly created, bounded loopback login attempt.

object

**authorize\_url**

required

Open this returned URL unchanged; it contains the attempt’s PKCE, state, and nonce.

string

##### Example

```json
{
  "authorize_url": "https://auth.openai.com/oauth/authorize?client_id=app_example"
}
```

### 400

Invalid connection request

### 404

Provider not found or owned by another user

### 502

Provider exchange or revocation failed