> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List and get Box Sign requests

> List all Box Sign requests for the current user, or get a single request by ID.

## List all requests

Use the [get sign requests endpoint](https://developer.box.com/reference/get-sign-requests.md) to view a list of all Box
Sign requests created by the user associated with the passed Access Token.

```sh cURL theme={null}
curl -i -X GET "https://api.box.com/2.0/sign_requests" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
```

```typescript Node/TypeScript v10 theme={null}
await client.signRequests.getSignRequests();
```

```python Python v10 theme={null}
client.sign_requests.get_sign_requests()
```

```cs .NET v10 theme={null}
await client.SignRequests.GetSignRequestsAsync();
```

```swift Swift v10 theme={null}
try await client.signRequests.getSignRequests()
```

```java Java v10 theme={null}
client.getSignRequests().getSignRequests()
```

```java Java v5 theme={null}
Iterable<BoxSignRequest.Info> signRequests = BoxSignRequest.getAll(api);
for (BoxSignRequest.Info signRequestInfo : signRequests) {
	// Do something with each `signRequestInfo`.
}
```

```python Python v4 theme={null}
sign_requests = client.get_sign_requests()
for sign_request in sign_requests:
    print(f'(Sign Request ID: {sign_request.id})')
```

```cs .NET v6 theme={null}
BoxCollectionMarkerBased<BoxSignRequest> signRequests = await client.SignRequestsManager.GetSignRequestsAsync();
```

```javascript Node v4 theme={null}
const result = await client.signRequests.getAll();
console.log(`There are ${result.count} sign requests`);
```

## Get a request by ID

Use the [get sign requests by ID endpoint](https://developer.box.com/reference/get-sign-requests-id.md) to view
information about a specific Box Sign request. This endpoint requires the sign
request's ID, which can be obtained by using the [get all Box Sign requests endpoint](https://developer.box.com/reference/get-sign-requests.md) or in the response when [creating a Box Sign request](https://developer.box.com/reference/post-sign-requests.md).

```sh cURL theme={null}
curl -i -X GET "https://api.box.com/2.0/sign_requests/<SIGN_REQUEST_ID>" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
```

```typescript Node/TypeScript v10 theme={null}
await client.signRequests.getSignRequestById(createdSignRequest.id!);
```

```python Python v10 theme={null}
client.sign_requests.get_sign_request_by_id(created_sign_request.id)
```

```cs .NET v10 theme={null}
await client.SignRequests.GetSignRequestByIdAsync(signRequestId: NullableUtils.Unwrap(createdSignRequest.Id));
```

```swift Swift v10 theme={null}
try await client.signRequests.getSignRequestById(signRequestId: createdSignRequest.id!)
```

```java Java v10 theme={null}
client.getSignRequests().getSignRequestById(createdSignRequest.getId())
```

```java Java v5 theme={null}
BoxSignRequest signRequest = new BoxSignRequest(api, id);
BoxSignRequest.Info signRequestInfo = signRequest.getInfo();

//using `fields` parameter
BoxSignRequest.Info signRequestInfoWithFields = signRequest.getInfo("status")
```

```python Python v4 theme={null}
sign_request = client.sign_request(sign_request_id='12345').get()
print(f'Sign Request ID is {sign_request.id}')
```

```cs .NET v6 theme={null}
BoxSignRequest signRequest = await client.SignRequestsManager.GetSignRequestByIdAsync("12345");
```

```javascript Node v4 theme={null}
const sr = await client.signRequests.getById({
	sign_request_id: 12345,
});
console.log(
	`Sign request id ${sr.id} contains ${sr.source_files.length} files`
);
```

**RELATED APIS**

**RELATED GUIDES**
