---
title: "Create a signing integration"
---

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

# Create a signing integration

Path: CloudRaker Workspace API › Signing administration

`POST /signing/developer/keys`

## Authentication

- `bearerAuth`, http, header `Authorization`

## Request body

_Required._

- `name` (`createSigningIntegration.name`; string, required)
  - minLength 1; maxLength 100
- `teamId` (`createSigningIntegration.teamId`; string, required)
  - minLength 1; maxLength 200
- `scopes` (`createSigningIntegration.scopes`; array<string>, required)
  - one of `"documents:read"`, `"documents:write"`, `"documents:send"`, `"templates:read"`, `"templates:write"`, `"contacts:read"`, `"contacts:write"`, `"groups:read"`, `"groups:write"`, `"forms:read"`, `"forms:write"`, `"jobs:read"`, `"jobs:write"`, `"branding:read"`, `"branding:write"`, `"reports:read"`, `"reports:write"`, `"archive:read"`, `"archive:write"`, `"delegations:read"`, `"delegations:write"`, `"delegations:use"`, `"webhooks:read"`, `"webhooks:write"`
- `expiresAt` (`createSigningIntegration.expiresAt`; any of, optional)
  - any of: `string`, `null`

## Example request

```json
{
  "name": "string",
  "teamId": "string",
  "scopes": [
    "documents:read"
  ],
  "expiresAt": "2019-08-24T14:15:22Z"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url https://api.cloudraker.com/signing/developer/keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "string",
  "teamId": "string",
  "scopes": [
    "documents:read"
  ],
  "expiresAt": "2019-08-24T14:15:22Z"
}
'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/signing/developer/keys';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({
    name: 'string',
    teamId: 'string',
    scopes: ['documents:read'],
    expiresAt: '2019-08-24T14:15:22Z'
  })
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/signing/developer/keys"

payload = {
    "name": "string",
    "teamId": "string",
    "scopes": ["documents:read"],
    "expiresAt": "2019-08-24T14:15:22Z"
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 201

Save this secret before closing.

#### Example

```json
{
  "key": {
    "id": "string",
    "keyId": "string",
    "name": "string",
    "teamId": "string",
    "scopes": [
      "documents:read"
    ],
    "expiresAt": "2019-08-24T14:15:22Z",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "lastUsedAt": "string",
    "createdBy": "string",
    "revokedAt": "2019-08-24T14:15:22Z",
    "version": 9007199254740991
  },
  "value": "string"
}
```

- `key` (`createSigningIntegration.response.201.key`; object, required)
  - `id` (`createSigningIntegration.response.201.key.id`; string, required)
  - `keyId` (`createSigningIntegration.response.201.key.keyId`; string, required)
  - `name` (`createSigningIntegration.response.201.key.name`; string, required)
  - `teamId` (`createSigningIntegration.response.201.key.teamId`; string, required)
  - `scopes` (`createSigningIntegration.response.201.key.scopes`; array<string>, required)
    - one of `"documents:read"`, `"documents:write"`, `"documents:send"`, `"templates:read"`, `"templates:write"`, `"contacts:read"`, `"contacts:write"`, `"groups:read"`, `"groups:write"`, `"forms:read"`, `"forms:write"`, `"jobs:read"`, `"jobs:write"`, `"branding:read"`, `"branding:write"`, `"reports:read"`, `"reports:write"`, `"archive:read"`, `"archive:write"`, `"delegations:read"`, `"delegations:write"`, `"delegations:use"`, `"webhooks:read"`, `"webhooks:write"`
  - `expiresAt` (`createSigningIntegration.response.201.key.expiresAt`; any of, required)
    - any of: `string`, `null`
  - `createdAt` (`createSigningIntegration.response.201.key.createdAt`; string, required)
    - format `date-time`; pattern `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - `updatedAt` (`createSigningIntegration.response.201.key.updatedAt`; string, required)
    - format `date-time`; pattern `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
  - `lastUsedAt` (`createSigningIntegration.response.201.key.lastUsedAt`; string | null, required)
  - `createdBy` (`createSigningIntegration.response.201.key.createdBy`; string, required)
  - `revokedAt` (`createSigningIntegration.response.201.key.revokedAt`; any of, required)
    - any of: `string`, `null`
  - `version` (`createSigningIntegration.response.201.key.version`; integer, required)
    - max 9007199254740991
- `value` (`createSigningIntegration.response.201.value`; string, required)

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`createSigningIntegration.response.400.success`; boolean, required)
  - one of `false`
- `error` (`createSigningIntegration.response.400.error`; array<unknown>, required)
- `data` (`createSigningIntegration.response.400.data`; unknown, required)


Source: https://docs.cloudraker.com/workspace/api/signing-administration/create-signing-integration/index.md
