# API Credentials Refresh

## fsq_job_id

**Type:** string  
**Required:** Yes  
**Description:** The ID of the job to refresh credentials for.

## X-Places-Api-Version

**Type:** string  
**Enum:**  
**Required:** Yes  
**Defaults to:** 2025-06-17  
**Description:** The version of the API to use. Allowed: `2025-06-17`

## Responses

### 200 success

**Content:**  
```json
{
  "access_key_id": "string",
  "secret_access_key": "string",
  "session_token": "string",
  "job_id": "string",
  "input_uri": "string",
  "output_uri": "string"
}
```

### 400 Bad request

### 500 Internal server error

---

## Example cURL Request

```bash
curl --request POST \
     --url https://places-api.foursquare.com/offline-jobs/fsq_job_id/credentials/refresh \
     --header 'X-Places-Api-Version: 2025-06-17' \
     --header 'accept: application/json'
```

## Example JSON Response

```json
{
  "access_key_id": "string",
  "secret_access_key": "string",
  "session_token": "string",
  "job_id": "string",
  "input_uri": "string",
  "output_uri": "string"
}
```
