---
title: "Internal runner exchanges its scoped provider authority for a job token"
method: POST
path: "/internal/runner/jobs/{jobId}/token-exchange"
---

# Internal runner exchanges its scoped provider authority for a job token

`POST /internal/runner/jobs/{jobId}/token-exchange`

## Request

- Base URL: `https://api.eurobase.dev`
- URL: `https://api.eurobase.dev/internal/runner/jobs/{jobId}/token-exchange`
- Auth: none declared

## Request body

- union
  - object
    - `bootstrapSecret` string, required
    - `runnerId` string, required
    - `jobAttempt` string, required
  - object
    - `deploymentToken` string, required
    - `providerRunId` string, required

## Response `200`

Scoped runner token issued for the current dispatched attempt

---

[API](https://skmtc.dev/eurobase/apis/eurobase-api.md) · [All operations](https://skmtc.dev/eurobase/apis/eurobase-api/llms.txt) · [OpenAPI document](https://skmtc.dev/eurobase/apis/eurobase-api/revisions/5266a299d18a?raw)
