Skip to main content
POST
/
sourceSystem
/
{COMPANY_ID}
Add a source system
curl --request POST \
  --url https://api.timelockdata.com/api/v1/sourceSystem/{COMPANY_ID} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "permissions": "I",
  "apiKey": "<string>"
}
'
{
  "id": "<string>"
}
Source systems represent external integrations that connect to TimeLockData via API keys. Each source system has a permission level:
  • I (Insert) — Can create evidences and categories
  • U (Update) — Can create and update
  • R (Read) — Read-only access
  • A (Admin) — Full access

Path Parameters

COMPANY_ID
string
required

Company identifier

Body

application/json
name
string
required

Name of the source system

permissions
enum<string>
required

Permission level for the source system

Available options:
I,
U,
R,
A
apiKey
string

API key for the source system

Response

Source system created

id
string
required

ID of the newly created source system