1. Overview
This document describes the resources that make up our brand new Clinked API v3. If you have any problems or requests please contact Clinked support.
Documentation for API v2. |
Clinked has API endpoints for any feature available in the portal, some of which may not be documented yet. If you think there is something you need missing, please let us know by contacting Clinked support, and we will do our best to help. |
1.1. Schema
All API access is over HTTPS, and accessed from the https://api.clinked.com
. All data is sent and received in JSON format.
All timestamps are in milliseconds (UTC):
1518170699654
1.2. Rate limit
Maximum number of requests is 2000 from a single IP address in 5-minute period. This value is continually evaluated, and requests will be blocked once this limit is reached. The IP address is automatically unblocked after it falls below the limit.
2. Authentication
The client can authenticate using the user credentials or create an application and authenticate using client id and secret. It is recommended to use client id and secret.
See Applications |
2.1. Password authentication
Password grant allows you to authenticate using your user credentials.
GET /oauth/token?client_id=clinked-mobile&grant_type=password&password=Aez1Ahr8Ji&username=jack&code=12345 HTTP/1.1
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/oauth/token?client_id=clinked-mobile&grant_type=password&password=Aez1Ahr8Ji&username=jack&code=12345' -i -X GET \
-H 'Accept: application/json'
Parameter | Description |
---|---|
|
Client id. Always a static value for this grant type: |
|
Grant type |
|
Password |
|
Username |
|
Optional. Two-factor authentication code if required |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"access_token": "f3a5837f-7a28-4148-9352-336e0bca75a9",
"scope": "read write",
"token_type": "bearer"
}
2.2. Client ID and secret authentication
This method requires Client ID and Client Secret to authenticate.
Create an application using the Applications endpoints to obtain client id and secret. Use the password authentication method to get an access token. Created application will have "client_credentials" and "refresh_token". Refresh token is valid until used. |
GET /oauth/token?client_id=5ad29f13-82b8-4b68-89e6-c2f4c96d5d9d&client_secret=0eda391b-0a88-46d2-aaaf-905332c19e20&grant_type=client_credentials&scope=read+write HTTP/1.1
Accept: application/json
Host: api.clinked.com
$ curl 'https://api.clinked.com/oauth/token?client_id=5ad29f13-82b8-4b68-89e6-c2f4c96d5d9d&client_secret=0eda391b-0a88-46d2-aaaf-905332c19e20&grant_type=client_credentials&scope=read+write' -i -X GET \
-H 'Accept: application/json'
Parameter | Description |
---|---|
|
Client id |
|
Client secret |
|
Grant type |
|
Scope. Normally should be |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"access_token": "2466f2ee-0875-41a1-ad6c-8f81468f47e9",
"refresh_token": "e10560b0-9bdc-478e-a2dc-95009c419a40",
"token_type": "bearer",
"expires_in": 7199,
"scope": "read write"
}
2.3. User information
Returns information about the authenticated user.
GET /v3/userinfo HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/userinfo' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/userinfo' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 2179
{
"name" : "jack",
"principal" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"authorities" : [ "ROLE_USER" ],
"accounts" : [ {
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true,
"domain" : null,
"hash" : null,
"locale" : null,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000
},
"subscription" : {
"code" : "premium",
"trialExpires" : null,
"paused" : false
},
"permission" : 16,
"memberOfSpaces" : 0,
"adminInSpaces" : 0,
"features" : [ "watermarking", "storage-switch", "search", "audit", "chat", "kanban", "custom-domain", "dashboard-tasks", "custom-email" ],
"capabilities" : [ "AUDIT", "TASKS_STATUS_DELETE", "LABELS_CREATE", "TWO_FACTOR_AUTH", "DOMAIN", "ANNOUNCEMENTS", "CUSTOM_EMAIL_DELETE", "TASKS_STATUS_UPDATE", "ANNOUNCEMENTS_DELETE", "CUSTOM_EMAIL_UPDATE", "MEMBERS_CREATE", "REACHOUT", "TASKS", "LABELS_UPDATE", "GUESTS_UPDATE", "REACHOUT_CREATE", "ORGANISATION_UPDATE", "IFRAMES", "CUSTOM_EMAIL", "LABELS_DELETE", "DOMAIN_UPDATE", "BRANDING", "TASKS_STATUS_CREATE", "TRASH", "DOMAIN_DELETE", "STORAGE", "INVITES_UPDATE", "MEMBERS", "INVITES_DELETE", "SEARCH", "AUDIT_EXPORT", "SUBSCRIPTION", "GUESTS_DELETE", "MEMBERS_UPDATE", "SURVEY", "GUESTS", "SSO", "TRASH_MANAGE", "PASSWORD_STRENGTH", "PROFILE_FIELDS", "GROUP_CREATE", "INVITES_CREATE", "MEMBERS_EXPORT", "INVITES", "ANNOUNCEMENTS_CREATE", "DEVICES", "MEMBERS_DELETE" ],
"mailDomain" : "localhost",
"metadata" : {
"PropertyName" : "PropertyValue"
}
} ]
}
Path | Type | Description |
---|---|---|
|
|
Username |
|
|
Set of user authorities |
|
|
Set of user organisations |
|
|
Organisation domain |
|
|
Hash code |
|
|
Organisation locale |
|
|
Date created |
|
|
Date last modified |
|
|
Subscription details |
|
|
Subscription code |
|
|
If null then not trial account |
|
|
Subscription is paused |
|
|
Permission |
|
|
Member of groups count |
|
|
Admin of groups count |
|
|
Set of available features |
|
|
Mail domain |
|
|
Additional metadata |
|
|
Set of capabilities in account |
|
|
Additional metadata property |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
3. Applications
Use applications to access API endpoints using client credentials. Avoid sharing your personal credentials.
3.1. Create new application
POST /v3/applications HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 264
{
"name": "Awesome Application",
"description": "The best application you can find",
"platform": "OTHER",
"deviceType": "Other",
"deviceModel": "Unknown",
"deviceOs": "Linux",
"appVersion": "1.0",
"bundleId": "com.clinked.awesome"
}
$ echo '{
"name": "Awesome Application",
"description": "The best application you can find",
"platform": "OTHER",
"deviceType": "Other",
"deviceModel": "Unknown",
"deviceOs": "Linux",
"appVersion": "1.0",
"bundleId": "com.clinked.awesome"
}' | http POST 'https://api.clinked.com/v3/applications' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/applications' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"name": "Awesome Application",
"description": "The best application you can find",
"platform": "OTHER",
"deviceType": "Other",
"deviceModel": "Unknown",
"deviceOs": "Linux",
"appVersion": "1.0",
"bundleId": "com.clinked.awesome"
}'
Path | Type | Description |
---|---|---|
|
|
Device type: [Phone, Tablet, Watch, Browser, Other] |
|
|
Version |
|
|
Name |
|
|
Bundle/package name |
|
|
Description |
|
|
Device model name |
|
|
Device platform: [IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER] |
|
|
Device operating system name |
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 572
{
"clientId" : "Ycm5e1wHdqLno3L0dQD58V1vQ1BbhtHW",
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Awesome Application",
"description" : "The best application you can find",
"platform" : "OTHER",
"deviceType" : "Other",
"deviceModel" : "Unknown",
"deviceOs" : "Linux",
"appVersion" : "1.0",
"bundleId" : "com.clinked.awesome",
"lastActivity" : null,
"ip" : null,
"clientSecret" : "FDQxRt85CByfAUh134VvVlBvX0NHeVfn"
}
Path | Type | Description |
---|---|---|
|
|
Client ID |
|
|
Base user who created the app |
|
|
Application name |
|
|
Application description |
|
|
Platform - IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER |
|
|
Device Type - Phone, Tablet, Watch, Browser, Other |
|
|
Device model |
|
|
Device OS |
|
|
Application version |
|
|
Bundle ID |
|
|
Date last active |
|
|
IP address |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Client secret |
3.2. List applications
GET /v3/applications HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/applications' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/applications' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 541
[ {
"clientId" : "18336c26-0a3a-40bb-a6ab-5b3c53781478",
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "My Awesome App!",
"description" : "This is my awesome test app",
"platform" : "OTHER",
"deviceType" : "Phone",
"deviceModel" : "Google Pixel XL",
"deviceOs" : "ANDROID",
"appVersion" : "1.0",
"bundleId" : "com.clinked.awesome",
"lastActivity" : 1514764800000,
"ip" : "127.0.0.1"
} ]
Path | Type | Description |
---|---|---|
|
|
Client ID |
|
|
Base user who created the app |
|
|
Application name |
|
|
Application description |
|
|
Platform - IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER |
|
|
Device Type - Phone, Tablet, Watch, Browser, Other |
|
|
Device model |
|
|
Device OS |
|
|
Application version |
|
|
Bundle ID |
|
|
Date last active |
|
|
IP address |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
3.3. Return application details
Parameter | Description |
---|---|
|
Application client id |
GET /v3/applications/b4c65018-19d0-4ca3-8104-26dda29a4a47 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/applications/b4c65018-19d0-4ca3-8104-26dda29a4a47' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/applications/b4c65018-19d0-4ca3-8104-26dda29a4a47' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 537
{
"clientId" : "b4c65018-19d0-4ca3-8104-26dda29a4a47",
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "My Awesome App!",
"description" : "This is my awesome test app",
"platform" : "OTHER",
"deviceType" : "Phone",
"deviceModel" : "Google Pixel XL",
"deviceOs" : "ANDROID",
"appVersion" : "1.0",
"bundleId" : "com.clinked.awesome",
"lastActivity" : 1514764800000,
"ip" : "127.0.0.1"
}
Path | Type | Description |
---|---|---|
|
|
Unique client id |
|
|
Device type: [Phone, Tablet, Watch, Browser, Other] |
|
|
Version |
|
|
Name |
|
|
Bundle/package name |
|
|
Description |
|
|
Device model name |
|
|
Application owner user |
|
|
Device platform: [IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER] |
|
|
Device operating system name |
|
|
IP address from which an application was created |
|
|
Application last activity timestamp |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
3.4. Update application
Parameter | Description |
---|---|
|
Application client id |
PATCH /v3/applications/104d153c-9e80-45f2-8378-6ef90f859802 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 262
{
"name": "Updated name",
"description": "Updated description",
"platform": "ANDROID",
"deviceType": "Phone",
"deviceModel": "Google Pixel 2",
"deviceOs": "Android",
"appVersion": "1.3.3.7",
"bundleId": "com.clinked.awesome.upd"
}
$ echo '{
"name": "Updated name",
"description": "Updated description",
"platform": "ANDROID",
"deviceType": "Phone",
"deviceModel": "Google Pixel 2",
"deviceOs": "Android",
"appVersion": "1.3.3.7",
"bundleId": "com.clinked.awesome.upd"
}' | http PATCH 'https://api.clinked.com/v3/applications/104d153c-9e80-45f2-8378-6ef90f859802' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/applications/104d153c-9e80-45f2-8378-6ef90f859802' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"name": "Updated name",
"description": "Updated description",
"platform": "ANDROID",
"deviceType": "Phone",
"deviceModel": "Google Pixel 2",
"deviceOs": "Android",
"appVersion": "1.3.3.7",
"bundleId": "com.clinked.awesome.upd"
}'
Path | Type | Description |
---|---|---|
|
|
Device type: [Phone, Tablet, Watch, Browser, Other] |
|
|
Version |
|
|
Name |
|
|
Bundle/package name |
|
|
Description |
|
|
Device model name |
|
|
Device platform: [IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER] |
|
|
Device operating system name |
|
|
Should rotate client secret |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 535
{
"clientId" : "104d153c-9e80-45f2-8378-6ef90f859802",
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Updated name",
"description" : "Updated description",
"platform" : "ANDROID",
"deviceType" : "Phone",
"deviceModel" : "Google Pixel 2",
"deviceOs" : "Android",
"appVersion" : "1.3.3.7",
"bundleId" : "com.clinked.awesome.upd",
"lastActivity" : 1514764800000,
"ip" : "127.0.0.1"
}
Path | Type | Description |
---|---|---|
|
|
Client ID |
|
|
Base user who created the app |
|
|
Application name |
|
|
Application description |
|
|
Platform - IOS, ANDROID, SYNC, LINUX, WINDOWS, OTHER |
|
|
Device Type - Phone, Tablet, Watch, Browser, Other |
|
|
Device model |
|
|
Device OS |
|
|
Application version |
|
|
Bundle ID |
|
|
Date last active |
|
|
IP address |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Only included if secret rotated |
3.5. Delete application
Make sure the client credentials are not in use. After deleting the application the credentials will no longer work. |
Parameter | Description |
---|---|
|
Application client id |
DELETE /v3/applications/64743032-78cb-44eb-b546-a1522a3c49e4 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/applications/64743032-78cb-44eb-b546-a1522a3c49e4' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/applications/64743032-78cb-44eb-b546-a1522a3c49e4' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
4. Accounts
User can be a member of one or more accounts where each account has its own configuration, subscription and is a container for groups.
4.1. List accounts
GET /v3/accounts?enabledOnly=false HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts?enabledOnly=false' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts?enabledOnly=false' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Return only enabled accounts |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 229
[ {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true,
"domain" : null,
"hash" : null,
"locale" : null,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000
} ]
Path | Type | Description |
---|---|---|
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
Account domain |
|
|
Account hash value |
|
|
Account locale |
|
|
Date created |
|
|
Last modified |
4.2. Get account details
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 225
{
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true,
"domain" : null,
"hash" : null,
"locale" : null,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000
}
Path | Type | Description |
---|---|---|
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
Account domain |
|
|
Account hash value |
|
|
Account locale |
|
|
Date created |
|
|
Last modified |
4.3. Update account
Use this endpoint to update account name and subdomain (name).
Parameter | Description |
---|---|
|
Account id |
PATCH /v3/accounts/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 71
{"friendlyName":"New friendly name","name":"new_name","locale":"en_GB"}
$ echo '{"friendlyName":"New friendly name","name":"new_name","locale":"en_GB"}' | http PATCH 'https://api.clinked.com/v3/accounts/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"friendlyName":"New friendly name","name":"new_name","locale":"en_GB"}'
Path | Type | Description |
---|---|---|
|
|
Friendly name |
|
|
Name |
|
|
Locale |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 222
{
"id" : 1,
"name" : "new_name",
"friendlyName" : "New friendly name",
"enabled" : true,
"domain" : null,
"hash" : null,
"locale" : "en_GB",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000
}
Path | Type | Description |
---|---|---|
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
Account domain |
|
|
Account hash value |
|
|
Account locale |
|
|
Date created |
|
|
Last modified |
4.4. Subscription
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/subscription HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/subscription' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/subscription' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 920
{
"accountPackage" : {
"code" : "premium",
"trialExpires" : 1731310275168,
"paused" : false,
"planDetails" : {
"interval" : 1,
"currency" : "EUR"
},
"members" : 100,
"storage" : 9000000000,
"emailQuota" : 1000,
"suspended" : false,
"pausedBillingCycles" : null,
"datePausedAt" : null
},
"plan" : "Premium",
"storageUsed" : 0,
"membersUsed" : 0,
"billingDetails" : {
"firstName" : "John",
"lastName" : "Doe",
"email" : "john@example.com",
"address1" : "Privet Drive",
"address2" : "4",
"city" : "Little Whinging",
"state" : "Surrey",
"zip" : "ZIP-0876",
"country" : "Great Britain",
"card" : {
"number" : "5555 5555 5555 4444",
"type" : "MasterCard",
"lastFour" : "4444",
"verificationValue" : "000",
"expirationMonth" : 1,
"expirationYear" : 27
}
},
"emailsUsed" : 0
}
Path | Type | Description |
---|---|---|
|
|
Package code |
|
|
Plan details |
|
|
Interval between payments |
|
|
Currency |
|
|
How many members can be invited |
|
|
Allowed storage in bytes |
|
|
Allowed daily e-mail quota |
|
|
Is account suspended |
|
|
Date trial expires. NULL if not a trial account |
|
|
Subscription is paused |
|
|
Number of billing cycles the subscription is paused |
|
|
Date the subscription is or will be paused |
|
|
First name |
|
|
Last name |
|
|
|
|
|
Address |
|
|
Address |
|
|
City |
|
|
State |
|
|
Zip code |
|
|
Country |
|
|
Card details |
|
|
Card number |
|
|
Card type |
|
|
Last four digits |
|
|
Card verification number |
|
|
Card expiration month |
|
|
Card expiration year |
|
|
Package plan |
|
|
Allowed storage in bytes |
|
|
How many members can be invited |
|
|
How many e-mails have been sent |
4.5. Components
Lists available components in account. Different subscriptions have different lists of available components.
Parameter | Description |
---|---|
|
Account Id |
GET /v3/accounts/1/components HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/components' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/components' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 144
[ {
"name" : "files",
"beta" : false,
"title" : "Files",
"description" : "Share and track versions of files",
"iconName" : "files"
} ]
Path | Type | Description |
---|---|---|
|
|
Component name |
|
|
If is beta |
|
|
Component title |
|
|
Component description |
|
|
Component icon name |
4.6. Members
4.6.1. Create a member
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/members HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 251
{
"name": "John",
"email": "john@blah.com",
"username": "john",
"phone": "123456",
"password": "Passy123!",
"permission": 1,
"enabled": true,
"assignGroups": {
"1": 1
},
"tags": ["hello", "world"]
, "realName":"JackBauer"}
$ echo '{
"name": "John",
"email": "john@blah.com",
"username": "john",
"phone": "123456",
"password": "Passy123!",
"permission": 1,
"enabled": true,
"assignGroups": {
"1": 1
},
"tags": ["hello", "world"]
, "realName":"JackBauer"}' | http POST 'https://api.clinked.com/v3/accounts/1/members' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/members' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"name": "John",
"email": "john@blah.com",
"username": "john",
"phone": "123456",
"password": "Passy123!",
"permission": 1,
"enabled": true,
"assignGroups": {
"1": 1
},
"tags": ["hello", "world"]
, "realName":"JackBauer"}'
Path | Type | Description |
---|---|---|
|
|
Full name |
|
|
Unique username |
|
|
Email address |
|
|
Phone number |
|
|
Password |
|
|
User will be assigned to all new groups with provided permission |
|
|
Account permission mask |
|
|
Is user enabled |
|
|
Map of group IDs to be assigned to members along with their group membership permission |
|
|
List of tags |
|
|
Real name for internal use only |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 697
{
"user" : {
"id" : 1,
"username" : "john",
"enabled" : true,
"locked" : false,
"name" : "John",
"jobTitle" : null,
"organisation" : null,
"email" : "john@blah.com",
"address" : null,
"telephone" : "123456",
"other" : null,
"logo" : false,
"timeZone" : null,
"locale" : null,
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1731310263341,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null,
"realName" : "JackBauer"
},
"permission" : 1,
"dateCreated" : 1731310263341,
"memberOfMultipleAccounts" : false,
"tags" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
Base user dto |
|
|
Permissions |
|
|
Assign the user to all new groups with provided permission |
|
|
Groups not assigned to member when assignToNewGroupsPermission is set to true |
|
|
True when user is being assigned to groups through assignToNewGroupsPermission |
|
|
Date member was created |
|
|
User is member of multiple accounts |
|
|
List of tags |
|
|
Member is pending automatic unlock |
|
|
Activation e-mail is pending - now or custom |
|
|
Date when activation e-mail will be sent |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Real Name |
4.6.2. List members
Returns paginated list with account members.
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/members?name=user1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/members?name=user1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/members?name=user1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number to load |
|
Page size |
|
Order field |
|
Ascending order direction |
|
Find member by name / email |
|
Find member where name / email starts with |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 895
{
"items" : [ {
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null,
"realName" : "Jack Bauer"
},
"permission" : 16,
"dateCreated" : 1731310263161
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 20,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Reachout entries |
|
|
Next page exists |
|
|
Total amount of available pages |
|
|
Previous page exists |
|
|
Total amount of entries |
|
|
Base user dto |
|
|
Permissions |
|
|
Assign the user to all new groups with provided permission |
|
|
Groups not assigned to member when assignToNewGroupsPermission is set to true |
|
|
True when user is being assigned to groups through assignToNewGroupsPermission |
|
|
Date member was created |
|
|
User is member of multiple accounts |
|
|
List of tags |
|
|
Member is pending automatic unlock |
|
|
Activation e-mail is pending - now or custom |
|
|
Date when activation e-mail will be sent |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Real Name |
4.6.3. Get member details
Parameter | Description |
---|---|
|
Account id |
|
Username |
GET /v3/accounts/1/members/user1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/members/user1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/members/user1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 772
{
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : false,
"locked" : true,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null,
"realName" : "Jack Bauer"
},
"permission" : 16,
"dateCreated" : 1731310262981,
"memberOfMultipleAccounts" : false,
"tags" : [ ],
"pendingUnlock" : false
}
Path | Type | Description |
---|---|---|
|
|
Base user dto |
|
|
Permissions |
|
|
Assign the user to all new groups with provided permission |
|
|
Groups not assigned to member when assignToNewGroupsPermission is set to true |
|
|
True when user is being assigned to groups through assignToNewGroupsPermission |
|
|
Date member was created |
|
|
User is member of multiple accounts |
|
|
List of tags |
|
|
Member is pending automatic unlock |
|
|
Activation e-mail is pending - now or custom |
|
|
Date when activation e-mail will be sent |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Real Name |
4.6.4. Update member
Parameter | Description |
---|---|
|
Account id |
|
Username id |
PATCH /v3/accounts/1/members/john HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 33
{
"tags": ["apple", "potato"]
}
$ echo '{
"tags": ["apple", "potato"]
}' | http PATCH 'https://api.clinked.com/v3/accounts/1/members/john' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/members/john' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"tags": ["apple", "potato"]
}'
Path | Type | Description |
---|---|---|
|
|
Set of tags |
|
|
Password |
|
|
Permission |
|
|
Is member enabled |
|
|
Is member locked |
|
|
Should disable member 2FA |
|
|
Send notifications about assignments |
|
|
Activation |
|
|
Activation message |
|
|
Activation date |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 745
{
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null,
"realName" : "Jack Bauer"
},
"permission" : 16,
"dateCreated" : 1731310263093,
"memberOfMultipleAccounts" : false,
"tags" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
Base user dto |
|
|
Permissions |
|
|
Assign the user to all new groups with provided permission |
|
|
Groups not assigned to member when assignToNewGroupsPermission is set to true |
|
|
True when user is being assigned to groups through assignToNewGroupsPermission |
|
|
Date member was created |
|
|
User is member of multiple accounts |
|
|
List of tags |
|
|
Member is pending automatic unlock |
|
|
Activation e-mail is pending - now or custom |
|
|
Date when activation e-mail will be sent |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Real Name |
4.6.5. Update member groups
Parameter | Description |
---|---|
|
Account id |
|
Username id |
PATCH /v3/accounts/1/members/john HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 97
{
"assignGroups": {
"1": 1
},
"removeGroups": [123],
"assignmentNotification": true
}
$ echo '{
"assignGroups": {
"1": 1
},
"removeGroups": [123],
"assignmentNotification": true
}' | http PATCH 'https://api.clinked.com/v3/accounts/1/members/john' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/members/john' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"assignGroups": {
"1": 1
},
"removeGroups": [123],
"assignmentNotification": true
}'
Path | Type | Description |
---|---|---|
|
|
Group id permission map. Key is group id. Value is 1 - basic, 4 - group creator, 8 - member manager, 16 - administrator |
|
|
Group ids to remove |
|
|
Send notifications about assignments |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 745
{
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null,
"realName" : "Jack Bauer"
},
"permission" : 16,
"dateCreated" : 1731310263251,
"memberOfMultipleAccounts" : false,
"tags" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
Base user dto |
|
|
Permissions |
|
|
Assign the user to all new groups with provided permission |
|
|
Groups not assigned to member when assignToNewGroupsPermission is set to true |
|
|
True when user is being assigned to groups through assignToNewGroupsPermission |
|
|
Date member was created |
|
|
User is member of multiple accounts |
|
|
List of tags |
|
|
Member is pending automatic unlock |
|
|
Activation e-mail is pending - now or custom |
|
|
Date when activation e-mail will be sent |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Real Name |
4.6.6. Delete member
Parameter | Description |
---|---|
|
Account id |
|
Username id |
DELETE /v3/accounts/1/members/john HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/members/john' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/members/john' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
4.7. Member tags
4.7.1. List member tags
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/member-tags HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/member-tags' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/member-tags' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 11
[ "label" ]
Path | Type | Description |
---|---|---|
|
|
A list of tags |
4.7.2. Tag summary
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/member-tags?summary=true HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/member-tags?summary=true' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/member-tags?summary=true' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Must be defined to get retrieve tag summary |
|
Order field |
|
Ascending order direction |
|
Find note by name |
|
Find note by name |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 44
[ {
"name" : "Elite",
"members" : 10
} ]
Path | Type | Description |
---|---|---|
|
|
Tag name |
|
|
Member count |
4.7.3. Tag members
Parameter | Description |
---|---|
|
Account id |
|
List of tag names |
GET /v3/accounts/1/member-tags/fakeTag HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/member-tags/fakeTag' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/member-tags/fakeTag' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 178
{
"fakeTag" : [ {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
} ]
}
Path | Type | Description |
---|---|---|
|
|
Tag name |
|
|
User id |
|
|
User name |
|
|
User username |
|
|
User has logo defined |
|
|
User job title |
|
|
User last modified timestamp |
4.8. Invites
4.8.1. Create invite
Parameter | Description |
---|---|
|
Account ID |
POST /v3/accounts/1/invites HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 149
{
"emails": ["invite@me.com", "invite2@me.com"],
"message": "hello",
"permission": 1,
"assignGroups": {
"1": 1
},
"reminder": true
}
$ echo '{
"emails": ["invite@me.com", "invite2@me.com"],
"message": "hello",
"permission": 1,
"assignGroups": {
"1": 1
},
"reminder": true
}' | http POST 'https://api.clinked.com/v3/accounts/1/invites' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/invites' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"emails": ["invite@me.com", "invite2@me.com"],
"message": "hello",
"permission": 1,
"assignGroups": {
"1": 1
},
"reminder": true
}'
Path | Type | Description |
---|---|---|
|
|
List of email addresses to send invite to |
|
|
Message that is sent to user when adding the invite |
|
|
Account permission mask |
|
|
List of group IDs to be removed from the user group memberships |
|
|
Map of group IDs to be assigned to members along with their group membership permission |
|
|
Trigger reminder when invite not accepted |
HTTP/1.1 202 Accepted
4.8.2. List invites
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/invites?name=invite HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/invites?name=invite' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/invites?name=invite' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number to load |
|
Page size |
|
Order field |
|
Ascending order direction |
|
Find guest by name / email |
|
Find guest where name / email starts with |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1105
{
"items" : [ {
"request" : {
"id" : 1,
"contextKey" : {
"id" : 538
},
"source" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"target" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"container" : {
"id" : 1,
"contextKey" : {
"id" : 538
},
"type" : "account"
},
"sourceName" : "jack.bauer@clinked.com",
"targetName" : "jack.bauer@clinked.com",
"type" : "ACCEPT_DECLINE",
"status" : "NONE",
"scope" : null,
"parameters" : null,
"lastModified" : null,
"account" : null
},
"permission" : 1,
"groups" : null,
"inviteKey" : null
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 10,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Reachout entries |
|
|
Next page exists |
|
|
Total amount of available pages |
|
|
Previous page exists |
|
|
Total amount of entries |
|
|
Permission mask in account |
|
|
Assigned groups |
|
|
Base Group DTO |
|
|
Permission mask in group |
|
|
Request DTO |
|
|
Request id |
|
|
Account context key |
|
|
Source user e-mail address |
|
|
Base source user DTO |
|
|
Base target user DTO |
|
|
Target user e-mail address |
|
|
Container contextual entity DTO |
|
|
Request type |
|
|
Request status |
|
|
Optional additional details |
|
|
Optional scope |
|
|
Date the request was last modified |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
4.8.3. Get invite details
Parameter | Description |
---|---|
|
Account id |
|
Invite id |
GET /v3/accounts/1/invites/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/invites/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/invites/1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 2869
{
"request" : {
"id" : 1,
"contextKey" : {
"id" : 89
},
"source" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"target" : null,
"container" : {
"id" : 1,
"contextKey" : {
"id" : 89
},
"type" : "account"
},
"sourceName" : "jack.bauer@clinked.com",
"targetName" : "invitee@example.com",
"type" : "ACCEPT_DECLINE",
"status" : "NONE",
"scope" : null,
"parameters" : "{\"mask\":1,\"groups\":{\"1\":1},\"extras\":{}}",
"lastModified" : null,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
}
},
"permission" : 1,
"groups" : [ {
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false,
"contextKey" : {
"id" : 494
},
"members" : 0,
"storageConsumed" : 0,
"blind" : false,
"disableChat" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"mailKey" : null,
"hash" : null,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
},
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"integrations" : null,
"master" : null,
"masterConfigured" : false,
"masterConfiguration" : null,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null,
"transparentWatermark" : null
}
},
"permission" : 1
} ],
"inviteKey" : "ea4dae46-1adf-4ef9-96ec-26b1d38ebe22"
}
Path | Type | Description |
---|---|---|
|
|
Permission mask in account |
|
|
Assigned groups |
|
|
Base Group DTO |
|
|
Permission mask in group |
|
|
Request DTO |
|
|
Request id |
|
|
Account context key |
|
|
Source user e-mail address |
|
|
Base source user DTO |
|
|
Base target user DTO |
|
|
Target user e-mail address |
|
|
Container contextual entity DTO |
|
|
Request type |
|
|
Request status |
|
|
Optional additional details |
|
|
Optional scope |
|
|
Date the request was last modified |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Request |
|
|
Request context key |
|
|
Request context key id |
|
|
Request container |
|
|
Request container id |
|
|
Request container context key |
|
|
Request container context key id |
|
|
Request container type |
|
|
Request account |
|
|
Request account id |
|
|
Request account name |
|
|
Request account friendly name |
|
|
Is request account enabled |
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
Group permission |
|
|
Invite key |
4.8.4. Update invite
Parameter | Description |
---|---|
|
Account ID |
|
Invite ID |
PATCH /v3/accounts/1/invites/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 57
{
"permission": 4,
"assignGroups": {
"1": 4
}
}
$ echo '{
"permission": 4,
"assignGroups": {
"1": 4
}
}' | http PATCH 'https://api.clinked.com/v3/accounts/1/invites/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/invites/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"permission": 4,
"assignGroups": {
"1": 4
}
}'
Path | Type | Description |
---|---|---|
|
|
Account permission |
|
|
Message to include in invitation |
|
|
Map of group id and permission {"1": 1} |
|
|
Resend invitation |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 2906
{
"request" : {
"id" : 1,
"contextKey" : {
"id" : 586
},
"source" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"target" : null,
"container" : {
"id" : 1,
"contextKey" : {
"id" : 586
},
"type" : "account"
},
"sourceName" : "jack.bauer@clinked.com",
"targetName" : "invitee@example.com",
"type" : "ACCEPT_DECLINE",
"status" : "NONE",
"scope" : null,
"parameters" : "{\"mask\":4,\"rights\":null,\"groups\":{\"1\":4},\"groupRights\":{},\"extras\":{}}",
"lastModified" : null,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
}
},
"permission" : 4,
"groups" : [ {
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false,
"contextKey" : {
"id" : 569
},
"members" : 0,
"storageConsumed" : 0,
"blind" : false,
"disableChat" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"mailKey" : null,
"hash" : null,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
},
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"integrations" : null,
"master" : null,
"masterConfigured" : false,
"masterConfiguration" : null,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null,
"transparentWatermark" : null
}
},
"permission" : 4
} ],
"inviteKey" : "ea4dae46-1adf-4ef9-96ec-26b1d38ebe22"
}
Path | Type | Description |
---|---|---|
|
|
Permission mask in account |
|
|
Assigned groups |
|
|
Base Group DTO |
|
|
Permission mask in group |
|
|
Request DTO |
|
|
Request id |
|
|
Account context key |
|
|
Source user e-mail address |
|
|
Base source user DTO |
|
|
Base target user DTO |
|
|
Target user e-mail address |
|
|
Container contextual entity DTO |
|
|
Request type |
|
|
Request status |
|
|
Optional additional details |
|
|
Optional scope |
|
|
Date the request was last modified |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Request |
|
|
Request context key |
|
|
Request context key id |
|
|
Request container |
|
|
Request container id |
|
|
Request container context key |
|
|
Request container context key id |
|
|
Request container type |
|
|
Request account |
|
|
Request account id |
|
|
Request account name |
|
|
Request account friendly name |
|
|
Is request account enabled |
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
Group permission |
|
|
Invite key |
4.8.5. Delete invite
Parameter | Description |
---|---|
|
Account id |
|
Invite id |
DELETE /v3/accounts/1/invites/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/invites/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/invites/1' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
4.9. Guests
Guests are individuals who you share content with and don’t need access to your full portal through a set of login credentials.
For more information about the feature itself, see our Help Center page. |
4.9.1. List guests
Returns paginated list of account guests.
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/guests?name=guest HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/guests?name=guest' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/guests?name=guest' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number to load |
|
Page size |
|
Order field |
|
Ascending order direction |
|
Find guest by name / email |
|
Find guest where name / email starts with |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 316
{
"items" : [ {
"id" : 1,
"name" : "Guest",
"email" : "guest@guest.com",
"dateCreated" : 1731310269633,
"passwordEnabled" : false,
"hasPassword" : false
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 10,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Reachout entries |
|
|
Next page exists |
|
|
Total amount of available pages |
|
|
Previous page exists |
|
|
Total amount of entries |
|
|
Guest id |
|
|
Guest name |
|
|
Guest e-mail |
|
|
Guest has password or not |
|
|
Indicates that the guest has password |
|
|
Date the guest was created |
|
|
Shares tokens assigned to this guest |
4.9.2. Get guest details
Parameter | Description |
---|---|
|
Account id |
|
Guest id |
GET /v3/accounts/1/guests/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/guests/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/guests/1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 170
{
"id" : 1,
"name" : "Guest",
"email" : "guest@guest.com",
"dateCreated" : 1731310269608,
"passwordEnabled" : false,
"hasPassword" : false,
"shares" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
Guest id |
|
|
Guest name |
|
|
Guest e-mail |
|
|
Guest has password or not |
|
|
Indicates that the guest has password |
|
|
Date the guest was created |
|
|
Shares tokens assigned to this guest |
4.9.3. Update guest
Parameter | Description |
---|---|
|
Account id |
|
Guest id |
PATCH /v3/accounts/1/guests/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 49
{
"name": "John",
"email": "john@guest.com"
}
$ echo '{
"name": "John",
"email": "john@guest.com"
}' | http PATCH 'https://api.clinked.com/v3/accounts/1/guests/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/guests/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"name": "John",
"email": "john@guest.com"
}'
Path | Type | Description |
---|---|---|
|
|
Name |
|
|
Email address |
|
|
Is password required |
|
|
Password |
|
|
Send reset password instructions to email |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 168
{
"id" : 1,
"name" : "John",
"email" : "john@guest.com",
"dateCreated" : 1731310269651,
"passwordEnabled" : false,
"hasPassword" : false,
"shares" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
Guest id |
|
|
Guest name |
|
|
Guest e-mail |
|
|
Guest has password or not |
|
|
Indicates that the guest has password |
|
|
Date the guest was created |
|
|
Shares tokens assigned to this guest |
4.9.4. Delete guest
Parameter | Description |
---|---|
|
Account id |
|
Guest id |
DELETE /v3/accounts/1/guests/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/guests/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/guests/1' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
4.10. Branding
For more information about the feature itself, see our Help Center page. |
4.10.1. Get account branding
Parameter | Description |
---|---|
|
Account Id |
GET /v3/accounts/1/branding HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/branding' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/branding' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 430
{
"logo" : true,
"mediumLogo" : true,
"largeLogo" : true,
"icon" : false,
"background" : false,
"darkMenu" : false,
"navbarColor" : "#ffffff",
"navbarText" : "#8692ac",
"sidebarColor" : "#8692ac",
"sidebarText" : "#8692ac",
"primaryColor" : "#2e9dff",
"primaryText" : "#ffffff",
"secondaryColor" : "#80c568",
"secondaryText" : "#ffffff",
"lastModified" : 1684740519078,
"fontFamily" : "Open Sans"
}
Path | Type | Description |
---|---|---|
|
|
If has custom logo |
|
|
If has medium logo |
|
|
If has large logo |
|
|
If has custom background |
|
|
If has custom favicon |
|
|
If has dark menu |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Date last modified |
|
|
Selected font family |
4.10.2. Create or update account branding
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/branding HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 285
{"navbarColor":"#ffffff","navbarText":"#8692ac","sidebarColor":"#8692ac","sidebarText":"#8692ac","primaryColor":"#2e9dff","secondaryColor":"#80c568","darkMenu":false,"logo":true,"icon":false,"background":false,"primaryText":"#ffffff","secondaryText":"#ffffff","fontFamily":"Open Sans"}
$ echo '{"navbarColor":"#ffffff","navbarText":"#8692ac","sidebarColor":"#8692ac","sidebarText":"#8692ac","primaryColor":"#2e9dff","secondaryColor":"#80c568","darkMenu":false,"logo":true,"icon":false,"background":false,"primaryText":"#ffffff","secondaryText":"#ffffff","fontFamily":"Open Sans"}' | http POST 'https://api.clinked.com/v3/accounts/1/branding' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/branding' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"navbarColor":"#ffffff","navbarText":"#8692ac","sidebarColor":"#8692ac","sidebarText":"#8692ac","primaryColor":"#2e9dff","secondaryColor":"#80c568","darkMenu":false,"logo":true,"icon":false,"background":false,"primaryText":"#ffffff","secondaryText":"#ffffff","fontFamily":"Open Sans"}'
Path | Type | Description |
---|---|---|
|
|
If has custom logo |
|
|
If has custom background |
|
|
If has custom favicon |
|
|
If has dark menu |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Selected font family |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 430
{
"logo" : true,
"mediumLogo" : true,
"largeLogo" : true,
"icon" : false,
"background" : false,
"darkMenu" : false,
"navbarColor" : "#ffffff",
"navbarText" : "#8692ac",
"sidebarColor" : "#8692ac",
"sidebarText" : "#8692ac",
"primaryColor" : "#2e9dff",
"primaryText" : "#ffffff",
"secondaryColor" : "#80c568",
"secondaryText" : "#ffffff",
"lastModified" : 1684740519078,
"fontFamily" : "Open Sans"
}
Path | Type | Description |
---|---|---|
|
|
If has custom logo |
|
|
If has medium logo |
|
|
If has large logo |
|
|
If has custom background |
|
|
If has custom favicon |
|
|
If has dark menu |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Hex color code |
|
|
Date last modified |
|
|
Selected font family |
4.10.3. Delete custom branding
Sets branding to default values.
Parameter | Description |
---|---|
|
Account id |
DELETE /v3/accounts/1/branding HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/branding' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/branding' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
4.11. Properties
4.11.1. List account properties
Parameter | Description |
---|---|
|
Account ID |
GET /v3/accounts/1/properties?startsWith=test HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/properties?startsWith=test' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/properties?startsWith=test' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Property prefix |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 46
[ {
"name" : "name",
"value" : "value"
} ]
Path | Type | Description |
---|---|---|
|
|
Property name |
|
|
Property value |
4.11.2. Create account property
Parameter | Description |
---|---|
|
Account ID |
POST /v3/accounts/1/properties HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 38
{
"name": "test",
"value": "123"
}
$ echo '{
"name": "test",
"value": "123"
}' | http POST 'https://api.clinked.com/v3/accounts/1/properties' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/properties' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"name": "test",
"value": "123"
}'
Path | Type | Description |
---|---|---|
|
|
Property name |
|
|
Property value |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 40
{
"name" : "test",
"value" : "123"
}
Path | Type | Description |
---|---|---|
|
|
Property name |
|
|
Property value |
4.11.3. Delete account property
Parameter | Description |
---|---|
|
Account ID |
|
Property name |
DELETE /v3/accounts/1/properties/test HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/properties/test' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/properties/test' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
4.12. Announcements
For more information about the feature itself, see our Help Center page. |
4.12.1. List announcements
Returns account announcements
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/announcements HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/announcements' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/announcements' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 114
[ {
"title" : "title",
"body" : "body",
"colour" : "success",
"propagate" : false,
"inherit" : false
} ]
Path | Type | Description |
---|---|---|
|
|
Announcement id |
|
|
Announcement title |
|
|
Announcement body |
|
|
Announcement colour |
|
|
Propagate the announcement as the default value |
|
|
The announcement is inherited from account level |
4.12.2. Get announcement
Returns single announcement details
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/announcements?id=xyz HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/announcements?id=xyz' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/announcements?id=xyz' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Specific announcement by the ID (same as dashboard widget id) |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 110
{
"title" : "title",
"body" : "body",
"colour" : "success",
"propagate" : false,
"inherit" : false
}
Path | Type | Description |
---|---|---|
|
|
Announcement id |
|
|
Announcement title |
|
|
Announcement body |
|
|
Announcement colour |
|
|
Propagate the announcement as the default value |
|
|
The announcement is inherited from account level |
4.12.3. Create announcement
Create new announcement
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/announcements HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 66
{"id": "test","title": "title","body": "body","colour": "success"}
$ echo '{"id": "test","title": "title","body": "body","colour": "success"}' | http POST 'https://api.clinked.com/v3/accounts/1/announcements' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/announcements' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"id": "test","title": "title","body": "body","colour": "success"}'
Parameter | Description |
---|---|
|
Specific announcement by the ID (same as dashboard widget id) |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 127
{
"id" : "test",
"title" : "title",
"body" : "body",
"colour" : "success",
"propagate" : false,
"inherit" : false
}
Path | Type | Description |
---|---|---|
|
|
Announcement id |
|
|
Announcement title |
|
|
Announcement body |
|
|
Announcement colour |
|
|
Propagate the announcement as the default value |
|
|
The announcement is inherited from account level |
Same fields for return values
4.12.4. Delete announcement
Deletes announcements
Parameter | Description |
---|---|
|
Account id |
|
Announcement id |
DELETE /v3/accounts/1/announcements HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/announcements' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/announcements' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
If announcement id is not provided main announcement will be deleted
HTTP/1.1 200 OK
4.13. Devices
For more information about the feature itself, see our Help Center page. |
4.13.1. List devices
Returns all devices used by the account members
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/devices?name=my-device&orderBy=dateCreated HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/devices?name=my-device&orderBy=dateCreated' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/devices?name=my-device&orderBy=dateCreated' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Device name |
|
Value to order by |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 514
[ {
"clientId" : "my-device",
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "My Awesome App!",
"description" : "This is my awesome test app",
"platform" : "OTHER",
"deviceType" : "Phone",
"deviceModel" : "Google Pixel XL",
"deviceOs" : "ANDROID",
"appVersion" : "1.0",
"bundleId" : "com.clinked.awesome",
"lastActivity" : 1514764800000,
"ip" : "127.0.0.1"
} ]
Path | Type | Description |
---|---|---|
|
|
Client id |
|
|
Owner user id |
|
|
Owner name |
|
|
Owner username |
|
|
If user has logo |
|
|
User job title |
|
|
Last modified timestamp |
|
|
Application name |
|
|
Description |
|
|
Platform |
|
|
Device type |
|
|
Device model |
|
|
Device os |
|
|
Application version |
|
|
Bundle Id |
|
|
Last activity timestamp |
|
|
IP address |
4.13.2. Remove device
Removes device
Parameter | Description |
---|---|
|
Account id |
|
Client id |
DELETE /v3/accounts/1/devices/my-device HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/devices/my-device' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/devices/my-device' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
4.14. Iframes
An inline frame (iframe) is a HTML element that loads another HTML page within the document. White list domains that can be used in iframes.
4.14.1. List iframes
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/iframes HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/iframes' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/iframes' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 16
[ "domain.ltd" ]
Path | Type | Description |
---|---|---|
|
|
Array of white labeled iframes |
4.14.2. Update iframes
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/iframes HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 24
[ "iframe1", "iframe2" ]
$ echo '[ "iframe1", "iframe2" ]' | http POST 'https://api.clinked.com/v3/accounts/1/iframes' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/iframes' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '[ "iframe1", "iframe2" ]'
Path | Type | Description |
---|---|---|
|
|
Set of white listed iframes |
HTTP/1.1 200 OK
4.15. Password strength
4.15.1. Get password strength
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/password-strength HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/password-strength' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/password-strength' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 78
{
"size" : 6,
"uppercase" : true,
"digits" : true,
"special" : false
}
Path | Type | Description |
---|---|---|
|
|
Password size |
|
|
Requires uppercase character |
|
|
Requires digit character |
|
|
Requires special character |
4.15.2. Update password strength
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/password-strength HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 57
{"size":12,"uppercase":true,"digits":true,"special":true}
$ echo '{"size":12,"uppercase":true,"digits":true,"special":true}' | http POST 'https://api.clinked.com/v3/accounts/1/password-strength' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/password-strength' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{"size":12,"uppercase":true,"digits":true,"special":true}'
Path | Type | Description |
---|---|---|
|
|
Password size |
|
|
Requires uppercase character |
|
|
Requires digit character |
|
|
Requires special character |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 78
{
"size" : 12,
"uppercase" : true,
"digits" : true,
"special" : true
}
Path | Type | Description |
---|---|---|
|
|
Password size |
|
|
Requires uppercase character |
|
|
Requires digit character |
|
|
Requires special character |
4.16. Profile fields
Account members can have optional custom profile fields, that they can fill in when signing up or after
4.16.1. List profile fields
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/profile-fields HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/profile-fields' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/profile-fields' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 50
[ {
"name" : "Favorite pizza",
"order" : 0
} ]
Path | Type | Description |
---|---|---|
|
|
Field name |
|
|
Order number |
4.16.2. Update profile fields
When updating profile fields You need to pass in previous fields as well if You wish to keep them.
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/profile-fields HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 30
[{"name":"newName","order":0}]
$ echo '[{"name":"newName","order":0}]' | http POST 'https://api.clinked.com/v3/accounts/1/profile-fields' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/profile-fields' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '[{"name":"newName","order":0}]'
Path | Type | Description |
---|---|---|
|
|
Field name |
|
|
Order number |
HTTP/1.1 200 OK
4.17. SSO
Single sign-on
4.17.1. Get SSO details
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/sso HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/sso' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/sso' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 23
{
"enabled" : false
}
Path | Type | Description |
---|---|---|
|
|
Is sso enabled |
|
|
Version number |
|
|
Subject name |
|
|
Signature algorithm name |
|
|
Signature algorithm OID |
|
|
Issuer name |
|
|
notAfter date from the validity period of the certificate |
|
|
notBefore date from the validity period of the certificate |
|
|
Will expire in less than 30 days |
|
|
Public key |
|
|
Saml configuration |
|
|
IdP EntityID |
|
|
SSO is enabled or disabled |
|
|
Create a new user if the user does not exist in account |
|
|
Force users to login using identity provider |
|
|
Allow administrators to use password login |
|
|
Disable profile editing |
|
|
Force user authentication every time |
4.17.2. Update SSO configuration
Parameter | Description |
---|---|
|
Account id |
PATCH /v3/accounts/1/sso HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 153
{"ssoEnabled":false,"userJit":false,"forceSso":false,"adminsUsePassword":true,"disableProfileEdit":false,"renew":false,"forceAuth":false,"tempFile":null}
$ echo '{"ssoEnabled":false,"userJit":false,"forceSso":false,"adminsUsePassword":true,"disableProfileEdit":false,"renew":false,"forceAuth":false,"tempFile":null}' | http PATCH 'https://api.clinked.com/v3/accounts/1/sso' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/sso' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"ssoEnabled":false,"userJit":false,"forceSso":false,"adminsUsePassword":true,"disableProfileEdit":false,"renew":false,"forceAuth":false,"tempFile":null}'
Path | Type | Description |
---|---|---|
|
|
SSO is enabled or disabled |
|
|
Create a new user if the user does not exist in account |
|
|
Force users to login using identity provider |
|
|
Allow administrators to use password login |
|
|
Disable profile editing |
|
|
Force user authentication every time |
|
|
Renew sso |
|
|
Temp file id |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 23
{
"enabled" : false
}
Path | Type | Description |
---|---|---|
|
|
Is sso enabled |
|
|
Version number |
|
|
Subject name |
|
|
Signature algorithm name |
|
|
Signature algorithm OID |
|
|
Issuer name |
|
|
notAfter date from the validity period of the certificate |
|
|
notBefore date from the validity period of the certificate |
|
|
Will expire in less than 30 days |
|
|
Public key |
|
|
Saml configuration |
|
|
IdP EntityID |
|
|
SSO is enabled or disabled |
|
|
Create a new user if the user does not exist in account |
|
|
Force users to login using identity provider |
|
|
Allow administrators to use password login |
|
|
Disable profile editing |
|
|
Force user authentication every time |
4.17.3. Delete SSO configuration
Parameter | Description |
---|---|
|
Account id |
DELETE /v3/accounts/1/sso HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/sso' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/sso' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
4.18. Two-factor authentication
Two-factor authentication can be enforced for account members.
4.18.1. Get 2FA status
Retrieve status of the two-factor authentication enforcement.
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/two-factor-authentication-enforce HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/two-factor-authentication-enforce' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/two-factor-authentication-enforce' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 22
{
"status" : false
}
Path | Type | Description |
---|---|---|
|
|
Status |
4.18.2. Update 2fa status
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/two-factor-authentication-enforce HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 5
false
$ echo 'false' | http POST 'https://api.clinked.com/v3/accounts/1/two-factor-authentication-enforce' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/two-factor-authentication-enforce' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d 'false'
Parameter | Description |
---|---|
|
New status |
HTTP/1.1 200 OK
4.19. Storage region
Get and update details about account storage region.
4.19.1. Get storage details
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/storage HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/storage' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/storage' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 76
{
"enabled" : true,
"region" : "US-WEST-1",
"availableRegions" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
If enabled |
|
|
Storage region |
|
|
Available storage regions |
4.19.2. Update storage region
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/storage HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 22
{"region":"US-WEST-1"}
$ echo '{"region":"US-WEST-1"}' | http POST 'https://api.clinked.com/v3/accounts/1/storage' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/storage' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"region":"US-WEST-1"}'
Path | Type | Description |
---|---|---|
|
|
Storage region |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 88
{
"enabled" : true,
"region" : "US-WEST-1",
"availableRegions" : [ "US-WEST-1" ]
}
Path | Type | Description |
---|---|---|
|
|
If enabled |
|
|
Storage region |
|
|
Available storage regions |
4.20. Custom email
For more information about the feature itself, see our Help Center page. |
4.20.1. Get Configuration
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/custom-email HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/custom-email' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/custom-email' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 63
{
"enabled" : true,
"connected" : true,
"type" : "type"
}
Path | Type | Description |
---|---|---|
|
|
Is enabled |
|
|
Is connected |
|
|
Type |
4.20.2. Smtp
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/custom-email/smtp HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 152
{ "host": "smtp.domain.ltd", "username": "user123", "password": "passy", "port": 465, "auth": true, "starttls": true, "from": "user123@smtp.domain.ltd"}
$ echo '{ "host": "smtp.domain.ltd", "username": "user123", "password": "passy", "port": 465, "auth": true, "starttls": true, "from": "user123@smtp.domain.ltd"}' | http POST 'https://api.clinked.com/v3/accounts/1/custom-email/smtp' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/custom-email/smtp' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{ "host": "smtp.domain.ltd", "username": "user123", "password": "passy", "port": 465, "auth": true, "starttls": true, "from": "user123@smtp.domain.ltd"}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 199
{
"host" : "smtp.domain.ltd",
"username" : "user123",
"password" : null,
"port" : 465,
"auth" : null,
"starttls" : true,
"passwordOmitted" : true,
"from" : "user123@smtp.domain.ltd"
}
Path | Type | Description |
---|---|---|
|
|
SMTP server host |
|
|
E-mail account username |
|
|
E-mail account password (if included in response) |
|
|
SMTP server port number |
|
|
Authentication is used |
|
|
STARTTLS is enabled |
|
|
Password is not included in the response |
|
|
Mail from header e-mail address |
4.20.3. Configure sendgrid
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/custom-email/sendgrid HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 73
{ "apiKey": "123-apiKey-from-sendgrid","from": "user123@smtp.domain.ltd"}
$ echo '{ "apiKey": "123-apiKey-from-sendgrid","from": "user123@smtp.domain.ltd"}' | http POST 'https://api.clinked.com/v3/accounts/1/custom-email/sendgrid' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/custom-email/sendgrid' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{ "apiKey": "123-apiKey-from-sendgrid","from": "user123@smtp.domain.ltd"}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 77
{
"apiKey" : "passy",
"from" : "user123@smtp.domain.ltd",
"mx" : null
}
Path | Type | Description |
---|---|---|
|
|
Sendgrid API key |
|
|
Mail from header e-mail address |
|
|
MX records are defined for e-mail receiving in portal |
4.20.4. Get Sendgrid domains
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/custom-email/sendgrid/domains?apiKey=13423-65hk0-fskdjf4-fsdfsf HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/custom-email/sendgrid/domains?apiKey=13423-65hk0-fskdjf4-fsdfsf' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/custom-email/sendgrid/domains?apiKey=13423-65hk0-fskdjf4-fsdfsf' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 318
[ {
"default" : true,
"id" : 100,
"username" : "Harry",
"subdomain" : "subdomain",
"domain" : "domain",
"user_id" : 123,
"ips" : [ "127.0.0.1" ],
"custom_spf" : false,
"legacy" : false,
"automatic_security" : true,
"valid" : true,
"dns" : { },
"last_validation_attempt_at" : 1514764800000
} ]
Path | Type | Description |
---|---|---|
|
|
Whether to use this authenticated domain as the fallback if no authenticated domains match the sender’s domain |
|
|
Id of authenticated domain |
|
|
The username associated with this domain |
|
|
The subdomain to use for authenticated domain |
|
|
The domain to be authenticated |
|
|
The ID of the user that this domain is associated with |
|
|
The IP addresses that will be included in the custom SPF record for this authenticated domain |
|
|
Specify whether to use a custom SPF or allow SendGrid to manage your SPF.This option is only available to authenticated domains set up for manual security |
|
|
Is legacy |
|
|
Whether to allow SendGrid to manage your SPF records, DKIM keys, and DKIM key rotation. |
|
|
Indicates if this is a valid authenticated domain |
|
|
The DNS records used to authenticate the sending domain |
|
|
Last validation attempt timestamp |
4.20.5. Create domain authentication
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/custom-email/domain-authentication HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 174
{"from":"email@example.com","domain":null,"mx":null,"mxValid":null,"valid":true,"dns":{"example":{"valid":true,"data":"example data","host":"example.com","type":"dns type"}}}
$ echo '{"from":"email@example.com","domain":null,"mx":null,"mxValid":null,"valid":true,"dns":{"example":{"valid":true,"data":"example data","host":"example.com","type":"dns type"}}}' | http POST 'https://api.clinked.com/v3/accounts/1/custom-email/domain-authentication' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/custom-email/domain-authentication' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{"from":"email@example.com","domain":null,"mx":null,"mxValid":null,"valid":true,"dns":{"example":{"valid":true,"data":"example data","host":"example.com","type":"dns type"}}}'
Path | Type | Description |
---|---|---|
|
|
From email |
|
|
Is valid domain |
|
|
Map of dns and dns properties |
|
|
Dns name |
|
|
Authorized domain |
|
|
MX records configured for e-mail receiving |
|
|
MX records are valid |
|
|
Is dns valid |
|
|
Dns data |
|
|
Dns host |
|
|
Dns type |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 265
{
"from" : "email@example.com",
"domain" : "example.com",
"mx" : null,
"mxValid" : null,
"valid" : true,
"dns" : {
"example" : {
"valid" : true,
"data" : "example data",
"host" : "example.com",
"type" : "dns type"
}
}
}
Path | Type | Description |
---|---|---|
|
|
From email |
|
|
Is valid domain |
|
|
Map of dns and dns properties |
|
|
Dns name |
|
|
Authorized domain |
|
|
MX records configured for e-mail receiving |
|
|
MX records are valid |
|
|
Is dns valid |
|
|
Dns data |
|
|
Dns host |
|
|
Dns type |
4.20.6. Validate domain authentication
Parameter | Description |
---|---|
|
Account id |
PATCH /v3/accounts/1/custom-email/domain-authentication HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http PATCH 'https://api.clinked.com/v3/accounts/1/custom-email/domain-authentication' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/custom-email/domain-authentication' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 256
{
"from" : "email@example.com",
"domain" : null,
"mx" : null,
"mxValid" : null,
"valid" : true,
"dns" : {
"example" : {
"valid" : true,
"data" : "example data",
"host" : "example.com",
"type" : "dns type"
}
}
}
Path | Type | Description |
---|---|---|
|
|
From email |
|
|
Is valid domain |
|
|
Map of dns and dns properties |
|
|
Dns name |
|
|
Authorized domain |
|
|
MX records configured for e-mail receiving |
|
|
MX records are valid |
|
|
Is dns valid |
|
|
Dns data |
|
|
Dns host |
|
|
Dns type |
4.20.7. Remove domain
Parameter | Description |
---|---|
|
Account id |
DELETE /v3/accounts/1/custom-email HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/custom-email' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/custom-email' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
4.21. Custom domain
For more information about the feature itself, see our Help Center page. |
4.21.1. Get custom domain details
Return details about domain and if feature can be used.
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/domain HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/domain' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/domain' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 118
{
"status" : true,
"enabled" : true,
"regions" : {
"WEST-1" : [ "my-host" ]
},
"domain" : "domain.com"
}
Path | Type | Description |
---|---|---|
|
|
If custom domain exists |
|
|
If custom domain enabled |
|
|
Map of regions and hosts |
|
|
Domain name |
4.21.2. Add custom domain
Parameter | Description |
---|---|
|
Account id |
POST /v3/accounts/1/domain HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 31
{"domain": "portal.domain.ltd"}
$ echo '{"domain": "portal.domain.ltd"}' | http POST 'https://api.clinked.com/v3/accounts/1/domain' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/domain' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"domain": "portal.domain.ltd"}'
HTTP/1.1 200 OK
4.21.3. Delete custom domain
Parameter | Description |
---|---|
|
Account id |
DELETE /v3/accounts/1/domain HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/domain' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/domain' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
4.22. Account integrations
For more information about the feature itself, see our Help Center page. |
4.22.2. Integration status
Checks if integration is connected and to which account.
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/docusign HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/docusign' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/docusign' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 51
{
"connected" : true,
"account" : "xxxx-xxxx"
}
Path | Type | Description |
---|---|---|
|
|
Is integration connected |
|
|
Docusign account id |
4.22.3. Update Docusign settings
Parameter | Description |
---|---|
|
Account id |
PATCH /v3/accounts/1/docusign HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 24
{
"connected" : true
}
$ echo '{
"connected" : true
}' | http PATCH 'https://api.clinked.com/v3/accounts/1/docusign' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/docusign' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"connected" : true
}'
Path | Type | Description |
---|---|---|
|
|
Is connected |
|
|
New account id |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 51
{
"connected" : true,
"account" : "xxxx-xxxx"
}
Path | Type | Description |
---|---|---|
|
|
Is integration connected |
|
|
Docusign account id |
4.22.4. Disconnect Docusign
Parameter | Description |
---|---|
|
Account id |
DELETE /v3/accounts/1/docusign HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/docusign' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/docusign' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
4.22.5. List available docusign accounts
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/docusign/accounts HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/docusign/accounts' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/docusign/accounts' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 271
[ {
"account_id" : "xxxx-xxxx",
"is_default" : null,
"account_name" : "Awesome account",
"base_uri" : "example.com",
"organization" : {
"organization_id" : "org-id",
"links" : [ {
"rel" : "example.com",
"href" : "example.com"
} ]
}
} ]
Path | Type | Description |
---|---|---|
|
|
Account id |
|
|
Is default |
|
|
Account name |
|
|
Base uri |
|
|
Organisation |
|
|
Organisation id |
|
|
Links |
|
|
rel |
|
|
href |
4.22.6. Generate consent url
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/docusign/consent?redirect=example.com HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/docusign/consent?redirect=example.com' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/docusign/consent?redirect=example.com' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Redirect url |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 34
{
"consentUrl" : "example.com"
}
Path | Type | Description |
---|---|---|
|
|
Consent url |
4.22.8. Integration status
Parameter | Description |
---|---|
|
Account id |
GET /v3/accounts/1/adobe HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/adobe' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/adobe' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 24
{
"connected" : true
}
Path | Type | Description |
---|---|---|
|
|
Is integration connected |
4.22.9. Disconnect Adobe
Parameter | Description |
---|---|
|
Account id |
HTTP/1.1 200 OK
4.23. Member Rights
Creates custom rights capabilities for account or group members, allowing for tailored permissions that can extend or limit functionalities within the application.
Only account administrators can manage member rights.
4.23.1. List
Parameter | Description |
---|---|
|
Account Id |
GET /v3/accounts/1/rights HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/rights' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/rights' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 676
[ {
"id" : 1,
"name" : "Read only",
"description" : "Can do read only things in group",
"type" : "GROUP",
"basedOnPermission" : 1,
"capabilities" : [ "DISCUSSIONS_REPLY", "GROUP_COMMENTS_DELETE", "FILES_APPROVALS", "NOTES_VERSIONS", "EVENTS", "GROUP_ATTACHMENTS", "GROUP_COMMENTS", "TASKS_UPDATE", "GROUP_ANNOUNCEMENTS", "FILES_DOWNLOAD", "GROUP_ACTIVITY", "GROUP_SHORTCUTS", "FILES", "FILES_VERSIONS", "TASKS", "GROUP_COMMENTS_CREATE", "NOTES", "GROUP_ACTIVITY_COMMENTS", "FILES_ADOBE", "FILES_CREATE", "NOTES_VERSIONS_DOWNLOAD", "DISCUSSIONS", "FILES_DOCUSIGN", "GROUP_ATTACHMENTS_DOWNLOAD" ],
"dateCreated" : 1731310264455,
"dateUpdated" : 1731310264455
} ]
Path | Type | Description |
---|---|---|
|
|
ID |
|
|
Name |
|
|
Description |
|
|
Either GROUP or ACCOUNT rights |
|
|
The capabilities are based on the following main permission |
|
|
Set of capabilities |
|
|
Date created |
|
|
Date updated |
4.23.2. Create
Parameter | Description |
---|---|
|
Account Id |
POST /v3/accounts/1/rights HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 162
{
"name": "Capabilities 101",
"description": "New capabilities set",
"basedOnPermission": 4,
"type": "ACCOUNT",
"capabilities": ["MEMBERS"]
}
$ echo '{
"name": "Capabilities 101",
"description": "New capabilities set",
"basedOnPermission": 4,
"type": "ACCOUNT",
"capabilities": ["MEMBERS"]
}' | http POST 'https://api.clinked.com/v3/accounts/1/rights' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/rights' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"name": "Capabilities 101",
"description": "New capabilities set",
"basedOnPermission": 4,
"type": "ACCOUNT",
"capabilities": ["MEMBERS"]
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 227
{
"id" : 1,
"name" : "Capabilities 101",
"description" : "New capabilities set",
"type" : "ACCOUNT",
"basedOnPermission" : 4,
"capabilities" : [ "MEMBERS" ],
"dateCreated" : 1731310264391,
"dateUpdated" : null
}
4.23.3. Update
Parameter | Description |
---|---|
|
Account Id |
|
Member Right Id |
PATCH /v3/accounts/1/rights/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 36
{
"name": "Capabilities Zero"
}
$ echo '{
"name": "Capabilities Zero"
}' | http PATCH 'https://api.clinked.com/v3/accounts/1/rights/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/rights/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"name": "Capabilities Zero"
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 227
{
"id" : 1,
"name" : "Capabilities 101",
"description" : "New capabilities set",
"type" : "ACCOUNT",
"basedOnPermission" : 4,
"capabilities" : [ "MEMBERS" ],
"dateCreated" : 1731310264391,
"dateUpdated" : null
}
4.23.4. Delete
Parameter | Description |
---|---|
|
Account Id |
|
Member Right Id |
DELETE /v3/accounts/1/rights/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/rights/1' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/accounts/1/rights/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
5. Account tasks
5.1. List tasks
GET /v3/tasks?account=1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/tasks?account=1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/tasks?account=1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Account ID |
|
Name |
|
Return exact by exact name |
|
Slug |
|
Show |
|
Task status |
|
User id |
|
Task priority [URGENT, HIGH, MEDIUM, LOW] |
|
Task category |
|
Include uncategorized |
|
Start date |
|
End date |
|
Parent task id |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1297
{
"items" : [ {
"id" : 1,
"contextKey" : {
"id" : 74
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"userAces" : false,
"userPermission" : 0,
"friendlyName" : "Deploy update",
"name" : "deploy_update",
"status" : "WAITING",
"priority" : "MEDIUM",
"progress" : 0,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dueDate" : "2022-08-25T11:56:54Z[UTC]",
"tags" : "",
"description" : "Let's do this",
"dateCreated" : 1514764800000,
"dateReminder" : "2017-12-31T08:00Z[UTC]",
"recurrence" : null,
"order" : 2147483647,
"category" : null,
"assignees" : null,
"numberOfSubTasks" : 0,
"lastModified" : 1514764800000,
"timeTracker" : {
"trackingStartDate" : 1514764800000,
"timeTracked" : 948480
},
"dateCompleted" : 1514764810000,
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 1,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
|
|
Task category ID |
|
|
Сontext key |
|
|
Сontext key ID |
|
|
Task slug |
|
|
Task name |
|
|
User created this task |
|
|
Task status code |
|
|
Task priority |
|
|
Task progress |
|
|
Task tags (comma separated) |
|
|
Zoned ISO due date-time |
|
|
Zoned ISO reminder date-time |
|
|
Task recurrence rule |
|
|
Task order |
|
|
Task description |
|
|
File to which the task is attached to |
|
|
Task category |
|
|
Task assignees |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
|
|
Date task was created |
|
|
Date task was completed |
|
|
Date task was last modified |
|
|
Parent task |
|
|
Number of subtasks |
|
|
Task time tracker |
|
|
Tracking start date |
|
|
Time tracked in milliseconds |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
6. Account events
6.1. Account events list
GET /v3/events?account=1&dateStart=2022-10-01&dateEnd=2022-10-31 HTTP/1.1
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/events?account=1&dateStart=2022-10-01&dateEnd=2022-10-31'
$ curl 'https://api.clinked.com/v3/events?account=1&dateStart=2022-10-01&dateEnd=2022-10-31' -i -X GET
Parameter | Description |
---|---|
|
Required account id |
|
Lower bound for an event’s start time to filter by. Must be a ISO date only format, for example 2022-03-01. |
|
Upper bound for an event’s end time to filter by. Must be a ISO date only format, for example 2022-03-31. |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 927
[ {
"id" : 1,
"contextKey" : {
"id" : 613
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : "2018-01-05T14:00Z[UTC]",
"endDate" : "2018-01-05T15:00Z[UTC]",
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"dateReminder" : "2017-12-31T08:00Z[UTC]",
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"dateEndRecurrence" : "2024-11-11T07:31:18.076Z[UTC]",
"description" : "Let's do this every friday",
"disableMaybe" : false,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"lastModified" : 1514764800000,
"color" : "#212121",
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ]
Path | Type | Description |
---|---|---|
|
|
Event ID |
|
|
Context key |
|
|
Context key ID |
|
|
Event group |
|
|
Event author |
|
|
Group Id |
|
|
Event group |
|
|
Event group |
|
|
Sharing option, determines who can see an event: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member permission mask |
|
|
Unique name |
|
|
Full name |
|
|
Event start date |
|
|
Event end date |
|
|
All day event |
|
|
Event location |
|
|
Comma separated list of tags |
|
|
When to send a reminder about an event |
|
|
Valid recurrence rule |
|
|
Recurrence end date |
|
|
Event description |
|
|
Date event was last modified |
|
|
Event color |
|
|
Do not allow invited members to choose 'maybe' option |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
6.2. Account events list for user
Returns other user events to authenticated user.
GET /v3/events?user=jack&dateStart=2022-10-01&dateEnd=2022-10-31 HTTP/1.1
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/events?user=jack&dateStart=2022-10-01&dateEnd=2022-10-31'
$ curl 'https://api.clinked.com/v3/events?user=jack&dateStart=2022-10-01&dateEnd=2022-10-31' -i -X GET
Parameter | Description |
---|---|
|
User username |
|
Lower bound for an event’s start time to filter by. Must be a ISO date only format, for example 2022-03-01. |
|
Upper bound for an event’s end time to filter by. Must be a ISO date only format, for example 2022-03-31. |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 927
[ {
"id" : 1,
"contextKey" : {
"id" : 316
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : "2018-01-05T14:00Z[UTC]",
"endDate" : "2018-01-05T15:00Z[UTC]",
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"dateReminder" : "2017-12-31T08:00Z[UTC]",
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"dateEndRecurrence" : "2024-11-11T07:31:18.032Z[UTC]",
"description" : "Let's do this every friday",
"disableMaybe" : false,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"lastModified" : 1514764800000,
"color" : "#212121",
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ]
Path | Type | Description |
---|---|---|
|
|
Event ID |
|
|
Context key |
|
|
Context key ID |
|
|
Event group |
|
|
Event author |
|
|
Group Id |
|
|
Event group |
|
|
Event group |
|
|
Sharing option, determines who can see an event: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member permission mask |
|
|
Unique name |
|
|
Full name |
|
|
Event start date |
|
|
Event end date |
|
|
All day event |
|
|
Event location |
|
|
Comma separated list of tags |
|
|
When to send a reminder about an event |
|
|
Valid recurrence rule |
|
|
Recurrence end date |
|
|
Event description |
|
|
Date event was last modified |
|
|
Event color |
|
|
Do not allow invited members to choose 'maybe' option |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
7. Groups
7.1. Create new group
Parameter | Description |
---|---|
|
Account/organisation id |
POST /v3/accounts/1/groups HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 1140
{
"name": "awesome_group",
"friendlyName": "Awesome Group",
"master": null,
"blind": false,
"disableComments": false,
"disableEmailComments": false,
"hideMemberDetails": false,
"components": [{
"name": "files",
"order": 1,
"configuration": {}
}, {
"name": "discussions",
"order": 2,
"configuration": {}
}, {
"name": "tasks",
"order": 3,
"configuration": {}
}, {
"name": "pages",
"order": 4,
"configuration": {}
}, {
"name": "events",
"order": 5,
"configuration": {}
}],
"notificationsConfiguration": {
"newContent": "IMMEDIATE",
"overdueTasks": "DAILY",
"following": "NEVER",
"disableEmailComments": false
},
"watermarkConfiguration": {
"enableWatermark": true,
"enableWatermarkIp": true,
"enableWatermarkEmail": true,
"enableWatermarkTimestamp": true,
"enableWatermarkCustomText": true,
"watermarkCustomText": "WATERMARKED",
"watermarkStyle": "DIAGONAL_LARGE"
}
}
$ echo '{
"name": "awesome_group",
"friendlyName": "Awesome Group",
"master": null,
"blind": false,
"disableComments": false,
"disableEmailComments": false,
"hideMemberDetails": false,
"components": [{
"name": "files",
"order": 1,
"configuration": {}
}, {
"name": "discussions",
"order": 2,
"configuration": {}
}, {
"name": "tasks",
"order": 3,
"configuration": {}
}, {
"name": "pages",
"order": 4,
"configuration": {}
}, {
"name": "events",
"order": 5,
"configuration": {}
}],
"notificationsConfiguration": {
"newContent": "IMMEDIATE",
"overdueTasks": "DAILY",
"following": "NEVER",
"disableEmailComments": false
},
"watermarkConfiguration": {
"enableWatermark": true,
"enableWatermarkIp": true,
"enableWatermarkEmail": true,
"enableWatermarkTimestamp": true,
"enableWatermarkCustomText": true,
"watermarkCustomText": "WATERMARKED",
"watermarkStyle": "DIAGONAL_LARGE"
}
}' | http POST 'https://api.clinked.com/v3/accounts/1/groups' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"name": "awesome_group",
"friendlyName": "Awesome Group",
"master": null,
"blind": false,
"disableComments": false,
"disableEmailComments": false,
"hideMemberDetails": false,
"components": [{
"name": "files",
"order": 1,
"configuration": {}
}, {
"name": "discussions",
"order": 2,
"configuration": {}
}, {
"name": "tasks",
"order": 3,
"configuration": {}
}, {
"name": "pages",
"order": 4,
"configuration": {}
}, {
"name": "events",
"order": 5,
"configuration": {}
}],
"notificationsConfiguration": {
"newContent": "IMMEDIATE",
"overdueTasks": "DAILY",
"following": "NEVER",
"disableEmailComments": false
},
"watermarkConfiguration": {
"enableWatermark": true,
"enableWatermarkIp": true,
"enableWatermarkEmail": true,
"enableWatermarkTimestamp": true,
"enableWatermarkCustomText": true,
"watermarkCustomText": "WATERMARKED",
"watermarkStyle": "DIAGONAL_LARGE"
}
}'
Path | Type | Description |
---|---|---|
|
|
Group unique name/slug |
|
|
Group name |
|
|
Group ID to duplicate |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1594
{
"id" : 1,
"name" : "awesome_group",
"friendlyName" : "Awesome Group",
"disableComments" : false,
"contextKey" : {
"id" : 761
},
"members" : 0,
"storageConsumed" : 0,
"blind" : false,
"disableChat" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"dateCreated" : 1731310241903,
"lastModified" : 1731310241903,
"owner" : null,
"mailKey" : null,
"hash" : null,
"branding" : {
"headerColor" : "#dfdfdf",
"textColor" : "#000000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
},
"memberDetails" : [ ],
"components" : [ {
"name" : "files",
"order" : 1,
"configuration" : { }
}, {
"name" : "pages",
"order" : 4,
"configuration" : { }
}, {
"name" : "discussions",
"order" : 2,
"configuration" : { }
}, {
"name" : "events",
"order" : 5,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"integrations" : null,
"master" : null,
"masterConfigured" : false,
"masterConfiguration" : null,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null,
"transparentWatermark" : null
}
}
Path | Type | Description |
---|---|---|
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
7.2. Group count
Parameter | Description |
---|---|
|
Account id |
HEAD /v3/accounts/1/groups HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http HEAD 'https://api.clinked.com/v3/accounts/1/groups' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups' -i -X HEAD \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
X-Count: 0
7.3. List groups
Parameter | Description |
---|---|
|
Account/organisation id |
GET /v3/accounts/1/groups HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/groups' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Name to search for |
|
Show only exact name match |
|
List of group IDs to exclude from results |
|
Include removed groups |
|
Master group ID to get subgroups for |
|
Label ID to filter groups by |
|
Should include active queue jobs |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 4232
{
"items" : [ {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false,
"contextKey" : {
"id" : 179
},
"members" : 0,
"storageConsumed" : 0,
"blind" : false,
"disableChat" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"mailKey" : null,
"hash" : null,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
},
"memberDetails" : [ {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"permission" : 16,
"dateCreated" : 1731310241282,
"expirationDate" : null,
"capabilities" : [ "DISCUSSIONS_REPLY", "DISCUSSIONS_UPDATE", "PERMISSIONS", "FILES_APPROVALS", "EVENTS", "EVENTS_CREATE", "NOTES_VERSIONS", "TASKS_ORDER", "GROUP_COMMENTS", "TASKS_UPDATE", "GROUP_SHORTCUTS_CREATE", "FILES_VERSIONS_RESTORE", "GROUP_ACTIVITY_COMMENTS", "GROUP_TRASH", "FILES_DESCRIPTION", "FILES_ADOBE", "FILES_CREATE", "GROUP_MEMBERS", "GROUP_ANNOUNCEMENTS_CREATE", "NOTES_VERSIONS_DELETE", "GROUP_ACTIVITY_CREATE", "FILES_ADOBE_DOWNLOAD", "GROUP_INVITES_UPDATE", "NOTES_DELETE", "GROUP_SHARES_UPDATE", "FILES_DOCUSIGN_DOWNLOAD", "NOTES_VERSIONS_RESTORE", "FILES_APPROVALS_DELETE", "GROUP_ATTACHMENTS_DELETE", "GROUP_MEMBERS_UPDATE", "GROUP_ANNOUNCEMENTS", "FILES_DOWNLOAD", "GROUP_ANNOUNCEMENTS_DELETE", "GROUP_ACTIVITY_DELETE", "GROUP_SHORTCUTS", "FILES", "PERMISSIONS_UPDATE", "GROUP_INVITES_CREATE", "GROUP_SHORTCUTS_DELETE", "GROUP_LABELS_DELETE", "GROUP_SHARES", "GROUP_DELETE", "TASKS_CATEGORY_UPDATE", "FILES_VERSIONS_DOWNLOAD", "DISCUSSIONS", "GROUP_ACTIVITY_COMMENTS_DELETE", "TASKS_DELETE", "FILES_UPDATE", "TASKS_CATEGORY_CREATE", "FILES_ADOBE_CREATE", "DISCUSSIONS_REPLY_DELETE", "NOTES_DESCRIPTION", "TASKS_CREATE", "GROUP_INVITES", "TASKS", "GROUP_COMMENTS_CREATE", "NOTES", "EVENTS_UPDATE", "FILES_DOCUSIGN_CREATE", "DISCUSSIONS_CREATE", "GROUP_ATTACHMENTS_CREATE", "GROUP_SHARES_CREATE", "GROUP_ACTIVITY_COMMENTS_CREATE", "GROUP_MEMBERS_DELETE", "GROUP_COMMENTS_DELETE", "GROUP_UPDATE", "NOTES_UPDATE", "GROUP_ATTACHMENTS", "GROUP_EXPORT", "FILES_DELETE", "GROUP_INVITES_DELETE", "GROUP_ACTIVITY", "GROUP_BRANDING", "GROUP_SHARES_DELETE", "GROUP_LABELS_CREATE", "FILES_VERSIONS", "TASKS_CATEGORY_DELETE", "NOTES_CREATE", "EVENTS_DELETE", "FILES_APPROVALS_CREATE", "GROUP_SHORTCUTS_UPDATE", "DISCUSSIONS_DELETE", "NOTES_VERSIONS_DOWNLOAD", "GROUP_ATTACHMENTS_DOWNLOAD", "FILES_DOCUSIGN" ],
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ],
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"integrations" : null,
"master" : null,
"masterConfigured" : false,
"masterConfiguration" : null,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null,
"transparentWatermark" : null
}
} ],
"currentPage" : 1,
"pageSize" : 5,
"totalResults" : 0,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
7.4. Get group details
Returns detailed information about a single group.
Parameter | Description |
---|---|
|
Account/organisation id |
|
Group id |
GET /v3/accounts/1/groups/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/groups/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1672
{
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false,
"contextKey" : {
"id" : 273
},
"members" : 0,
"storageConsumed" : 0,
"blind" : false,
"disableChat" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"mailKey" : null,
"hash" : null,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
},
"memberDetails" : [ ],
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"integrations" : null,
"master" : null,
"masterConfigured" : false,
"masterConfiguration" : null,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null,
"transparentWatermark" : null
}
}
Path | Type | Description |
---|---|---|
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
7.5. Update group
Partially updates group information.
Parameter | Description |
---|---|
|
Account/organisation id |
|
Group id |
PATCH /v3/accounts/1/groups/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 776
{
"friendlyName": "Awesome Group",
"master": null,
"blind": false,
"disableComments": false,
"disableEmailComments": false,
"hideMemberDetails": false,
"components": [{
"name": "files",
"order": 1,
"configuration": {}
}],
"notificationsConfiguration": {
"newContent": "IMMEDIATE",
"overdueTasks": "DAILY",
"following": "NEVER",
"disableEmailComments": false
},
"watermarkConfiguration": {
"enableWatermark": true,
"enableWatermarkIp": true,
"enableWatermarkEmail": true,
"enableWatermarkTimestamp": true,
"enableWatermarkCustomText": true,
"watermarkCustomText": "WATERMARKED",
"watermarkStyle": "DIAGONAL_LARGE"
}
}
$ echo '{
"friendlyName": "Awesome Group",
"master": null,
"blind": false,
"disableComments": false,
"disableEmailComments": false,
"hideMemberDetails": false,
"components": [{
"name": "files",
"order": 1,
"configuration": {}
}],
"notificationsConfiguration": {
"newContent": "IMMEDIATE",
"overdueTasks": "DAILY",
"following": "NEVER",
"disableEmailComments": false
},
"watermarkConfiguration": {
"enableWatermark": true,
"enableWatermarkIp": true,
"enableWatermarkEmail": true,
"enableWatermarkTimestamp": true,
"enableWatermarkCustomText": true,
"watermarkCustomText": "WATERMARKED",
"watermarkStyle": "DIAGONAL_LARGE"
}
}' | http PATCH 'https://api.clinked.com/v3/accounts/1/groups/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "Awesome Group",
"master": null,
"blind": false,
"disableComments": false,
"disableEmailComments": false,
"hideMemberDetails": false,
"components": [{
"name": "files",
"order": 1,
"configuration": {}
}],
"notificationsConfiguration": {
"newContent": "IMMEDIATE",
"overdueTasks": "DAILY",
"following": "NEVER",
"disableEmailComments": false
},
"watermarkConfiguration": {
"enableWatermark": true,
"enableWatermarkIp": true,
"enableWatermarkEmail": true,
"enableWatermarkTimestamp": true,
"enableWatermarkCustomText": true,
"watermarkCustomText": "WATERMARKED",
"watermarkStyle": "DIAGONAL_LARGE"
}
}'
Path | Type | Description |
---|---|---|
|
|
Group unique name/slug |
|
|
Group name |
|
|
Group ID to duplicate |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Parent group configuration |
|
|
Component entries |
|
|
Component name - files/pages/discussions/events/tasks/shortcuts/members |
|
|
Is enabled |
|
|
Events to synchronize - ['create', 'update', 'delete'] |
|
|
Should retain task assignees from parent group |
|
|
Should retain event assignees from parent group |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1469
{
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Awesome Group",
"disableComments" : false,
"contextKey" : {
"id" : 689
},
"members" : 0,
"storageConsumed" : 0,
"blind" : false,
"disableChat" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"mailKey" : null,
"hash" : null,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
},
"memberDetails" : [ ],
"components" : [ {
"name" : "files",
"order" : 1,
"configuration" : { }
} ],
"integrations" : null,
"master" : null,
"masterConfigured" : false,
"masterConfiguration" : null,
"watermarkConfiguration" : {
"enableWatermark" : true,
"enableWatermarkIp" : true,
"enableWatermarkEmail" : true,
"enableWatermarkTimestamp" : true,
"enableWatermarkCustomText" : true,
"watermarkCustomText" : "WATERMARKED",
"watermarkStyle" : "DIAGONAL_LARGE",
"transparentWatermark" : null
}
}
Path | Type | Description |
---|---|---|
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
7.6. Delete group
Parameter | Description |
---|---|
|
Account/organisation id |
|
Group id |
DELETE /v3/accounts/1/groups/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/accounts/1/groups/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
7.7. Reorder groups
Changes group ordering for all users.
Parameter | Description |
---|---|
|
Account/organisation id |
PUT /v3/accounts/1/groups/order HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 23
{"items": { "1": "0" }}
$ echo '{"items": { "1": "0" }}' | http PUT 'https://api.clinked.com/v3/accounts/1/groups/order' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups/order' -i -X PUT \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"items": { "1": "0" }}'
Path | Type | Description |
---|---|---|
|
|
Ordered map of space ids and the order value |
HTTP/1.1 200 OK
7.8. Export group
You can export all group components[files, tasks, ect.]. Content download link will be sent to authenticated user’s email.
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/export HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 63
{"components":["pages","files","discussions","tasks","events"]}
$ echo '{"components":["pages","files","discussions","tasks","events"]}' | http POST 'https://api.clinked.com/v3/groups/1/export' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/export' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"components":["pages","files","discussions","tasks","events"]}'
Path | Type | Description |
---|---|---|
|
|
List of component names to export: pages, files, discussions, tasks, events |
HTTP/1.1 200 OK
7.9. Duplicate group
Creates a copy of existing group with a different name.
Parameter | Description |
---|---|
|
Account/organisation id |
POST /v3/accounts/1/groups HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 61
{
"friendlyName": "Duplicated group",
"copyFrom": 1
}
$ echo '{
"friendlyName": "Duplicated group",
"copyFrom": 1
}' | http POST 'https://api.clinked.com/v3/accounts/1/groups' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "Duplicated group",
"copyFrom": 1
}'
Path | Type | Description |
---|---|---|
|
|
Group name |
|
|
Group ID to duplicate |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1673
{
"id" : 2,
"name" : "explore_clinked",
"friendlyName" : "Duplicated group",
"disableComments" : false,
"contextKey" : {
"id" : 424
},
"members" : 0,
"storageConsumed" : 0,
"blind" : false,
"disableChat" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"mailKey" : null,
"hash" : null,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
},
"memberDetails" : [ ],
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"integrations" : null,
"master" : null,
"masterConfigured" : false,
"masterConfiguration" : null,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null,
"transparentWatermark" : null
}
}
Path | Type | Description |
---|---|---|
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
7.10. Group queue jobs
List active/waiting queue jobs
Parameter | Description |
---|---|
|
Account/organisation id |
|
Group id |
GET /v3/accounts/1/groups/1/jobs HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/groups/1/jobs' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups/1/jobs' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 312
[ {
"id" : "4234234-49ea-bd03-d44323423425aafef",
"status" : "STARTED",
"error" : null,
"dateCreated" : 1514764800000,
"request" : {
"id" : "19ef480f-cfd8-48f4-9c04-75f6e1add3a4",
"type" : "dummy-type",
"priority" : "NORMAL",
"retries" : 0,
"data" : null
},
"progress" : 0.0
} ]
Path | Type | Description |
---|---|---|
|
|
Job id |
|
|
Job status: [STARTED, COMPLETE, ERROR, WAITING] |
|
|
Job error |
|
|
Date created |
|
|
Queue job progress |
|
|
Queue job request |
|
|
Request id |
|
|
Request type |
|
|
Request priority |
|
|
Request retries |
|
|
Request data |
7.11. Members
7.11.1. List members
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/members?name=member&exclude=2&page=1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/members?name=member&exclude=2&page=1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/members?name=member&exclude=2&page=1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Member name |
|
Member id’s to exclude |
|
Page number |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 4661
{
"items" : [ {
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"permission" : 16,
"dateCreated" : 1731310243554,
"expirationDate" : null,
"capabilities" : [ "DISCUSSIONS_REPLY", "DISCUSSIONS_UPDATE", "PERMISSIONS", "FILES_APPROVALS", "EVENTS", "EVENTS_CREATE", "NOTES_VERSIONS", "TASKS_ORDER", "GROUP_COMMENTS", "TASKS_UPDATE", "GROUP_SHORTCUTS_CREATE", "FILES_VERSIONS_RESTORE", "GROUP_ACTIVITY_COMMENTS", "GROUP_TRASH", "FILES_DESCRIPTION", "FILES_ADOBE", "FILES_CREATE", "GROUP_MEMBERS", "GROUP_ANNOUNCEMENTS_CREATE", "NOTES_VERSIONS_DELETE", "GROUP_ACTIVITY_CREATE", "FILES_ADOBE_DOWNLOAD", "GROUP_INVITES_UPDATE", "NOTES_DELETE", "GROUP_SHARES_UPDATE", "FILES_DOCUSIGN_DOWNLOAD", "NOTES_VERSIONS_RESTORE", "FILES_APPROVALS_DELETE", "GROUP_ATTACHMENTS_DELETE", "GROUP_MEMBERS_UPDATE", "GROUP_ANNOUNCEMENTS", "FILES_DOWNLOAD", "GROUP_ANNOUNCEMENTS_DELETE", "GROUP_ACTIVITY_DELETE", "GROUP_SHORTCUTS", "FILES", "PERMISSIONS_UPDATE", "GROUP_INVITES_CREATE", "GROUP_SHORTCUTS_DELETE", "GROUP_LABELS_DELETE", "GROUP_SHARES", "GROUP_DELETE", "TASKS_CATEGORY_UPDATE", "FILES_VERSIONS_DOWNLOAD", "DISCUSSIONS", "GROUP_ACTIVITY_COMMENTS_DELETE", "TASKS_DELETE", "FILES_UPDATE", "TASKS_CATEGORY_CREATE", "FILES_ADOBE_CREATE", "DISCUSSIONS_REPLY_DELETE", "NOTES_DESCRIPTION", "TASKS_CREATE", "GROUP_INVITES", "TASKS", "GROUP_COMMENTS_CREATE", "NOTES", "EVENTS_UPDATE", "FILES_DOCUSIGN_CREATE", "DISCUSSIONS_CREATE", "GROUP_ATTACHMENTS_CREATE", "GROUP_SHARES_CREATE", "GROUP_ACTIVITY_COMMENTS_CREATE", "GROUP_MEMBERS_DELETE", "GROUP_COMMENTS_DELETE", "GROUP_UPDATE", "NOTES_UPDATE", "GROUP_ATTACHMENTS", "GROUP_EXPORT", "FILES_DELETE", "GROUP_INVITES_DELETE", "GROUP_ACTIVITY", "GROUP_BRANDING", "GROUP_SHARES_DELETE", "GROUP_LABELS_CREATE", "FILES_VERSIONS", "TASKS_CATEGORY_DELETE", "NOTES_CREATE", "EVENTS_DELETE", "FILES_APPROVALS_CREATE", "GROUP_SHORTCUTS_UPDATE", "DISCUSSIONS_DELETE", "NOTES_VERSIONS_DOWNLOAD", "GROUP_ATTACHMENTS_DOWNLOAD", "FILES_DOCUSIGN" ],
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false,
"contextKey" : {
"id" : 719
},
"members" : 0,
"storageConsumed" : 0,
"blind" : false,
"disableChat" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"mailKey" : null,
"hash" : null,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
},
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"integrations" : null,
"master" : null,
"masterConfigured" : false,
"masterConfiguration" : null,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null,
"transparentWatermark" : null
}
}
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 25,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
Group member permission |
|
|
Group member creation timestamp |
|
|
Group member expiration timestamp |
|
|
Group member capabilities |
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
7.11.2. Get member details
Parameter | Description |
---|---|
|
Group id |
|
Member id |
GET /v3/groups/1/members/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/members/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/members/1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 4355
{
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"permission" : 16,
"dateCreated" : 1731310243466,
"expirationDate" : null,
"tags" : [ ],
"restrictedApps" : [ ],
"capabilities" : [ "DISCUSSIONS_REPLY", "DISCUSSIONS_UPDATE", "PERMISSIONS", "FILES_APPROVALS", "EVENTS", "EVENTS_CREATE", "NOTES_VERSIONS", "TASKS_ORDER", "GROUP_COMMENTS", "TASKS_UPDATE", "GROUP_SHORTCUTS_CREATE", "FILES_VERSIONS_RESTORE", "GROUP_ACTIVITY_COMMENTS", "GROUP_TRASH", "FILES_DESCRIPTION", "FILES_ADOBE", "FILES_CREATE", "GROUP_MEMBERS", "GROUP_ANNOUNCEMENTS_CREATE", "NOTES_VERSIONS_DELETE", "GROUP_ACTIVITY_CREATE", "FILES_ADOBE_DOWNLOAD", "GROUP_INVITES_UPDATE", "NOTES_DELETE", "GROUP_SHARES_UPDATE", "FILES_DOCUSIGN_DOWNLOAD", "NOTES_VERSIONS_RESTORE", "FILES_APPROVALS_DELETE", "GROUP_ATTACHMENTS_DELETE", "GROUP_MEMBERS_UPDATE", "GROUP_ANNOUNCEMENTS", "FILES_DOWNLOAD", "GROUP_ANNOUNCEMENTS_DELETE", "GROUP_ACTIVITY_DELETE", "GROUP_SHORTCUTS", "FILES", "PERMISSIONS_UPDATE", "GROUP_INVITES_CREATE", "GROUP_SHORTCUTS_DELETE", "GROUP_LABELS_DELETE", "GROUP_SHARES", "GROUP_DELETE", "TASKS_CATEGORY_UPDATE", "FILES_VERSIONS_DOWNLOAD", "DISCUSSIONS", "GROUP_ACTIVITY_COMMENTS_DELETE", "TASKS_DELETE", "FILES_UPDATE", "TASKS_CATEGORY_CREATE", "FILES_ADOBE_CREATE", "DISCUSSIONS_REPLY_DELETE", "NOTES_DESCRIPTION", "TASKS_CREATE", "GROUP_INVITES", "TASKS", "GROUP_COMMENTS_CREATE", "NOTES", "EVENTS_UPDATE", "FILES_DOCUSIGN_CREATE", "DISCUSSIONS_CREATE", "GROUP_ATTACHMENTS_CREATE", "GROUP_SHARES_CREATE", "GROUP_ACTIVITY_COMMENTS_CREATE", "GROUP_MEMBERS_DELETE", "GROUP_COMMENTS_DELETE", "GROUP_UPDATE", "NOTES_UPDATE", "GROUP_ATTACHMENTS", "GROUP_EXPORT", "FILES_DELETE", "GROUP_INVITES_DELETE", "GROUP_ACTIVITY", "GROUP_BRANDING", "GROUP_SHARES_DELETE", "GROUP_LABELS_CREATE", "FILES_VERSIONS", "TASKS_CATEGORY_DELETE", "NOTES_CREATE", "EVENTS_DELETE", "FILES_APPROVALS_CREATE", "GROUP_SHORTCUTS_UPDATE", "DISCUSSIONS_DELETE", "NOTES_VERSIONS_DOWNLOAD", "GROUP_ATTACHMENTS_DOWNLOAD", "FILES_DOCUSIGN" ],
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false,
"contextKey" : {
"id" : 270
},
"members" : 0,
"storageConsumed" : 0,
"blind" : false,
"disableChat" : false,
"disableEmailComments" : false,
"hideMemberDetails" : false,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"owner" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"mailKey" : null,
"hash" : null,
"branding" : {
"headerColor" : "#ffffff",
"textColor" : "#ff0000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
},
"components" : [ {
"name" : "files",
"order" : 0,
"configuration" : { }
}, {
"name" : "pages",
"order" : 1,
"configuration" : { }
}, {
"name" : "events",
"order" : 2,
"configuration" : { }
}, {
"name" : "tasks",
"order" : 3,
"configuration" : { }
} ],
"integrations" : null,
"master" : null,
"masterConfigured" : false,
"masterConfiguration" : null,
"watermarkConfiguration" : {
"enableWatermark" : false,
"enableWatermarkIp" : false,
"enableWatermarkEmail" : false,
"enableWatermarkTimestamp" : false,
"enableWatermarkCustomText" : false,
"watermarkCustomText" : null,
"watermarkStyle" : null,
"transparentWatermark" : null
}
}
}
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
Group member permission |
|
|
Group member creation timestamp |
|
|
Group member expiration timestamp |
|
|
Group member tags |
|
|
Group member capabilities |
|
|
Array of restricted app client id’s |
7.11.3. Update member
Update group permission or date till which member can access group.
Parameter | Description |
---|---|
|
Group id |
|
Member id |
PATCH /v3/groups/1/members/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 64
{"permission":4,"rights":null,"tags":null,"expirationDate":null}
$ echo '{"permission":4,"rights":null,"tags":null,"expirationDate":null}' | http PATCH 'https://api.clinked.com/v3/groups/1/members/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/members/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"permission":4,"rights":null,"tags":null,"expirationDate":null}'
Path | Type | Description |
---|---|---|
|
|
New permission |
|
|
Member rights ID |
|
|
Member group tags |
|
|
Expiration date if user is a temporary member |
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Group id |
|
|
Group name |
|
|
Group unique name/slug |
|
|
Amount of members in the group |
|
|
Amount of storage consumed by the group in bytes |
|
|
Do not allow basic read permission members to see each other |
|
|
Disable group comments |
|
|
Disable comments in e-mail notifications |
|
|
Hide sensitive member profile details such as email address, phone number, etc. |
|
|
Disable chat functionality |
|
|
Creation date |
|
|
Last modification date |
|
|
Group creator |
|
|
Group branding settings |
|
|
Group members detailed information |
|
|
Member expiration date timestamp |
|
|
Member user information |
|
|
Member permission setting |
|
|
Member creation timestamp |
|
|
Set of member capabilities in group |
|
|
true when master group is configured |
|
|
Number of subgroups configured with this group |
|
|
Context key |
|
|
Context key ID |
|
|
Primary group id |
|
|
List of enabled components with configuration |
|
|
List of enabled group integrations |
|
|
List of attached labels |
|
|
Group notifications configuration |
|
|
Notify members about new content |
|
|
Notify members about overdue tasks |
|
|
Disables all notifications for followed content |
|
|
Disables user content in email notifications such as comment text |
|
|
Group watermark configuration |
|
|
Enable watermarking across group |
|
|
Show user IP on the watermark |
|
|
Show user email on the watermark |
|
|
Show the timestamp on the watermark |
|
|
Show custom text on the watermark |
|
|
Watermark text is more transparent |
|
|
Custom text to show on watermark |
|
|
Custom text to show on watermark |
|
|
Enabled component name |
|
|
Enabled component ordering index |
|
|
Enabled component additional configuration properties |
|
|
Integration name |
|
|
Integration configuration |
|
|
Active queue jobs |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
Group member permission |
|
|
Group member creation timestamp |
|
|
Group member expiration timestamp |
|
|
Group member tags |
|
|
Group member capabilities |
7.11.4. Remove member
Parameter | Description |
---|---|
|
Group id |
|
Member id |
DELETE /v3/groups/1/members/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/members/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/members/1' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
7.12. Invites
This section shows how admins can manage group invitations.
7.12.1. List invites
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/invites HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/invites' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/invites' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Filter by name that starts with text |
|
Filter by name |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 202
[ {
"id" : 1,
"email" : "jack.bauer@clinked.com",
"permission" : 1,
"expirationDate" : 1731310244211,
"inviteKey" : "4f571e4a-5f7c-422f-bbeb-b86eda99fa27",
"lastModified" : 1731310244211
} ]
Path | Type | Description |
---|---|---|
|
|
Invite id |
|
|
Email address |
|
|
Group permission |
|
|
Membership expiration date |
|
|
Invitation key |
|
|
Last modified date |
7.12.2. Get invite details
Parameter | Description |
---|---|
|
Group id |
|
Invite id |
GET /v3/groups/1/invites/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/invites/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/invites/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 198
{
"id" : 1,
"email" : "jack.bauer@clinked.com",
"permission" : 1,
"expirationDate" : 1731310244702,
"inviteKey" : "d918c6e7-73e2-4067-95eb-5a459c908dd0",
"lastModified" : 1731310244702
}
Path | Type | Description |
---|---|---|
|
|
Invite id |
|
|
Email address |
|
|
Group permission |
|
|
Membership expiration date |
|
|
Invitation key |
|
|
Last modified date |
7.12.3. Invite a new member
Invites a new member to a group.
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/invites HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 236
{"emails":["jack@clinked.com","bob@clinked.com"],"message":"Accepting this invite means that you will be able to create & share content, manage tasks and schedule events in a secure environment.","expirationTime":3600000,"permission":4}
$ echo '{"emails":["jack@clinked.com","bob@clinked.com"],"message":"Accepting this invite means that you will be able to create & share content, manage tasks and schedule events in a secure environment.","expirationTime":3600000,"permission":4}' | http POST 'https://api.clinked.com/v3/groups/1/invites' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/invites' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"emails":["jack@clinked.com","bob@clinked.com"],"message":"Accepting this invite means that you will be able to create & share content, manage tasks and schedule events in a secure environment.","expirationTime":3600000,"permission":4}'
Path | Type | Description |
---|---|---|
|
|
List of email addresses to invite |
|
|
Message to send with an invite |
|
|
Expiration time in milliseconds. This is a relative time, not a timestamp. |
|
|
Group permission |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 389
[ {
"id" : 1,
"email" : "jack@clinked.com",
"permission" : 4,
"expirationDate" : 1731313844531,
"inviteKey" : "6b6b6655-38a1-4817-b38f-b37942ecb1ef",
"lastModified" : 1731310244532
}, {
"id" : 2,
"email" : "bob@clinked.com",
"permission" : 4,
"expirationDate" : 1731313844532,
"inviteKey" : "86756677-a59d-4ee3-8eb7-8323fdfedd7a",
"lastModified" : 1731310244532
} ]
Path | Type | Description |
---|---|---|
|
|
Invite id |
|
|
Email address |
|
|
Group permission |
|
|
Membership expiration date |
|
|
Invitation key |
|
|
Last modified date |
7.12.4. Update invite
Partially updates an invitation.
Parameter | Description |
---|---|
|
Group id |
|
Invite id |
PATCH /v3/groups/1/invites/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 17
{"permission":16}
$ echo '{"permission":16}' | http PATCH 'https://api.clinked.com/v3/groups/1/invites/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/invites/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"permission":16}'
Path | Type | Description |
---|---|---|
|
|
Permission mask |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 199
{
"id" : 1,
"email" : "jack.bauer@clinked.com",
"permission" : 16,
"expirationDate" : 1731310244733,
"inviteKey" : "d70e351c-9233-4221-a4da-6083c8a7e0e9",
"lastModified" : 1731310244733
}
Path | Type | Description |
---|---|---|
|
|
Invite id |
|
|
Email address |
|
|
Group permission |
|
|
Membership expiration date |
|
|
Invitation key |
|
|
Last modified date |
7.12.5. Delete an invitation
Parameter | Description |
---|---|
|
Group id |
|
Invite id |
DELETE /v3/groups/1/invites/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/invites/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/invites/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
7.13. Group trash
Group trash contains removed group content. It can be used to restore removed data or delete it permanently to free up available space.
7.13.1. List trash items
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/trash?page=1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/trash?page=1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/trash?page=1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number to load |
|
Order field |
|
Ascending order direction |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 443
{
"items" : [ {
"id" : 1,
"type" : "page",
"friendlyName" : "Home Page",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310246129
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 25,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Next page exists |
|
|
Previous page exists |
|
|
Total amount of available pages |
|
|
Total amount of results |
|
|
List of trash items |
|
|
Trash entry id |
|
|
Date of removal |
|
|
User who removed an entity |
|
|
File id |
|
|
Component entry content type |
|
|
Component entry full name |
|
|
User who removed it |
|
|
Removal timestamp |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
7.13.2. Permanently delete trash item
You can’t undo this action. Once you delete an item from trash bin, it will be lost forever. |
Parameter | Description |
---|---|
|
Group id |
|
Item id |
DELETE /v3/groups/1/trash/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/trash/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/trash/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
7.13.3. Permanently delete multiple trash items
Permanently deletes multiple trash items in one request.
You can’t undo this action. Once you delete an item from trash bin, it will be lost forever. |
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/trash HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 57
{"action": "delete", "items":[1,2,3], "processAll":false}
$ echo '{"action": "delete", "items":[1,2,3], "processAll":false}' | http POST 'https://api.clinked.com/v3/groups/1/trash' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/trash' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"action": "delete", "items":[1,2,3], "processAll":false}'
Path | Type | Description |
---|---|---|
|
|
Restore or delete |
|
|
List of trash entry id to delete |
|
|
Should delete all items in trash |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 922
{
"success" : [ {
"id" : 1,
"type" : "page",
"friendlyName" : "Home Page",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310246226
}, {
"id" : 2,
"type" : "page",
"friendlyName" : "Home Page",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310246226
}, {
"id" : 3,
"type" : "page",
"friendlyName" : "Home Page",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310246230
} ],
"error" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
List of deleted item id |
|
|
Amount of item ids that were failed to delete |
|
|
File id |
|
|
Component entry content type |
|
|
Component entry full name |
|
|
User who removed it |
|
|
Removal timestamp |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
7.13.4. Restore trash item
Restores trash item back to its original location.
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/trash HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 38
{"action": "restore", "items":[1,2,3]}
$ echo '{"action": "restore", "items":[1,2,3]}' | http POST 'https://api.clinked.com/v3/groups/1/trash' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/trash' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"action": "restore", "items":[1,2,3]}'
Path | Type | Description |
---|---|---|
|
|
Restore or delete |
|
|
List of trash entry id to restore |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 922
{
"success" : [ {
"id" : 1,
"type" : "page",
"friendlyName" : "Home Page",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310246093
}, {
"id" : 2,
"type" : "page",
"friendlyName" : "Home Page",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310246093
}, {
"id" : 3,
"type" : "page",
"friendlyName" : "Home Page",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310246094
} ],
"error" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
Restored items |
|
|
Items that were failed to restore |
|
|
File id |
|
|
Component entry content type |
|
|
Component entry full name |
|
|
User who removed it |
|
|
Removal timestamp |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
7.13.5. Trash progress
After removing all items from trash, with "processAll" You can follow the progress.
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/trash/progress HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/trash/progress' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/trash/progress' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 24
{
"progress" : 18.18
}
Path | Type | Description |
---|---|---|
|
|
Progress percentage |
7.14. Branding
7.14.1. Update/Create branding
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/branding HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 262
{"logoFile":null,"backgroundFile":null,"logo":false,"background":false,"headerColor":"#27ae60","backgroundPositionX":50,"backgroundPositionY":50,"alignment":"center","hideBackgroundGradient":false,"hideLogoBackground":true,"hideGroupName":false,"hideLogo":false}
$ echo '{"logoFile":null,"backgroundFile":null,"logo":false,"background":false,"headerColor":"#27ae60","backgroundPositionX":50,"backgroundPositionY":50,"alignment":"center","hideBackgroundGradient":false,"hideLogoBackground":true,"hideGroupName":false,"hideLogo":false}' | http POST 'https://api.clinked.com/v3/groups/1/branding' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/branding' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"logoFile":null,"backgroundFile":null,"logo":false,"background":false,"headerColor":"#27ae60","backgroundPositionX":50,"backgroundPositionY":50,"alignment":"center","hideBackgroundGradient":false,"hideLogoBackground":true,"hideGroupName":false,"hideLogo":false}'
Path | Type | Description |
---|---|---|
|
|
Header color |
|
|
Has custom logo |
|
|
Has custom background |
|
|
Logo alignment |
|
|
Background X position |
|
|
Background Y position |
|
|
Is background gradient hidden |
|
|
Is logo gradient hidden |
|
|
Is logo hidden |
|
|
Is group name hidden |
|
|
Temp file id |
|
|
Temp file id |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 301
{
"headerColor" : "#dfdfdf",
"textColor" : "#000000",
"logo" : false,
"background" : false,
"alignment" : "left",
"backgroundPositionX" : 50,
"backgroundPositionY" : 50,
"hideBackgroundGradient" : false,
"hideLogoBackground" : false,
"hideGroupName" : false,
"hideLogo" : false
}
Path | Type | Description |
---|---|---|
|
|
Header color |
|
|
Text color |
|
|
Has custom logo |
|
|
Has custom background |
|
|
Logo alignment |
|
|
Background X position |
|
|
Background Y position |
|
|
Is background gradient hidden |
|
|
Is logo gradient hidden |
|
|
Is logo hidden |
|
|
Is group name hidden |
7.15. Components
7.15.1. List components
Parameter | Description |
---|---|
|
Organisation id |
|
Group name |
GET /v3/accounts/1/groups/1/components HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/accounts/1/groups/1/components' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/accounts/1/groups/1/components' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 144
[ {
"name" : "files",
"beta" : false,
"title" : "Files",
"description" : "Share and track versions of files",
"iconName" : "files"
} ]
Path | Type | Description |
---|---|---|
|
|
Component name |
|
|
Component release status is beta |
|
|
Component title |
|
|
Component description |
|
|
Component icon name |
7.16. Group labels
The Group Labeling feature enables users to create and categorize groups by adding custom labels. This enhances organization and accessibility, allowing users to quickly identify and manage their groups, making the overall experience more streamlined and user-friendly.
This section shows how to create and manage your group labels.
7.16.1. List labels
Returns list of labels.
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/labels HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/labels' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/labels' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 58
[ {
"id" : 1,
"name" : "dummyLabel",
"order" : 0
} ]
Path | Type | Description |
---|---|---|
|
|
Label id |
|
|
Label name |
|
|
Order number |
7.16.2. Attach label
Attach label to group.
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/labels HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 36
{"items":[{"label":1,"order":null}]}
$ echo '{"items":[{"label":1,"order":null}]}' | http POST 'https://api.clinked.com/v3/groups/1/labels' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/labels' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"items":[{"label":1,"order":null}]}'
Path | Type | Description |
---|---|---|
|
|
List of order entries |
|
|
Label id |
|
|
Order |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 105
{
"attached" : [ {
"id" : 1,
"name" : "dummyLabel",
"order" : 0
} ],
"failures" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
Label id |
|
|
Label name |
|
|
Order number |
|
|
Failed labels, same fields as attached ones |
7.16.3. Remove label
Removes label from group.
Parameter | Description |
---|---|
|
Group id |
|
Label id |
DELETE /v3/groups/1/labels/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/labels/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/labels/1' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
7.16.4. Remove all labels
Removes all labels from group
Parameter | Description |
---|---|
|
Group id |
DELETE /v3/groups/1/labels HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/labels' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/labels' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
7.17. Announcements
For more information about the feature itself, see our Help Center page. |
7.17.1. List announcements
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/announcements HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/announcements' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/announcements' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 114
[ {
"title" : "title",
"body" : "body",
"colour" : "success",
"propagate" : false,
"inherit" : false
} ]
Path | Type | Description |
---|---|---|
|
|
Announcement id |
|
|
Announcement title |
|
|
Announcement body |
|
|
Announcement colour |
|
|
Propagate the announcement as the default value |
|
|
The announcement is inherited from account level |
7.17.2. Single announcement
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/announcements?id=xyz HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/announcements?id=xyz' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/announcements?id=xyz' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 110
{
"title" : "title",
"body" : "body",
"colour" : "success",
"propagate" : false,
"inherit" : false
}
Path | Type | Description |
---|---|---|
|
|
Announcement id |
|
|
Announcement title |
|
|
Announcement body |
|
|
Announcement colour |
|
|
Propagate the announcement as the default value |
|
|
The announcement is inherited from account level |
7.17.3. Create/Update announcement
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/announcements HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 66
{"id": "test","title": "title","body": "body","colour": "success"}
$ echo '{"id": "test","title": "title","body": "body","colour": "success"}' | http POST 'https://api.clinked.com/v3/groups/1/announcements' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/announcements' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"id": "test","title": "title","body": "body","colour": "success"}'
Parameter | Description |
---|---|
|
Specific announcement by the ID (same as dashboard widget id) |
Path | Type | Description |
---|---|---|
|
|
Announcement id |
|
|
Announcement title |
|
|
Announcement body |
|
|
Announcement colour |
{
"id" : "test",
"title" : "title",
"body" : "body",
"colour" : "success",
"propagate" : false,
"inherit" : false
}
Path | Type | Description |
---|---|---|
|
|
Announcement id |
|
|
Announcement title |
|
|
Announcement body |
|
|
Announcement colour |
|
|
Propagate the announcement as the default value |
|
|
The announcement is inherited from account level |
7.17.4. Delete announcement
Parameter | Description |
---|---|
|
Group id |
DELETE /v3/groups/1/announcements HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/announcements' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/announcements' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Specific announcement id, if not provided main announcement will be deleted |
HTTP/1.1 200 OK
7.18. Properties
7.18.1. List properties
Parameter | Description |
---|---|
|
Group ID |
GET /v3/groups/1/properties?startsWith=test HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/properties?startsWith=test' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/properties?startsWith=test' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Property prefix |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 46
[ {
"name" : "name",
"value" : "value"
} ]
Path | Type | Description |
---|---|---|
|
|
property name |
|
|
property value |
7.18.2. Create property
Parameter | Description |
---|---|
|
Group ID |
POST /v3/groups/1/properties HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 38
{
"name": "test",
"value": "123"
}
$ echo '{
"name": "test",
"value": "123"
}' | http POST 'https://api.clinked.com/v3/groups/1/properties' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/properties' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"name": "test",
"value": "123"
}'
Path | Type | Description |
---|---|---|
|
|
property name |
|
|
property value |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 40
{
"name" : "test",
"value" : "123"
}
Path | Type | Description |
---|---|---|
|
|
property name |
|
|
property value |
7.18.3. Delete property
Parameter | Description |
---|---|
|
Group ID |
|
Property name |
DELETE /v3/groups/1/properties/test HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/properties/test' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/properties/test' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
7.19. Mail recipients
For uploading files trough email, You can create custom usernames for group or folder. If username is created only for group the result will be "yourGroupUsername-[folderId]@yourDomain.com"
7.19.1. Get recipient username
Return username for group/folder.
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/incoming-mail-recipients?contentContext=file_1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/incoming-mail-recipients?contentContext=file_1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/incoming-mail-recipients?contentContext=file_1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
file context key i.e. file_{fileId} |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 265
[ {
"id" : 1,
"recipient" : "awesome username",
"space" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
},
"contentContext" : {
"id" : 858
},
"dateCreated" : 1514764800000
} ]
Path | Type | Description |
---|---|---|
|
|
Recipient id |
|
|
Email username |
|
|
Date created |
|
|
content context id |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
7.19.2. Create recipient username
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/incoming-mail-recipients HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 61
{
"recipient" : "customUsername",
"contentContext" : 22
}
$ echo '{
"recipient" : "customUsername",
"contentContext" : 22
}' | http POST 'https://api.clinked.com/v3/groups/1/incoming-mail-recipients' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/incoming-mail-recipients' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"recipient" : "customUsername",
"contentContext" : 22
}'
Path | Type | Description |
---|---|---|
|
|
Recipient name |
|
|
Folder context key id |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 262
{
"id" : null,
"recipient" : "customUsername",
"space" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
},
"contentContext" : {
"id" : 832
},
"dateCreated" : 1731310249847
}
7.19.3. Update recipient username
Parameter | Description |
---|---|
|
Group id |
|
Recipient id |
PATCH /v3/groups/1/incoming-mail-recipients/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 34
{
"recipient" : "newRecipient"
}
$ echo '{
"recipient" : "newRecipient"
}' | http PATCH 'https://api.clinked.com/v3/groups/1/incoming-mail-recipients/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/incoming-mail-recipients/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"recipient" : "newRecipient"
}'
Path | Type | Description |
---|---|---|
|
|
Recipient name |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 257
{
"id" : 1,
"recipient" : "newRecipient",
"space" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
},
"contentContext" : {
"id" : 601
},
"dateCreated" : 1514764800000
}
7.19.4. Delete recipient username
Parameter | Description |
---|---|
|
Group id |
|
Recipient id |
DELETE /v3/groups/1/incoming-mail-recipients/2 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/incoming-mail-recipients/2' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/incoming-mail-recipients/2' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
8. Files
This section shows how to upload and manage your group files. NOTE: For more information about the feature itself, see our Help Center page.
8.1. List files
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/filesList?page=1&size=5 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/filesList?page=1&size=5' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/filesList?page=1&size=5' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number to load |
|
Page size |
|
Order field |
|
Ascending order direction |
|
Additional data to load |
|
Name filter/search |
|
Parent folder id |
|
Search across all parents |
|
Search inside parent siblings (does not work with flat=true) |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 2043
{
"items" : [ {
"id" : 1,
"contextKey" : {
"id" : 61
},
"sharing" : "NONE",
"memberPermission" : 2,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"name" : "example_folder",
"friendlyName" : "Example Folder",
"contentType" : "@folder",
"size" : 0,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : null,
"locked" : false,
"locker" : null,
"lastModified" : 1514764800000,
"summary" : null,
"path" : [ ],
"versions" : 0,
"previewInfo" : null,
"watermark" : false,
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}, {
"id" : 1,
"contextKey" : {
"id" : 43
},
"sharing" : "NONE",
"memberPermission" : 2,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"name" : "file_example.pdf",
"friendlyName" : "File Example.pdf",
"contentType" : "application/pdf",
"size" : 1000,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : "tag1,tag2",
"locked" : false,
"locker" : null,
"lastModified" : 1514764800000,
"summary" : null,
"path" : [ ],
"versions" : 0,
"previewInfo" : null,
"watermark" : false,
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ],
"currentPage" : 1,
"pageSize" : 5,
"totalResults" : 0,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
Base information about the group |
|
|
Unique file name, generated automatically by API |
|
|
Full file name that should be visible to a user |
|
|
Content type |
|
|
Size in bytes |
|
|
User who uploaded a file |
|
|
Number of versions |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Tags separated by comma |
|
|
File is locked and should not be updated |
|
|
User locked the file |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Preview data if available |
|
|
Array of all file records making up the path of this file (incl. itself) |
|
|
File parent folder |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
Latest file version comment |
|
|
Indicates that user is following the file record or not |
|
|
Amount of shares |
|
|
Indicates that the file record has individual access control entries in the file record ACL |
|
|
The current user permission to file record |
|
|
Amount of comments |
|
|
Amount of tasks linked to this file |
|
|
File watermark status |
|
|
Active file jobs |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User’s full name |
|
|
User’s usernae if the user is defined |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
8.2. Search files
Search file by its path
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/files?path=folder-file_csv HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files?path=folder-file_csv' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files?path=folder-file_csv' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
File path, file path should use '-' as separator and 'name' from response. Example: folder_1-folder_2 |
|
Set of file id’s |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1068
{
"id" : 1,
"contextKey" : {
"id" : 31
},
"sharing" : "NONE",
"memberPermission" : 2,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"name" : "file_example.pdf",
"friendlyName" : "File Example.pdf",
"contentType" : "application/pdf",
"size" : 1000,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : "tag1,tag2",
"locked" : false,
"locker" : null,
"lastModified" : 1514764800000,
"summary" : null,
"approvalSummary" : {
"pendingCount" : 0,
"rejectedCount" : 0,
"approvedCount" : 0,
"count" : 0,
"activeRequest" : null
},
"path" : [ ],
"versions" : 0,
"tasksCount" : 0,
"previewInfo" : null,
"watermark" : false,
"jobs" : [ ],
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
Base information about the group |
|
|
Unique file name, generated automatically by API |
|
|
Full file name that should be visible to a user |
|
|
Content type |
|
|
Size in bytes |
|
|
User who uploaded a file |
|
|
Number of versions |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Tags separated by comma |
|
|
File is locked and should not be updated |
|
|
User locked the file |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Preview data if available |
|
|
Array of all file records making up the path of this file (incl. itself) |
|
|
File parent folder |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
Latest file version comment |
|
|
Indicates that user is following the file record or not |
|
|
Amount of shares |
|
|
Indicates that the file record has individual access control entries in the file record ACL |
|
|
The current user permission to file record |
|
|
Amount of comments |
|
|
Amount of tasks linked to this file |
|
|
File watermark status |
|
|
Active file jobs |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User’s full name |
|
|
User’s usernae if the user is defined |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
8.3. File details
Returns detailed information about a single file.
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1069
{
"id" : 1,
"contextKey" : {
"id" : 809
},
"sharing" : "NONE",
"memberPermission" : 2,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"name" : "file_example.pdf",
"friendlyName" : "File Example.pdf",
"contentType" : "application/pdf",
"size" : 1000,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : "tag1,tag2",
"locked" : false,
"locker" : null,
"lastModified" : 1514764800000,
"summary" : null,
"approvalSummary" : {
"pendingCount" : 0,
"rejectedCount" : 0,
"approvedCount" : 0,
"count" : 0,
"activeRequest" : null
},
"path" : [ ],
"versions" : 0,
"tasksCount" : 0,
"previewInfo" : null,
"watermark" : false,
"jobs" : [ ],
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
Base information about the group |
|
|
Unique file name, generated automatically by API |
|
|
Full file name that should be visible to a user |
|
|
Content type |
|
|
Size in bytes |
|
|
User who uploaded a file |
|
|
Number of versions |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Tags separated by comma |
|
|
File is locked and should not be updated |
|
|
User locked the file |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Preview data if available |
|
|
Array of all file records making up the path of this file (incl. itself) |
|
|
File parent folder |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
Latest file version comment |
|
|
Indicates that user is following the file record or not |
|
|
Amount of shares |
|
|
Indicates that the file record has individual access control entries in the file record ACL |
|
|
The current user permission to file record |
|
|
Amount of comments |
|
|
Amount of tasks linked to this file |
|
|
File watermark status |
|
|
Active file jobs |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User’s full name |
|
|
User’s usernae if the user is defined |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
8.4. Remove file or folder
Moves file to group trash bin.
You can always restore trash bin items later, see group trash section for details. |
Parameter | Description |
---|---|
|
Group id |
|
File id |
DELETE /v3/groups/1/files/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/files/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 256
{
"id" : 15,
"contextKey" : {
"id" : 347
},
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310252148
}
Path | Type | Description |
---|---|---|
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
User who removed this |
|
|
Remove timestamp |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
8.5. Update File
Allows to partially update file metadata.
Parameter | Description |
---|---|
|
Group id |
|
File id |
PATCH /v3/groups/1/files/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 178
{
"friendlyName": "Updated name.pdf",
"tags": "new,tags",
"following": "false",
"lock": "false",
"parent": null,
"watermark": true,
"tempFile": null
}
$ echo '{
"friendlyName": "Updated name.pdf",
"tags": "new,tags",
"following": "false",
"lock": "false",
"parent": null,
"watermark": true,
"tempFile": null
}' | http PATCH 'https://api.clinked.com/v3/groups/1/files/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "Updated name.pdf",
"tags": "new,tags",
"following": "false",
"lock": "false",
"parent": null,
"watermark": true,
"tempFile": null
}'
Path | Type | Description |
---|---|---|
|
|
Friendly name of file |
|
|
Comma separated tags attached to file record |
|
|
Follow file |
|
|
File is locked and should not be updated |
|
|
Parent folder id |
|
|
Temporary file ID |
|
|
File watermark status |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1067
{
"id" : 1,
"contextKey" : {
"id" : 850
},
"sharing" : "NONE",
"memberPermission" : 2,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"name" : "file_example.pdf",
"friendlyName" : "Updated name.pdf",
"contentType" : "application/pdf",
"size" : 1000,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : "new,tags",
"locked" : false,
"locker" : null,
"lastModified" : 1514764800000,
"summary" : null,
"approvalSummary" : {
"pendingCount" : 0,
"rejectedCount" : 0,
"approvedCount" : 0,
"count" : 0,
"activeRequest" : null
},
"path" : [ ],
"versions" : 0,
"tasksCount" : 0,
"previewInfo" : null,
"watermark" : true,
"jobs" : [ ],
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
Base information about the group |
|
|
Unique file name, generated automatically by API |
|
|
Full file name that should be visible to a user |
|
|
Content type |
|
|
Size in bytes |
|
|
User who uploaded a file |
|
|
Number of versions |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Tags separated by comma |
|
|
File is locked and should not be updated |
|
|
User locked the file |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Preview data if available |
|
|
Array of all file records making up the path of this file (incl. itself) |
|
|
File parent folder |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
Latest file version comment |
|
|
Indicates that user is following the file record or not |
|
|
Amount of shares |
|
|
Indicates that the file record has individual access control entries in the file record ACL |
|
|
The current user permission to file record |
|
|
Amount of comments |
|
|
Amount of tasks linked to this file |
|
|
File watermark status |
|
|
Active file jobs |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User’s full name |
|
|
User’s usernae if the user is defined |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
8.6. Create folder
Creates a folder or a sub-folder.
Parameter | Description |
---|---|
|
Group id |
|
Folder id |
POST /v3/groups/1/files/2 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 139
{
"friendlyName": "Awesome folder name",
"memberPermission": 8,
"sharing": "MEMBERS",
"versionSummary": "Initial version"
}
$ echo '{
"friendlyName": "Awesome folder name",
"memberPermission": 8,
"sharing": "MEMBERS",
"versionSummary": "Initial version"
}' | http POST 'https://api.clinked.com/v3/groups/1/files/2' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/2' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "Awesome folder name",
"memberPermission": 8,
"sharing": "MEMBERS",
"versionSummary": "Initial version"
}'
Path | Type | Description |
---|---|---|
|
|
Full file name |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Version summary text |
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 1059
{
"id" : 5,
"contextKey" : {
"id" : 15
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"name" : "awesome_folder_name",
"friendlyName" : "Awesome folder name",
"contentType" : "@folder",
"size" : 0,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : null,
"locked" : false,
"locker" : null,
"lastModified" : 1731310251500,
"summary" : null,
"approvalSummary" : {
"pendingCount" : 0,
"rejectedCount" : 0,
"approvedCount" : 0,
"count" : 0,
"activeRequest" : null
},
"path" : [ ],
"versions" : 0,
"tasksCount" : 0,
"previewInfo" : null,
"watermark" : false,
"jobs" : [ ],
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
Base information about the group |
|
|
Unique file name, generated automatically by API |
|
|
Full file name that should be visible to a user |
|
|
Content type |
|
|
Size in bytes |
|
|
User who uploaded a file |
|
|
Number of versions |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Tags separated by comma |
|
|
File is locked and should not be updated |
|
|
User locked the file |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Preview data if available |
|
|
Array of all file records making up the path of this file (incl. itself) |
|
|
File parent folder |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
Latest file version comment |
|
|
Indicates that user is following the file record or not |
|
|
Amount of shares |
|
|
Indicates that the file record has individual access control entries in the file record ACL |
|
|
The current user permission to file record |
|
|
Amount of comments |
|
|
Amount of tasks linked to this file |
|
|
File watermark status |
|
|
Active file jobs |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User’s full name |
|
|
User’s usernae if the user is defined |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
8.7. Preview
Most of the files can be viewed without downloading.
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/1/preview HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/preview' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/preview' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 389
{
"session" : {
"id" : "3123123-kjhgkjhg",
"dateCreated" : "2023-06-29T11:55:40.851Z",
"dateExpire" : "2023-06-29T12:25:40.851Z",
"data" : {
"print" : true,
"annotate" : true,
"user" : {
"name" : "Jack Bauer",
"id" : 1
}
}
},
"url" : "example.com",
"websocketUrl" : "wss:example.com",
"embedUrl" : "example.com/embed"
}
Path | Type | Description |
---|---|---|
|
|
Session |
|
|
Session id |
|
|
Date created |
|
|
Date expire |
|
|
Has write permission |
|
|
Are comments not disabled |
|
|
User |
|
|
User id |
|
|
User name |
|
|
Preview url |
|
|
Websocket url |
|
|
Embed url |
8.8. Thumbnail
Download file thumbnail if it has one, otherwise default thumbnail gets returned.
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/1/thumbnail HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/thumbnail' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/thumbnail' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Disposition: inline; filename="null"
Last-Modified: Mon, 01 Jan 2018 00:00:00 GMT
Content-Length: 4623
Content-Type: image/png
Accept-Ranges: bytes
8.9. Download
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/1/download HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/download' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/download' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Disposition: inline; filename="null"
Last-Modified: Mon, 01 Jan 2018 00:00:00 GMT
Content-Length: 4623
Content-Type: image/png
Accept-Ranges: bytes
8.10. Versions
File versioning tracks and stores multiple versions of a file, facilitating change management and preserving a history of modifications. It ensures data integrity, simplifies collaboration, and provides a safety net for recovering previous file states if necessary.
8.10.1. List Versions
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/1/versions HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/versions' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/versions' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 515
{
"items" : [ {
"id" : 2,
"versionNumber" : 2,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"summary" : "summary",
"lastModified" : 1514764801000,
"size" : 1000
} ],
"currentPage" : 1,
"pageSize" : 25,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Array of items |
|
|
Version Id |
|
|
Version summary |
|
|
Last modified timestamp |
|
|
Version size |
|
|
Version number |
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
8.10.2. Restore Version
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Version id |
POST /v3/groups/1/files/1/versions/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http POST 'https://api.clinked.com/v3/groups/1/files/1/versions/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/versions/1' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1
2
Type | Description |
---|---|
|
Version count |
8.10.3. Download version
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Version id |
GET /v3/groups/1/files/1/versions/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/versions/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/versions/1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 302 Found
Location: example.com
8.11. Permissions
File permissions can be set at the group level or member level. Group-level permissions apply to a group, while member-level permissions grant specific access rights to individual users. This allows for flexible and controlled access management. NOTE: For more information about permissions, see our Help Center page.
8.11.1. List Permissions
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/2/permissions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/2/permissions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/files/2/permissions' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 747
{
"sharing" : "NONE",
"memberPermission" : 2,
"entries" : [ {
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"permission" : 16
} ]
}
Path | Type | Description |
---|---|---|
|
|
Sharing - NONE, DEFAULT, MEMBERS |
|
|
Member permission |
|
|
Permission entries |
|
|
User object |
|
|
User permission |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
8.11.2. Update permissions
Parameter | Description |
---|---|
|
Group id |
|
File id |
POST /v3/groups/1/files/2/permissions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 106
{"sharing":"MEMBERS","memberPermission":4,"entries":[{"username":"jack","permission":4}],"children":false}
$ echo '{"sharing":"MEMBERS","memberPermission":4,"entries":[{"username":"jack","permission":4}],"children":false}' | http POST 'https://api.clinked.com/v3/groups/1/files/2/permissions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/files/2/permissions' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{"sharing":"MEMBERS","memberPermission":4,"entries":[{"username":"jack","permission":4}],"children":false}'
Path | Type | Description |
---|---|---|
|
|
Sharing - NONE | DEFAULT | MEMBERS |
|
|
Member permission |
|
|
Permission entries |
|
|
User’s username for update permission |
|
|
New permission |
|
|
If should update children entities |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 747
{
"sharing" : "NONE",
"memberPermission" : 2,
"entries" : [ {
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"permission" : 16
} ]
}
Path | Type | Description |
---|---|---|
|
|
Sharing - NONE, DEFAULT, MEMBERS |
|
|
Member permission |
|
|
Permission entries |
|
|
User object |
|
|
User permission |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
8.12. Tasks
Files can have tasks attached to it.
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/filesList?page=1&size=5 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/filesList?page=1&size=5' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/filesList?page=1&size=5' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 2043
{
"items" : [ {
"id" : 1,
"contextKey" : {
"id" : 61
},
"sharing" : "NONE",
"memberPermission" : 2,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"name" : "example_folder",
"friendlyName" : "Example Folder",
"contentType" : "@folder",
"size" : 0,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : null,
"locked" : false,
"locker" : null,
"lastModified" : 1514764800000,
"summary" : null,
"path" : [ ],
"versions" : 0,
"previewInfo" : null,
"watermark" : false,
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}, {
"id" : 1,
"contextKey" : {
"id" : 43
},
"sharing" : "NONE",
"memberPermission" : 2,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"name" : "file_example.pdf",
"friendlyName" : "File Example.pdf",
"contentType" : "application/pdf",
"size" : 1000,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : "tag1,tag2",
"locked" : false,
"locker" : null,
"lastModified" : 1514764800000,
"summary" : null,
"path" : [ ],
"versions" : 0,
"previewInfo" : null,
"watermark" : false,
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ],
"currentPage" : 1,
"pageSize" : 5,
"totalResults" : 0,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
Base information about the group |
|
|
Unique file name, generated automatically by API |
|
|
Full file name that should be visible to a user |
|
|
Content type |
|
|
Size in bytes |
|
|
User who uploaded a file |
|
|
Number of versions |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Tags separated by comma |
|
|
File is locked and should not be updated |
|
|
User locked the file |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Preview data if available |
|
|
Array of all file records making up the path of this file (incl. itself) |
|
|
File parent folder |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
Latest file version comment |
|
|
Indicates that user is following the file record or not |
|
|
Amount of shares |
|
|
Indicates that the file record has individual access control entries in the file record ACL |
|
|
The current user permission to file record |
|
|
Amount of comments |
|
|
Amount of tasks linked to this file |
|
|
File watermark status |
|
|
Active file jobs |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User’s full name |
|
|
User’s usernae if the user is defined |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
8.13. Approvals
Approvals are sort of like simple e-signatures. You can easily request for a file to be approved by another person within your portal. This way, everyone can see if the latest document version is signed off or rejected.
For more information about the feature itself, see our Help Center page. |
8.13.1. List approvals
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/1/approvals HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/approvals' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/approvals' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
File version number |
|
Page number |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 302
{
"items" : [ {
"version" : {
"id" : null,
"versionNumber" : 1,
"uploaded" : null,
"summary" : null,
"lastModified" : null,
"size" : null
},
"requests" : [ ]
} ],
"currentPage" : 1,
"pageSize" : 5,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
8.13.2. Create approval request
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Approval id |
POST /v3/groups/1/files/1/approvals HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 30
{
"usernames" : [ "jack" ]
}
$ echo '{
"usernames" : [ "jack" ]
}' | http POST 'https://api.clinked.com/v3/groups/1/files/1/approvals' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/approvals' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"usernames" : [ "jack" ]
}'
Path | Type | Description |
---|---|---|
|
|
Usernames to request approval from |
|
|
Emails to request approval from, use if user is not a part of your account |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 842
[ {
"id" : 1,
"contextKey" : {
"id" : 861
},
"source" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"target" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"container" : {
"id" : 1,
"contextKey" : {
"id" : 861
},
"type" : "account"
},
"sourceName" : "jack.bauer@clinked.com",
"targetName" : "jack.bauer@clinked.com",
"type" : "FILE_APPROVAL",
"status" : "NONE",
"scope" : "2",
"parameters" : null,
"lastModified" : 1514764800000,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
}
} ]
Path | Type | Description |
---|---|---|
|
|
Entity id |
|
|
Context key |
|
|
Context key ID |
|
|
User who created a request |
|
|
Target user |
|
|
Request container |
|
|
Source user name |
|
|
Target user name |
|
|
Request type |
|
|
Request status |
|
|
Scope |
|
|
Additional parameters |
|
|
Last modification date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
8.13.3. Delete approval
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Approval id |
DELETE /v3/groups/1/files/1/approvals/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/files/1/approvals/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/approvals/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
8.14. Adobe Sign
For more information about the feature itself, see our Help Center page. |
8.14.1. Status
Checks if AdobeSign is enabled and file is supported.
Parameter | Description |
---|---|
|
Group id |
|
File id |
HEAD /v3/groups/1/files/1/adobesign HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http HEAD 'https://api.clinked.com/v3/groups/1/files/1/adobesign' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/adobesign' -i -X HEAD \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
8.14.2. Sign file
Parameter | Description |
---|---|
|
Group id |
|
File id |
POST /v3/groups/1/files/1/adobesign HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http POST 'https://api.clinked.com/v3/groups/1/files/1/adobesign' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/adobesign' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 55
{
"redirect" : "example.com/agreement-creation-url"
}
Path | Type | Description |
---|---|---|
|
|
Newly created agreement url |
8.14.3. Sign multiple files
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/files/adobesign/batch HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 16
{ "files": [1] }
$ echo '{ "files": [1] }' | http POST 'https://api.clinked.com/v3/groups/1/files/adobesign/batch' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/adobesign/batch' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{ "files": [1] }'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 55
{
"redirect" : "example.com/agreement-creation-url"
}
Path | Type | Description |
---|---|---|
|
|
Newly created agreement url |
8.14.4. List agreements
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/1/adobesign HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/adobesign' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/adobesign' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 206
[ {
"agreementId" : "xxxx-xxxx",
"displayDate" : 1731310253443,
"displayUserSetInfos" : null,
"esign" : true,
"latestVersionId" : "latest-id",
"name" : "Big Agreement",
"status" : "SIGNED"
} ]
Path | Type | Description |
---|---|---|
|
|
Agreement id |
|
|
Display date |
|
|
Displays the info about user set |
|
|
Is e-sign document |
|
|
Latest version id |
|
|
Agreement name |
|
|
Status - [WAITING_FOR_MY_SIGNATURE, WAITING_FOR_MY_APPROVAL, WAITING_FOR_MY_DELEGATION, OUT_FOR_SIGNATURE, OUT_FOR_APPROVAL, SIGNED, APPROVED, RECALLED, WAITING_FOR_FAXIN, ARCHIVED, FORM, EXPIRED, WIDGET, WAITING_FOR_AUTHORING] |
8.14.5. List agreements (v2)
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/1/adobesign/v2 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/adobesign/v2' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/adobesign/v2' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 496
[ {
"id" : 1,
"externalId" : "external-id-is-here",
"agreementInfo" : {
"name" : "Agreement name",
"message" : "Dummy message, please sign this",
"status" : "ESIGN",
"externalId" : "external-id-is-here",
"createdDate" : null,
"updatedDate" : null,
"participants" : [ {
"name" : "John Doe",
"email" : "john@doe.com",
"role" : "SIGNER",
"status" : "WAITING_FOR_MY_SIGNATURE"
} ]
},
"dateCreated" : "Mon Nov 11 07:30:52 UTC 2024"
} ]
Path | Type | Description |
---|---|---|
|
|
Agreement id |
|
|
The external agreement id |
|
|
The agreement details |
|
|
Agreement name |
|
|
Agreement message to the users |
|
|
Agreement status |
|
|
The agreement external id |
|
|
Date agreement was updated |
|
|
Date agreement was created |
|
|
List of agreement participant details |
|
|
Participant name |
|
|
Participant e-mail address |
|
|
Participant role |
|
|
Participant signature status |
|
|
Date when the agreement was created |
8.14.6. Get agreement details
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Agreement id |
GET /v3/groups/1/files/1/adobesign/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/adobesign/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/adobesign/1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 361
{
"agreementId" : "xxxx-xxxx",
"events" : [ ],
"expiration" : 1731310253600,
"latestVersionId" : "latest-id",
"locale" : "en_GB",
"message" : "Hello",
"modifiable" : false,
"name" : "Agreement name",
"nextParticipantSetInfos" : [ ],
"participantSetInfos" : [ ],
"securityOptions" : [ ],
"status" : "SIGNED",
"vaultingEnabled" : false
}
Path | Type | Description |
---|---|---|
|
|
Agreement id |
|
|
An ordered list of the events in the audit trail of this document |
|
|
The date after which the document can no longer be signed, if an expiration date is configured |
|
|
An ID which uniquely identifies the current version of the document |
|
|
The locale associated with this agreement |
|
|
The message associated with the document that the sender has provided |
|
|
Agreement can be modified |
|
|
The name of the document, specified by the sender |
|
|
Information about who needs to act next for this document - for example, if the agreement is in status OUT_FOR_SIGNATURE or OUT_FOR_APPROVAL, this will be the next signer or approver. If the AgreementStatus is a terminal state, this array is empty |
|
|
Information about all the participant sets of this document |
|
|
Security information about the document that specifies whether or not a password is required to view and sign the document |
|
|
Current status - [OUT_FOR_SIGNATURE, WAITING_FOR_REVIEW, SIGNED, APPROVED, ABORTED, DOCUMENT_LIBRARY, WIDGET, EXPIRED, ARCHIVED, PREFILL, AUTHORING, WAITING_FOR_FAXIN, WAITING_FOR_VERIFICATION, WIDGET_WAITING_FOR_VERIFICATION, WAITING_FOR_PAYMENT, OUT_FOR_APPROVAL, OTHER] |
|
|
Whether vaulting was enabled for the agreement |
8.14.7. Download agreement
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Agreement id |
GET /v3/groups/1/files/1/adobesign/1/download HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/adobesign/1/download' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/adobesign/1/download' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 302 Found
Location: example.com
8.14.8. Download agreement (v2)
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Agreement id |
|
File version number |
GET /v3/groups/1/files/1/adobesign/v2/1/1/download HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/adobesign/v2/1/1/download' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/adobesign/v2/1/1/download' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 302 Found
Location: example.com
8.15. Docusign
For more information about the feature itself, see our Help Center page. |
8.15.1. Docusign status
Checks if Docusign is enabled and file is supported.
Parameter | Description |
---|---|
|
Group id |
|
File id |
HEAD /v3/groups/1/files/1/docusign HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http HEAD 'https://api.clinked.com/v3/groups/1/files/1/docusign' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/docusign' -i -X HEAD \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
8.15.2. List Envelopes
Parameter | Description |
---|---|
|
Group id |
|
File id |
GET /v3/groups/1/files/1/docusign HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/docusign' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/docusign' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 146
{
"envelopes" : [ {
"name" : "big envelope",
"envelopeId" : null,
"dateCreated" : 1514764800000
} ],
"consentRequired" : false
}
Path | Type | Description |
---|---|---|
|
|
Array of envelopes |
|
|
Is consent required |
|
|
Envelope name |
|
|
Envelope ID |
|
|
Date created |
8.15.3. Envelope Status
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Token |
GET /v3/groups/1/files/1/docusign/status/yourToken HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/docusign/status/yourToken' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/docusign/status/yourToken' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 35
{
"redirectUrl" : "example.com"
}
Path | Type | Description |
---|---|---|
|
|
Redirect url |
8.15.4. List Envelope signatures
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Envelope id |
GET /v3/groups/1/files/1/docusign/1 HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/docusign/1' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/docusign/1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 883
{
"sender" : {
"accountId" : "a56df5fc-xxxx-xxxx-xxxx-f64dc8ab421e",
"accountName" : null,
"activationAccessCode" : null,
"email" : "email@example.com",
"errorDetails" : null,
"loginStatus" : null,
"membershipId" : null,
"sendActivationEmail" : null,
"uri" : null,
"userId" : "c1c4ca80-xxxx-xxxx-xxxx-32a3a9b13925",
"userName" : "Jack Bauer",
"userStatus" : null,
"userType" : null
},
"recipients" : {
"agents" : null,
"carbonCopies" : null,
"certifiedDeliveries" : null,
"currentRoutingOrder" : null,
"editors" : null,
"errorDetails" : null,
"inPersonSigners" : null,
"intermediaries" : null,
"notaries" : null,
"recipientCount" : null,
"seals" : null,
"signers" : null,
"witnesses" : null
},
"sentDateTime" : "2020-08-13T22:03:05.8370000Z",
"status" : "completed"
}
Path | Type | Description |
---|---|---|
|
|
Sender object |
|
|
Username |
|
|
User id |
|
|
Account id |
|
|
Sender email |
|
|
Account name |
|
|
Activation code |
|
|
Error details |
|
|
Login status |
|
|
Membership id |
|
|
Send activation email |
|
|
Sender user uri |
|
|
User status |
|
|
User type |
|
|
Agents |
|
|
Carbon copies |
|
|
Certified deliveries |
|
|
Current routing order |
|
|
Editors |
|
|
Error details |
|
|
In person signers |
|
|
Intermediaries |
|
|
Notaries |
|
|
Recipient count |
|
|
Seals |
|
|
Signers |
|
|
Witnesses |
|
|
Sent date |
|
|
Status |
8.15.5. Create Envelope
Parameter | Description |
---|---|
|
Group id |
|
File id |
POST /v3/groups/1/files/1/docusign HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 149
{
"subject" : "Great subject",
"signers" : [ {
"email" : "email@example.com",
"name" : "Jack Bauer"
} ],
"redirect" : "example.com"
}
$ echo '{
"subject" : "Great subject",
"signers" : [ {
"email" : "email@example.com",
"name" : "Jack Bauer"
} ],
"redirect" : "example.com"
}' | http POST 'https://api.clinked.com/v3/groups/1/files/1/docusign' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/docusign' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"subject" : "Great subject",
"signers" : [ {
"email" : "email@example.com",
"name" : "Jack Bauer"
} ],
"redirect" : "example.com"
}'
Path | Type | Description |
---|---|---|
|
|
Subject |
|
|
Array of signers |
|
|
Signer email |
|
|
Signer name |
|
|
Redirect |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 63
{
"envelopeWaitId" : "1df1f02f-b6f1-4470-80e6-25d854dd7b71"
}
Path | Type | Description |
---|---|---|
|
|
Envelope wait id |
8.15.6. Download Envelope
Parameter | Description |
---|---|
|
Group id |
|
File id |
|
Envelope id |
GET /v3/groups/1/files/1/docusign/1/download HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files/1/docusign/1/download' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/1/docusign/1/download' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Disposition: attachment; filename="envelopeName.pdf"
Pragma: public
Cache-Control: max-age=30, must-revalidate
Expires: Mon, 11 Nov 2024 07:31:25 GMT
Content-Type: application/pdf
Content-Length: 12
Hello World!
8.16. Batch Download
The file batch download capability in this app allows users to conveniently and efficiently download multiple files simultaneously, saving time and effort.
8.16.1. Submit download request
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/filesBatchDownload HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 5
[ 1 ]
$ echo '[ 1 ]' | http POST 'https://api.clinked.com/v3/groups/1/filesBatchDownload' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/filesBatchDownload' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '[ 1 ]'
Path | Type | Description |
---|---|---|
|
|
Array of file id’s |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 38
"cf99f8d3-8396-4496-a5e0-28e04139b016"
Type | Description |
---|---|
|
Job id |
8.16.2. Job Status
Parameter | Description |
---|---|
|
Group id |
|
Job id |
GET /v3/groups/1/filesBatchDownload/1/status HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/filesBatchDownload/1/status' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/filesBatchDownload/1/status' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
HTTP/1.1 206 Partial Content
Content-Type: application/json;charset=UTF-8
Content-Length: 41
{
"complete" : 999,
"total" : 10000
}
Path | Type | Description |
---|---|---|
|
|
Completed bytes |
|
|
Total bytes |
8.16.3. Download Files
Parameter | Description |
---|---|
|
Group id |
|
Job id |
GET /v3/groups/1/filesBatchDownload/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/filesBatchDownload/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/filesBatchDownload/1' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 302 Found
Location: download.com
8.17. Description
Files top level description
8.17.1. Get description
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/files-description HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/files-description' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/files-description' -i -X GET \
-H 'Content-Type: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 47
{
"description" : "sample file description"
}
Path | Type | Description |
---|---|---|
|
|
Top level description |
8.17.2. Create description
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/files-description HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
Content-Length: 44
{ "description": "sample file description" }
$ echo '{ "description": "sample file description" }' | http POST 'https://api.clinked.com/v3/groups/1/files-description' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/files-description' -i -X POST \
-H 'Content-Type: application/json' \
-d '{ "description": "sample file description" }'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 47
{
"description" : "sample file description"
}
8.17.3. Delete description
Parameter | Description |
---|---|
|
Group id |
DELETE /v3/groups/1/files-description HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/files-description' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/files-description' -i -X DELETE \
-H 'Content-Type: application/json'
HTTP/1.1 200 OK
8.18. Upload a file
Uploading a file can be achieved in two ways depending on its size.
Clinked API allows to upload small files (< 100 MB) with single request. But if size of a file is larger than that, or it is unknown beforehand, you should upload it by chunks instead.
The process of uploading a file is as follows:
-
Upload a file with single request or chunks.
-
Once a file is uploaded successfully, it will be saved as a temporary file in Clinked. Temporary files are not visible in a portal and will expire in 24h if not used.
-
Get uploaded temporary file ID, which is generated and returned in a response body after a successful upload.
-
Use this temporary file ID to create a file in a group as the last step. This will make a file visible and ready to use in a portal.
8.18.1. Small file upload
This allows to quickly upload a file with single request.
Do not use this upload method if a file is larger than 100 MB. |
After uploading a file, its ID can be used to create a file in a group straight away.
POST /v3/tempFiles HTTP/1.1
Content-Type: multipart/form-data; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=file; filename=hello.txt
Content-Type: text/plain
Hello, World!
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm--
$ http --form POST 'https://api.clinked.com/v3/tempFiles' \
'file'@'hello.txt' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/tempFiles' -i -X POST \
-H 'Content-Type: multipart/form-data' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-F 'file=@hello.txt;type=text/plain'
HTTP/1.1 201 Created
Location: https://api.clinked.com/v3/tempFiles/ORSXQ5BPOBWGC2LOHIYTGORYMZTDAMLDGJSC2Y3CHAZC2NBWGZRS2YLFG42C2OLBMY3DSOBSMY3GMYRYHJTGC3DTMU5G45LMNQ======
Content-Type: application/json;charset=UTF-8
Content-Length: 119
{
"id" : "ORSXQ5BPOBWGC2LOHIYTGORYMZTDAMLDGJSC2Y3CHAZC2NBWGZRS2YLFG42C2OLBMY3DSOBSMY3GMYRYHJTGC3DTMU5G45LMNQ======"
}
Path | Type | Description |
---|---|---|
|
|
Temporary file ID |
8.18.2. Large file upload
This allows to upload a file of any size. This is preferred method in most cases.
The flow looks like this:
-
Create a temporary file, which initializes upload session.
-
Upload small file chunks one by one, see examples below: chunk #1 and chunk #2.
-
Once all file chunks are uploaded, you can finish upload which will create a file in a group.
Create a temporary file
Initializes file upload session by creating a temporary file in the system.
POST /v3/tempFiles/parts HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 76
{
"name": "hello.txt",
"contentType": "text/plain",
"size": 12
}
$ echo '{
"name": "hello.txt",
"contentType": "text/plain",
"size": 12
}' | http POST 'https://api.clinked.com/v3/tempFiles/parts' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/tempFiles/parts' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"name": "hello.txt",
"contentType": "text/plain",
"size": 12
}'
Path | Type | Description |
---|---|---|
|
|
File name |
|
|
File content type |
|
|
File size in bytes |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 71
{
"id" : "ORSXQ5BPOBWGC2LOHIYTEOTIMVWGY3ZOOR4HIOTUOJ2WKOTOOVWGY==="
}
Path | Type | Description |
---|---|---|
|
|
Temporary file ID |
Upload chunk #1
First file chunk upload example.
Parameter | Description |
---|---|
|
Temporary file id |
POST /v3/tempFiles/parts/ORSXQ5BPOBWGC2LOHIYTEOTIMVWGY3ZOOR4HIOTUOJ2WKOTOOVWGY=== HTTP/1.1
Content-Type: multipart/form-data; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=partNumber
1
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=file; filename=hello.txt
Content-Type: text/plain
Hello
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm--
$ http --form POST 'https://api.clinked.com/v3/tempFiles/parts/ORSXQ5BPOBWGC2LOHIYTEOTIMVWGY3ZOOR4HIOTUOJ2WKOTOOVWGY===' \
'file'@'hello.txt' \
'Authorization:Bearer <YOUR-TOKEN>' \
'partNumber=1'
$ curl 'https://api.clinked.com/v3/tempFiles/parts/ORSXQ5BPOBWGC2LOHIYTEOTIMVWGY3ZOOR4HIOTUOJ2WKOTOOVWGY===' -i -X POST \
-H 'Content-Type: multipart/form-data' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-F 'file=@hello.txt;type=text/plain' \
-F 'partNumber=1'
HTTP/1.1 202 Accepted
Upload chunk #2
Seconds file chunk upload example.
Parameter | Description |
---|---|
|
Temporary file id |
POST /v3/tempFiles/parts/ORSXQ5BPOBWGC2LOHIYTEOTIMVWGY3ZOOR4HIOTUOJ2WKOTOOVWGY=== HTTP/1.1
Content-Type: multipart/form-data; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=partNumber
2
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=file; filename=hello.txt
Content-Type: text/plain
World!
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm--
$ http --form POST 'https://api.clinked.com/v3/tempFiles/parts/ORSXQ5BPOBWGC2LOHIYTEOTIMVWGY3ZOOR4HIOTUOJ2WKOTOOVWGY===' \
'file'@'hello.txt' \
'Authorization:Bearer <YOUR-TOKEN>' \
'partNumber=2'
$ curl 'https://api.clinked.com/v3/tempFiles/parts/ORSXQ5BPOBWGC2LOHIYTEOTIMVWGY3ZOOR4HIOTUOJ2WKOTOOVWGY===' -i -X POST \
-H 'Content-Type: multipart/form-data' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-F 'file=@hello.txt;type=text/plain' \
-F 'partNumber=2'
HTTP/1.1 202 Accepted
8.18.3. Finish upload / create group file
This finishes upload and creates a file in a group of choice to make it visible for users.
Parameter | Description |
---|---|
|
Group id |
|
Folder id |
POST /v3/groups/1/files/ HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 180
{
"friendlyName": "hello.txt",
"tempFile": "MFYHA3DJMNQXI2LPNYXXAZDGHIYTAMB2JV4SAZTJNRSS44DEHJTGC3DTMU5G45LMNQ======",
"sharing": "MEMBERS",
"memberPermission": 8
}
$ echo '{
"friendlyName": "hello.txt",
"tempFile": "MFYHA3DJMNQXI2LPNYXXAZDGHIYTAMB2JV4SAZTJNRSS44DEHJTGC3DTMU5G45LMNQ======",
"sharing": "MEMBERS",
"memberPermission": 8
}' | http POST 'https://api.clinked.com/v3/groups/1/files/' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/files/' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "hello.txt",
"tempFile": "MFYHA3DJMNQXI2LPNYXXAZDGHIYTAMB2JV4SAZTJNRSS44DEHJTGC3DTMU5G45LMNQ======",
"sharing": "MEMBERS",
"memberPermission": 8
}'
Path | Type | Description |
---|---|---|
|
|
Full file name |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Temporary file ID |
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 1048
{
"id" : 5,
"contextKey" : {
"id" : 15
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"name" : "hello_txt",
"friendlyName" : "hello.txt",
"contentType" : "application/pdf",
"size" : 10,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : null,
"locked" : false,
"locker" : null,
"lastModified" : 1731310252034,
"summary" : null,
"approvalSummary" : {
"pendingCount" : 0,
"rejectedCount" : 0,
"approvedCount" : 0,
"count" : 0,
"activeRequest" : null
},
"path" : [ ],
"versions" : 0,
"tasksCount" : 0,
"previewInfo" : null,
"watermark" : false,
"jobs" : [ ],
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
Base information about the group |
|
|
Unique file name, generated automatically by API |
|
|
Full file name that should be visible to a user |
|
|
Content type |
|
|
Size in bytes |
|
|
User who uploaded a file |
|
|
Number of versions |
|
|
Sharing option, determines who can see a file: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Tags separated by comma |
|
|
File is locked and should not be updated |
|
|
User locked the file |
|
|
Last modification date (timestamp in milliseconds) |
|
|
Preview data if available |
|
|
Array of all file records making up the path of this file (incl. itself) |
|
|
File parent folder |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
File approval data |
|
|
Latest file version comment |
|
|
Indicates that user is following the file record or not |
|
|
Amount of shares |
|
|
Indicates that the file record has individual access control entries in the file record ACL |
|
|
The current user permission to file record |
|
|
Amount of comments |
|
|
Amount of tasks linked to this file |
|
|
File watermark status |
|
|
Active file jobs |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
User’s full name |
|
|
User’s usernae if the user is defined |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
9. Notes
Notes provide an easy way to collaborate or share information in a Group. In addition, the information contained in note pages, unless restricted by permission settings, can be edited by all members of the group simply by clicking "Edit" and then making changes as you would on a word processing programme. Notes are an easy-to-use wiki platform equipped with familiar word editor features and are optimized for multiple editors who can co-operate on writing and managing documents.
For more information about the feature itself, see our Help Center page. |
This section shows how to create and manage your group notes.
9.1. List notes
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/notes?page=1&size=25&orderBy=dateCreated&ascending=false&type=page HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/notes?page=1&size=25&orderBy=dateCreated&ascending=false&type=page' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/notes?page=1&size=25&orderBy=dateCreated&ascending=false&type=page' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number to load |
|
Page size |
|
Order field |
|
Ascending order direction |
|
Filter by note type: 'page' or 'template' |
|
Find note by name |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1442
{
"items" : [ {
"id" : 1,
"contextKey" : {
"id" : 625
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"attachmentCount" : 0,
"commentCount" : 0,
"name" : "home_page",
"friendlyName" : "Home Page",
"template" : false,
"tags" : "lorem,ipsum",
"content" : "",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"creator" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"versions" : 0,
"pageType" : "PAGE",
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 1,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Page entries |
|
|
Next page exists |
|
|
Total amount of available pages |
|
|
Previous page exists |
|
|
Total amount of entries |
|
|
Note id |
|
|
Unique name (slug) |
|
|
Name |
|
|
Context key |
|
|
Context key ID |
|
|
Base details about group |
|
|
Is a template |
|
|
Comma-separated list of tags |
|
|
Note content |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
|
|
List of attachments |
|
|
User created the page |
|
|
Date when note was last modified |
|
|
Total page vesions |
|
|
Date when note was created |
|
|
PAGE or FOLDER |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
9.2. Get note details
Returns single note detailed information and content.
Parameter | Description |
---|---|
|
Group id |
|
Note id |
GET /v3/groups/1/notes/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/notes/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/notes/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1348
{
"id" : 1,
"contextKey" : {
"id" : 1
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"shareCount" : 0,
"userAces" : false,
"userPermission" : 16,
"attachmentCount" : 0,
"commentCount" : 0,
"name" : "home_page",
"friendlyName" : "Home Page",
"template" : false,
"tags" : "lorem,ipsum",
"content" : "<h2>Welcome to your Group Welcome Note!</h2><p><strong>This is a sample note to help you explore Clinked.</strong>",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"creator" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"versions" : 0,
"attachments" : [ ],
"pageType" : "PAGE",
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
Note id |
|
|
Unique name (slug) |
|
|
Name |
|
|
Context key |
|
|
Context key ID |
|
|
Base details about group |
|
|
Is a template |
|
|
Comma-separated list of tags |
|
|
Note content |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
|
|
List of attachments |
|
|
User created the page |
|
|
Date when note was last modified |
|
|
Total page vesions |
|
|
Date when note was created |
|
|
PAGE or FOLDER |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
9.3. Create note
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/notes HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 410
{
"friendlyName": "Hello Lorem!",
"content": "Dolorem ex perspiciatis quae alias necessitatibus repellendus.",
"template": false,
"sharing": "MEMBERS",
"memberPermission": 8,
"tags": "lorem,hello",
"attachments": [
{
"friendlyName": "hello.jpg",
"tempFile": "MFYHA3DJMNQXI2LPNYXXAZDGHIYTAMB2JV4SAZTJNRSS44DEHJTGC3DTMU5G45LMNQ======"
}
]
}
$ echo '{
"friendlyName": "Hello Lorem!",
"content": "Dolorem ex perspiciatis quae alias necessitatibus repellendus.",
"template": false,
"sharing": "MEMBERS",
"memberPermission": 8,
"tags": "lorem,hello",
"attachments": [
{
"friendlyName": "hello.jpg",
"tempFile": "MFYHA3DJMNQXI2LPNYXXAZDGHIYTAMB2JV4SAZTJNRSS44DEHJTGC3DTMU5G45LMNQ======"
}
]
}' | http POST 'https://api.clinked.com/v3/groups/1/notes' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/notes' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "Hello Lorem!",
"content": "Dolorem ex perspiciatis quae alias necessitatibus repellendus.",
"template": false,
"sharing": "MEMBERS",
"memberPermission": 8,
"tags": "lorem,hello",
"attachments": [
{
"friendlyName": "hello.jpg",
"tempFile": "MFYHA3DJMNQXI2LPNYXXAZDGHIYTAMB2JV4SAZTJNRSS44DEHJTGC3DTMU5G45LMNQ======"
}
]
}'
Path | Type | Description |
---|---|---|
|
|
Full name |
|
|
Content |
|
|
Is a template |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Comma-separated list of tags |
|
|
Comma-separated list of tags |
|
|
List of initial attachments to be created |
|
|
Attachment name |
|
|
Temporary file id |
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 1282
{
"id" : 10,
"contextKey" : {
"id" : 824
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"shareCount" : 0,
"userAces" : false,
"userPermission" : 16,
"attachmentCount" : 1,
"commentCount" : 0,
"name" : "hello_lorem_",
"friendlyName" : "Hello Lorem!",
"template" : false,
"tags" : "lorem,hello",
"content" : "Dolorem ex perspiciatis quae alias necessitatibus repellendus.",
"dateCreated" : 1731310287304,
"lastModified" : 1731310287304,
"creator" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"versions" : 0,
"pageType" : "PAGE",
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
Note id |
|
|
Unique name (slug) |
|
|
Name |
|
|
Context key |
|
|
Context key ID |
|
|
Base details about group |
|
|
Is a template |
|
|
Comma-separated list of tags |
|
|
Note content |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
|
|
List of attachments |
|
|
User created the page |
|
|
Date when note was last modified |
|
|
Total page vesions |
|
|
Date when note was created |
|
|
PAGE or FOLDER |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
9.4. Update note
Parameter | Description |
---|---|
|
Group id |
|
Note id |
PATCH /v3/groups/1/notes/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 184
{
"friendlyName": "Hello Lorem: updated!",
"content": "Other content.",
"template": false,
"sharing": "NONE",
"memberPermission": 1,
"tags": "lorem,hello,upd"
}
$ echo '{
"friendlyName": "Hello Lorem: updated!",
"content": "Other content.",
"template": false,
"sharing": "NONE",
"memberPermission": 1,
"tags": "lorem,hello,upd"
}' | http PATCH 'https://api.clinked.com/v3/groups/1/notes/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/notes/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "Hello Lorem: updated!",
"content": "Other content.",
"template": false,
"sharing": "NONE",
"memberPermission": 1,
"tags": "lorem,hello,upd"
}'
Path | Type | Description |
---|---|---|
|
|
Full name |
|
|
Content |
|
|
Is a template |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Comma-separated list of tags |
|
|
Comma-separated list of tags |
|
|
List of initial attachments to be created |
|
|
Attachment name |
|
|
Temporary file id |
|
|
Parent group id, used when moving to different group |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1240
{
"id" : 1,
"contextKey" : {
"id" : 933
},
"sharing" : "NONE",
"memberPermission" : 1,
"following" : false,
"shareCount" : 0,
"userAces" : false,
"userPermission" : 16,
"attachmentCount" : 0,
"commentCount" : 0,
"name" : "home_page",
"friendlyName" : "Hello Lorem: updated!",
"template" : false,
"tags" : "lorem,hello,upd",
"content" : "Other content.",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"creator" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"versions" : 0,
"pageType" : "PAGE",
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
Note id |
|
|
Unique name (slug) |
|
|
Name |
|
|
Context key |
|
|
Context key ID |
|
|
Base details about group |
|
|
Is a template |
|
|
Comma-separated list of tags |
|
|
Note content |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
|
|
List of attachments |
|
|
User created the page |
|
|
Date when note was last modified |
|
|
Total page vesions |
|
|
Date when note was created |
|
|
PAGE or FOLDER |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
9.5. Remove note
Moves note to group trash bin.
You can always restore trash bin items later, see group trash section for details. |
Parameter | Description |
---|---|
|
Group id |
|
Note id |
DELETE /v3/groups/1/notes/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/notes/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/notes/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 260
[ {
"id" : 15,
"contextKey" : {
"id" : 833
},
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310287353
} ]
Path | Type | Description |
---|---|---|
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
User who removed this |
|
|
Remove timestamp |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
9.6. Delete version
Parameter | Description |
---|---|
|
Note to delete version for |
|
Version to delete |
DELETE /v3/notes/1/versions/2 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/notes/1/versions/2' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/notes/1/versions/2' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
9.7. Restore version
Parameter | Description |
---|---|
|
Note to restore version for |
|
Version to restore |
POST /v3/notes/1/versions/2 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http POST 'https://api.clinked.com/v3/notes/1/versions/2' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/notes/1/versions/2' -i -X POST \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 411
{
"id" : 32,
"versionNumber" : 2,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"summary" : "Pol, a bene elevatus, historia!",
"lastModified" : 1731310289105,
"size" : 2365864804441874432
}
Path | Type | Description |
---|---|---|
|
|
Id |
|
|
Version number |
|
|
Who uploaded a file |
|
|
Optional version summary |
|
|
Last modification date |
|
|
Context size in bytes |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
9.8. Delete note folder progress
Return the progress of deletion in percentage of all subnotes.
Returns 404 error when there are no active requests.
Parameter | Description |
---|---|
|
Group id |
|
Note id |
GET /v3/groups/1/notes/1/delete-progress HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/notes/1/delete-progress' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/notes/1/delete-progress' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 22
{
"progress" : 0.0
}
Path | Type | Description |
---|---|---|
|
|
Progress |
9.9. Description
Notes top level description
9.9.1. Get description
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/notes-description HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/notes-description' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/notes-description' -i -X GET \
-H 'Content-Type: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 47
{
"description" : "sample note description"
}
Path | Type | Description |
---|---|---|
|
|
Top level description |
9.9.2. Create description
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/notes-description HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
Content-Length: 44
{ "description": "sample note description" }
$ echo '{ "description": "sample note description" }' | http POST 'https://api.clinked.com/v3/groups/1/notes-description' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/notes-description' -i -X POST \
-H 'Content-Type: application/json' \
-d '{ "description": "sample note description" }'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 47
{
"description" : "sample note description"
}
9.9.3. Delete description
Parameter | Description |
---|---|
|
Group id |
DELETE /v3/groups/1/notes-description HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/notes-description' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/notes-description' -i -X DELETE \
-H 'Content-Type: application/json'
HTTP/1.1 200 OK
10. Events
The events tool allows you to keep on top of your daily schedule, here you can input meetings or events and invite others to join you. Content Contributors and Administrators are able to use this feature by inputting/deleting and editing events, read only members can only view what’s already in the calendar. The events tool is designed in a way so that you may find similarities to other Calendars you have experience with to allow for familiarity and ease of use.
For more information about the feature itself, see our Help Center page. |
This section shows how to create and manage your group events.
10.1. List events
Returns all events in a specified date range.
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/events?name=event+101&exact=true HTTP/1.1
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/events?name=event+101&exact=true'
$ curl 'https://api.clinked.com/v3/groups/1/events?name=event+101&exact=true' -i -X GET
Parameter | Description |
---|---|
|
Event name should contain the provided value |
|
Will return events only with the exact name and ignore similar results |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1121
{
"items" : [ {
"id" : 1,
"contextKey" : {
"id" : 866
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"userAces" : false,
"userPermission" : 0,
"attachmentCount" : 0,
"commentCount" : 0,
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : "2018-01-05T14:00Z[UTC]",
"endDate" : "2018-01-05T15:00Z[UTC]",
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"dateReminder" : "2017-12-31T08:00Z[UTC]",
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"dateEndRecurrence" : "2024-11-11T07:31:18.624Z[UTC]",
"description" : "Let's do this every friday",
"disableMaybe" : false,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"lastModified" : 1514764800000,
"color" : "#212121"
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 1,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Page entries |
|
|
Next page exists |
|
|
Total amount of available pages |
|
|
Previous page exists |
|
|
Total amount of entries |
|
|
Event ID |
|
|
Context key |
|
|
Context key ID |
|
|
Sharing option, determines who can see an event: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member permission mask |
|
|
Event author |
|
|
Event being followed by you |
|
|
Event has individual user permissions |
|
|
User permission |
|
|
Amount of attachments |
|
|
Comment count |
|
|
Unique name |
|
|
Full name |
|
|
Event start date |
|
|
Event end date |
|
|
All day event |
|
|
Event location |
|
|
Comma separated list of tags |
|
|
When to send a reminder about an event |
|
|
Valid recurrence rule |
|
|
Recurrence end date |
|
|
Event description |
|
|
List of users invited to the event |
|
|
Date last modified |
|
|
Do not allow invited members to choose 'maybe' option |
|
|
Event color code |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Invitation id |
|
|
Invitation status |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
10.2. Show event detail
Parameter | Description |
---|---|
|
Group id |
|
Event id |
GET /v3/groups/1/events/1 HTTP/1.1
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/events/1'
$ curl 'https://api.clinked.com/v3/groups/1/events/1' -i -X GET
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1152
{
"id" : 1,
"contextKey" : {
"id" : 949
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"shareCount" : 0,
"userAces" : false,
"userPermission" : 0,
"attachmentCount" : 0,
"commentCount" : 0,
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : "2018-01-05T14:00Z[UTC]",
"endDate" : "2018-01-05T15:00Z[UTC]",
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"dateReminder" : null,
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"dateEndRecurrence" : "2024-11-11T07:31:18.921Z[UTC]",
"description" : "Let's do this every friday",
"assignees" : [ {
"id" : 1,
"status" : "NONE",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
}
} ],
"disableMaybe" : false,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"lastModified" : 1514764800000,
"color" : "#212121"
}
Path | Type | Description |
---|---|---|
|
|
Event ID |
|
|
Context key |
|
|
Context key ID |
|
|
Sharing option, determines who can see an event: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member permission mask |
|
|
Event author |
|
|
Event being followed by you |
|
|
Event has individual user permissions |
|
|
User permission |
|
|
Amount of attachments |
|
|
Comment count |
|
|
Unique name |
|
|
Full name |
|
|
Event start date |
|
|
Event end date |
|
|
All day event |
|
|
Event location |
|
|
Comma separated list of tags |
|
|
When to send a reminder about an event |
|
|
Valid recurrence rule |
|
|
Recurrence end date |
|
|
Event description |
|
|
List of users invited to the event |
|
|
Date last modified |
|
|
Do not allow invited members to choose 'maybe' option |
|
|
Event color code |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Invitation id |
|
|
Invitation status |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Amount of shares |
|
|
Amount of comments |
10.3. Create event
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/events HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
Content-Length: 383
{
"recurrence" : "FREQ=DAILY;INTERVAL=1",
"allDay" : false,
"color" : "#212121",
"endDate" : "2022-10-23T00:00:00+01:00[Europe/Paris]",
"description" : "Make it work!",
"assignees" : [ "jack" ],
"location" : "Paris",
"sharing" : "MEMBERS",
"startDate" : "2022-10-20T00:00:00+01:00[Europe/Paris]",
"friendlyName" : "Meeting with a client",
"tags" : "tag1,tag2"
}
$ echo '{
"recurrence" : "FREQ=DAILY;INTERVAL=1",
"allDay" : false,
"color" : "#212121",
"endDate" : "2022-10-23T00:00:00+01:00[Europe/Paris]",
"description" : "Make it work!",
"assignees" : [ "jack" ],
"location" : "Paris",
"sharing" : "MEMBERS",
"startDate" : "2022-10-20T00:00:00+01:00[Europe/Paris]",
"friendlyName" : "Meeting with a client",
"tags" : "tag1,tag2"
}' | http POST 'https://api.clinked.com/v3/groups/1/events' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/events' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"recurrence" : "FREQ=DAILY;INTERVAL=1",
"allDay" : false,
"color" : "#212121",
"endDate" : "2022-10-23T00:00:00+01:00[Europe/Paris]",
"description" : "Make it work!",
"assignees" : [ "jack" ],
"location" : "Paris",
"sharing" : "MEMBERS",
"startDate" : "2022-10-20T00:00:00+01:00[Europe/Paris]",
"friendlyName" : "Meeting with a client",
"tags" : "tag1,tag2"
}'
Path | Type | Description |
---|---|---|
|
|
Full name |
|
|
Location |
|
|
Recurrence rule |
|
|
Event start date |
|
|
Event end date |
|
|
All day event |
|
|
Comma separated list of tags |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
When to remind about an event |
|
|
Array of usernames to invite to event |
|
|
Event description |
|
|
Event color code |
|
|
Main Event id in occurrence |
|
|
Start date of occurrence to replace, use together with parent |
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 1123
{
"id" : 5,
"contextKey" : {
"id" : 461
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"shareCount" : 0,
"userAces" : false,
"userPermission" : 0,
"attachmentCount" : 0,
"commentCount" : 0,
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : "2022-10-20T00:00+02:00[Europe/Paris]",
"endDate" : "2022-10-23T00:00+02:00[Europe/Paris]",
"allDay" : false,
"location" : "Paris",
"tags" : "tag1,tag2",
"dateReminder" : null,
"recurrence" : "FREQ=DAILY;INTERVAL=1",
"dateEndRecurrence" : null,
"description" : "Make it work!",
"assignees" : [ {
"id" : 1,
"status" : "NONE",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
}
} ],
"disableMaybe" : false,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"lastModified" : null,
"color" : "#212121"
}
Path | Type | Description |
---|---|---|
|
|
Event ID |
|
|
Context key |
|
|
Context key ID |
|
|
Sharing option, determines who can see an event: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member permission mask |
|
|
Event author |
|
|
Event being followed by you |
|
|
Event has individual user permissions |
|
|
User permission |
|
|
Amount of attachments |
|
|
Comment count |
|
|
Unique name |
|
|
Full name |
|
|
Event start date |
|
|
Event end date |
|
|
All day event |
|
|
Event location |
|
|
Comma separated list of tags |
|
|
When to send a reminder about an event |
|
|
Valid recurrence rule |
|
|
Recurrence end date |
|
|
Event description |
|
|
List of users invited to the event |
|
|
Date last modified |
|
|
Do not allow invited members to choose 'maybe' option |
|
|
Event color code |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Invitation id |
|
|
Invitation status |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Amount of shares |
|
|
Amount of comments |
10.4. Update event
Parameter | Description |
---|---|
|
Group id |
|
Event id |
PATCH /v3/groups/1/events/1 HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
Content-Length: 376
{
"recurrence" : "FREQ=DAILY;INTERVAL=1",
"allDay" : false,
"color" : "#212121",
"endDate" : "2050-01-05T16:10+02:00[Europe/Riga]",
"assignees" : [ "jack" ],
"description" : "Make it work!",
"location" : "London",
"sharing" : "MEMBERS",
"friendlyName" : "Meeting with a client",
"startDate" : "2050-01-05T16:00+02:00[Europe/Riga]",
"tags" : "tag1,tag2"
}
$ echo '{
"recurrence" : "FREQ=DAILY;INTERVAL=1",
"allDay" : false,
"color" : "#212121",
"endDate" : "2050-01-05T16:10+02:00[Europe/Riga]",
"assignees" : [ "jack" ],
"description" : "Make it work!",
"location" : "London",
"sharing" : "MEMBERS",
"friendlyName" : "Meeting with a client",
"startDate" : "2050-01-05T16:00+02:00[Europe/Riga]",
"tags" : "tag1,tag2"
}' | http PATCH 'https://api.clinked.com/v3/groups/1/events/1' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/events/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"recurrence" : "FREQ=DAILY;INTERVAL=1",
"allDay" : false,
"color" : "#212121",
"endDate" : "2050-01-05T16:10+02:00[Europe/Riga]",
"assignees" : [ "jack" ],
"description" : "Make it work!",
"location" : "London",
"sharing" : "MEMBERS",
"friendlyName" : "Meeting with a client",
"startDate" : "2050-01-05T16:00+02:00[Europe/Riga]",
"tags" : "tag1,tag2"
}'
Path | Type | Description |
---|---|---|
|
|
Full name |
|
|
Location |
|
|
Recurrence rule |
|
|
Event start date |
|
|
Event end date |
|
|
All day event |
|
|
Comma separated list of tags |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
When to remind about an event |
|
|
Array of usernames to invite to event |
|
|
Event description |
|
|
Event color code |
|
|
Main Event id in occurrence |
|
|
Start date of occurrence to replace, use together with parent |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1171
{
"id" : 1,
"contextKey" : {
"id" : 835
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"shareCount" : 0,
"userAces" : false,
"userPermission" : 0,
"attachmentCount" : 0,
"commentCount" : 0,
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : "2050-01-05T16:00+02:00[Europe/Riga]",
"endDate" : "2050-01-05T16:10+02:00[Europe/Riga]",
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"dateReminder" : null,
"recurrence" : "FREQ=DAILY;INTERVAL=1",
"dateEndRecurrence" : "2024-11-11T09:31:18.944+02:00[Europe/Riga]",
"description" : "Make it work!",
"assignees" : [ {
"id" : 1,
"status" : "NONE",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
}
} ],
"disableMaybe" : false,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"lastModified" : 1514764800000,
"color" : "#212121"
}
Path | Type | Description |
---|---|---|
|
|
Event ID |
|
|
Context key |
|
|
Context key ID |
|
|
Sharing option, determines who can see an event: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member permission mask |
|
|
Event author |
|
|
Event being followed by you |
|
|
Event has individual user permissions |
|
|
User permission |
|
|
Amount of attachments |
|
|
Comment count |
|
|
Unique name |
|
|
Full name |
|
|
Event start date |
|
|
Event end date |
|
|
All day event |
|
|
Event location |
|
|
Comma separated list of tags |
|
|
When to send a reminder about an event |
|
|
Valid recurrence rule |
|
|
Recurrence end date |
|
|
Event description |
|
|
List of users invited to the event |
|
|
Date last modified |
|
|
Do not allow invited members to choose 'maybe' option |
|
|
Event color code |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Invitation id |
|
|
Invitation status |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Amount of shares |
|
|
Amount of comments |
10.5. Remove event
Moves event to group trash bin.
You can always restore trash bin items later, see group trash section for details. |
Parameter | Description |
---|---|
|
Group id |
|
Event id |
DELETE /v3/groups/1/events/1 HTTP/1.1
Host: api.clinked.com
$ http --form DELETE 'https://api.clinked.com/v3/groups/1/events/1'
$ curl 'https://api.clinked.com/v3/groups/1/events/1' -i -X DELETE
Parameter | Description |
---|---|
|
Delete event permanently |
|
Notify other members about deletion |
|
Start date of occurrence to cancel |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 256
{
"id" : 15,
"contextKey" : {
"id" : 627
},
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310278884
}
10.6. Permissions
Parameter | Description |
---|---|
|
Group id |
|
Event id |
Request parameters ar the same as in Tasks permissions
10.7. Event Assign Members Progress
Return the progress in percentage of the active request to assign all group members to event.
Returns 404 error when there are no active requests.
Parameter | Description |
---|---|
|
Group id |
|
Event id |
GET /v3/groups/1/events/1/assign-all-progress HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/events/1/assign-all-progress' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/events/1/assign-all-progress' -i -X GET \
-H 'Content-Type: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 23
{
"progress" : 33.0
}
Path | Type | Description |
---|---|---|
|
|
Progress percentage |
11. Tasks
Tasks can be used by any members of the portal, apart from a 'Read Only' member who can only use the specific tasks they are assigned too. Tasks are easy to create and also easy to edit and update. There is a progression status bar provided to help you stay on track and updated whilst a task is being completed.
For more information about the feature itself, see our Help Center page. |
This section shows how to create and manage your group tasks and task categories.
11.1. Task count
Returns task count
Parameter | Description |
---|---|
|
Group id |
HEAD /v3/groups/1/tasks HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http HEAD 'https://api.clinked.com/v3/groups/1/tasks' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/tasks' -i -X HEAD \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
X-Count: 0
11.2. List tasks
Returns paginated list of group tasks.
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/tasks HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/tasks' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/tasks' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Search by name |
|
Which tasks to show - unassigned, uncompleted, overdue |
|
Task status |
|
User ID the task is assigned to |
|
Assigned user status to include. Examples: [NONE, ACCEPT, DECLINE, MAYBE, REJECT] |
|
Task priority |
|
Task category id |
|
ISO date task due date from |
|
ISO date task due date to |
|
Should attach first page of subtasks |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1151
{
"items" : [ {
"id" : 1,
"contextKey" : {
"id" : 509
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"userAces" : false,
"userPermission" : 0,
"friendlyName" : "Deploy update",
"name" : "deploy_update",
"status" : "WAITING",
"priority" : "MEDIUM",
"progress" : 0,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dueDate" : "2022-08-25T11:56:54Z[UTC]",
"tags" : "",
"description" : "Let's do this",
"dateCreated" : 1514764800000,
"dateReminder" : "2017-12-31T08:00Z[UTC]",
"recurrence" : null,
"order" : 2147483647,
"category" : null,
"assignees" : null,
"numberOfSubTasks" : 0,
"lastModified" : 1514764800000,
"timeTracker" : {
"trackingStartDate" : 1514764800000,
"timeTracked" : 948480
},
"dateCompleted" : 1514764810000
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 1,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Page entries |
|
|
Next page exists |
|
|
Total amount of available pages |
|
|
Previous page exists |
|
|
Total amount of entries |
|
|
Task category ID |
|
|
Сontext key |
|
|
Сontext key ID |
|
|
Task slug |
|
|
Task name |
|
|
User created this task |
|
|
Task status code |
|
|
Task priority |
|
|
Task progress |
|
|
Task tags (comma separated) |
|
|
Zoned ISO due date-time |
|
|
Zoned ISO reminder date-time |
|
|
Task recurrence rule |
|
|
Task order |
|
|
Task description |
|
|
File to which the task is attached to |
|
|
Task category |
|
|
Task assignees |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
|
|
Date task was created |
|
|
Date task was completed |
|
|
Date task was last modified |
|
|
Parent task |
|
|
Number of subtasks |
|
|
Task time tracker |
|
|
Tracking start date |
|
|
Time tracked in milliseconds |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
11.3. Get task details
Parameter | Description |
---|---|
|
Group id |
|
Task id |
GET /v3/groups/1/tasks/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/tasks/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/tasks/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 924
{
"id" : 1,
"contextKey" : {
"id" : 849
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"userAces" : false,
"userPermission" : 0,
"friendlyName" : "Deploy update",
"name" : "deploy_update",
"status" : "WAITING",
"priority" : "MEDIUM",
"progress" : 0,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dueDate" : "2022-08-25T11:56:54Z[UTC]",
"tags" : "",
"description" : "Let's do this",
"dateCreated" : 1514764800000,
"dateReminder" : "2017-12-31T08:00Z[UTC]",
"recurrence" : null,
"order" : 2147483647,
"category" : null,
"assignees" : null,
"numberOfSubTasks" : 0,
"lastModified" : 1514764800000,
"timeTracker" : {
"trackingStartDate" : 1514764800000,
"timeTracked" : 948480
},
"dateCompleted" : 1514764810000
}
Path | Type | Description |
---|---|---|
|
|
Task category ID |
|
|
Сontext key |
|
|
Сontext key ID |
|
|
Task slug |
|
|
Task name |
|
|
User created this task |
|
|
Task status code |
|
|
Task priority |
|
|
Task progress |
|
|
Task tags (comma separated) |
|
|
Zoned ISO due date-time |
|
|
Zoned ISO reminder date-time |
|
|
Task recurrence rule |
|
|
Task order |
|
|
Task description |
|
|
File to which the task is attached to |
|
|
Task category |
|
|
Task assignees |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
|
|
Date task was created |
|
|
Date task was completed |
|
|
Date task was last modified |
|
|
Parent task |
|
|
Number of subtasks |
|
|
Task time tracker |
|
|
Tracking start date |
|
|
Time tracked in milliseconds |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
11.4. Create task
Creates a new group task.
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/tasks HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 229
{
"friendlyName": "Task 1",
"description": "Do very important thing",
"sharing": "MEMBERS",
"memberPermission": 8,
"tags": "lorem,dupson",
"status": "NOT_STARTED",
"assignees": [
"jack"
]
}
$ echo '{
"friendlyName": "Task 1",
"description": "Do very important thing",
"sharing": "MEMBERS",
"memberPermission": 8,
"tags": "lorem,dupson",
"status": "NOT_STARTED",
"assignees": [
"jack"
]
}' | http POST 'https://api.clinked.com/v3/groups/1/tasks' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/tasks' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "Task 1",
"description": "Do very important thing",
"sharing": "MEMBERS",
"memberPermission": 8,
"tags": "lorem,dupson",
"status": "NOT_STARTED",
"assignees": [
"jack"
]
}'
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 878
{
"id" : 1,
"contextKey" : {
"id" : 120
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"userAces" : false,
"userPermission" : 0,
"friendlyName" : "Task 1",
"name" : "task_1",
"status" : "NOT_STARTED",
"priority" : "MEDIUM",
"progress" : 0,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dueDate" : null,
"tags" : "lorem,dupson",
"description" : "Do very important thing",
"dateCreated" : 1731310283071,
"dateReminder" : null,
"recurrence" : null,
"order" : null,
"category" : null,
"assignees" : null,
"numberOfSubTasks" : 0,
"lastModified" : 1731310283071,
"timeTracker" : {
"trackingStartDate" : 1514764800000,
"timeTracked" : 948480
},
"dateCompleted" : null
}
Path | Type | Description |
---|---|---|
|
|
Task category ID |
|
|
Сontext key |
|
|
Сontext key ID |
|
|
Task slug |
|
|
Task name |
|
|
User created this task |
|
|
Task status code |
|
|
Task priority |
|
|
Task progress |
|
|
Task tags (comma separated) |
|
|
Zoned ISO due date-time |
|
|
Zoned ISO reminder date-time |
|
|
Task recurrence rule |
|
|
Task order |
|
|
Task description |
|
|
File to which the task is attached to |
|
|
Task category |
|
|
Task assignees |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
|
|
Date task was created |
|
|
Date task was completed |
|
|
Date task was last modified |
|
|
Parent task |
|
|
Number of subtasks |
|
|
Task time tracker |
|
|
Tracking start date |
|
|
Time tracked in milliseconds |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
11.5. Update task
Parameter | Description |
---|---|
|
Group id |
|
Task id |
PATCH /v3/groups/1/tasks/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 33
{
"friendlyName": "Updated"
}
$ echo '{
"friendlyName": "Updated"
}' | http PATCH 'https://api.clinked.com/v3/groups/1/tasks/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/tasks/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "Updated"
}'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 909
{
"id" : 1,
"contextKey" : {
"id" : 453
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"following" : false,
"userAces" : false,
"userPermission" : 0,
"friendlyName" : "Updated",
"name" : "deploy_update",
"status" : "WAITING",
"priority" : "MEDIUM",
"progress" : 0,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dueDate" : "2022-08-25T11:56:54Z[UTC]",
"tags" : "",
"description" : "Let's do this",
"dateCreated" : 1731310282854,
"dateReminder" : "2017-12-31T08:00Z[UTC]",
"recurrence" : null,
"order" : 2147483647,
"category" : null,
"assignees" : null,
"numberOfSubTasks" : 0,
"lastModified" : 1731310282854,
"timeTracker" : {
"trackingStartDate" : 1514764800000,
"timeTracked" : 948480
},
"dateCompleted" : null
}
Path | Type | Description |
---|---|---|
|
|
Task category ID |
|
|
Сontext key |
|
|
Сontext key ID |
|
|
Task slug |
|
|
Task name |
|
|
User created this task |
|
|
Task status code |
|
|
Task priority |
|
|
Task progress |
|
|
Task tags (comma separated) |
|
|
Zoned ISO due date-time |
|
|
Zoned ISO reminder date-time |
|
|
Task recurrence rule |
|
|
Task order |
|
|
Task description |
|
|
File to which the task is attached to |
|
|
Task category |
|
|
Task assignees |
|
|
Sharing option, determines who can see a note: [NONE, DEFAULT, MEMBERS, PUBLIC] |
|
|
Member file permission mask |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
|
|
Date task was created |
|
|
Date task was completed |
|
|
Date task was last modified |
|
|
Parent task |
|
|
Number of subtasks |
|
|
Task time tracker |
|
|
Tracking start date |
|
|
Time tracked in milliseconds |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Amount of attachments |
|
|
Amount of comments |
|
|
User is following note |
|
|
Amount of shares |
|
|
Note has individual user permissions |
|
|
User permission |
11.6. Remove task
Moves task to group trash bin. NOTE: You can always restore trash bin items later, see group trash section for details.
Parameter | Description |
---|---|
|
Group id |
|
Task id |
DELETE /v3/groups/1/tasks/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/tasks/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/tasks/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 3
[ ]
11.7. Task order
Parameter | Description |
---|---|
|
Group id |
PUT /v3/groups/1/tasks/order HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 42
{
"category" : 1,
"items" : [ 1, 2 ]
}
$ echo '{
"category" : 1,
"items" : [ 1, 2 ]
}' | http PUT 'https://api.clinked.com/v3/groups/1/tasks/order' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/tasks/order' -i -X PUT \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"category" : 1,
"items" : [ 1, 2 ]
}'
Path | Type | Description |
---|---|---|
|
|
Task category id |
|
|
Ordered array of task id’s |
HTTP/1.1 200 OK
11.8. Categories
By default, tasks are created without a category. But you can organise them in categories.
11.8.1. List categories
Returns a list of all group categories.
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/task-categories HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/task-categories' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/task-categories' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Search by name |
|
Search for exact name |
|
Count completed tasks in categories |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 110
[ {
"id" : 1,
"name" : "My Task Category",
"order" : 0,
"color" : "#FF0000",
"numberOfTasks" : 0
} ]
Path | Type | Description |
---|---|---|
|
|
Task category ID |
|
|
Task name |
|
|
Ordering index |
|
|
Number of tasks in category |
|
|
Color hex string |
11.8.2. Create category
Creates a new group task category.
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/task-categories HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 61
{"name": "New Task Category", "order": 1, "color": "#FF0000"}
$ echo '{"name": "New Task Category", "order": 1, "color": "#FF0000"}' | http POST 'https://api.clinked.com/v3/groups/1/task-categories' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/task-categories' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"name": "New Task Category", "order": 1, "color": "#FF0000"}'
Path | Type | Description |
---|---|---|
|
|
Category name |
|
|
Ordering number |
|
|
Color hex code, e.g. #FF0000 |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 101
{
"id" : 975990810930034688,
"name" : "New Task Category",
"order" : 1,
"color" : "#FF0000"
}
Path | Type | Description |
---|---|---|
|
|
Task category ID |
|
|
Task name |
|
|
Ordering index |
|
|
Number of tasks in category |
|
|
Color hex string |
11.8.3. Update category
Parameter | Description |
---|---|
|
Group id |
|
Category id |
PATCH /v3/groups/1/task-categories/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 19
{"color":"#FF0000"}
$ echo '{"color":"#FF0000"}' | http PATCH 'https://api.clinked.com/v3/groups/1/task-categories/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/task-categories/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"color":"#FF0000"}'
Path | Type | Description |
---|---|---|
|
|
Category name |
|
|
Ordering number |
|
|
Color hex code, e.g. #FF0000 |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 83
{
"id" : 1,
"name" : "My Task Category",
"order" : 0,
"color" : "#FF0000"
}
Path | Type | Description |
---|---|---|
|
|
Task category ID |
|
|
Task name |
|
|
Ordering index |
|
|
Number of tasks in category |
|
|
Color hex string |
11.8.4. Delete category
Parameter | Description |
---|---|
|
Group id |
|
Category id |
DELETE /v3/groups/1/task-categories/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/task-categories/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/task-categories/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
11.9. Permissions
11.9.1. List permissions
Parameter | Description |
---|---|
|
Group id |
|
Task id |
GET /v3/groups/1/tasks/2/permissions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/tasks/2/permissions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/tasks/2/permissions' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 750
{
"sharing" : "MEMBERS",
"memberPermission" : 8,
"entries" : [ {
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"permission" : 16
} ]
}
Path | Type | Description |
---|---|---|
|
|
Sharing - NONE, DEFAULT, MEMBERS |
|
|
Member permission |
|
|
Permission entries |
|
|
User object |
|
|
User permission |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
11.9.2. Update permissions
Parameter | Description |
---|---|
|
Group id |
|
Note id |
POST /v3/groups/1/tasks/2/permissions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 106
{"sharing":"MEMBERS","memberPermission":4,"entries":[{"username":"jack","permission":4}],"children":false}
$ echo '{"sharing":"MEMBERS","memberPermission":4,"entries":[{"username":"jack","permission":4}],"children":false}' | http POST 'https://api.clinked.com/v3/groups/1/tasks/2/permissions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/tasks/2/permissions' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{"sharing":"MEMBERS","memberPermission":4,"entries":[{"username":"jack","permission":4}],"children":false}'
Path | Type | Description |
---|---|---|
|
|
Sharing - NONE, DEFAULT, MEMBERS |
|
|
Member permission |
|
|
Permission entries |
|
|
User object |
|
|
User permission |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 750
{
"sharing" : "MEMBERS",
"memberPermission" : 4,
"entries" : [ {
"user" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"permission" : 16
} ]
}
Path | Type | Description |
---|---|---|
|
|
Sharing - NONE, DEFAULT, MEMBERS |
|
|
Member permission |
|
|
Permission entries |
|
|
User object |
|
|
User permission |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Is user enabled |
|
|
Is user locked |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date the user was last active |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
11.10. Task statuses
The feature allows users to assign statuses to tasks, providing a visual representation of task progress.
11.10.1. List statuses
Returns account default and custom created task statuses.
GET /v3/tasks-status?account=1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/tasks-status?account=1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/tasks-status?account=1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 194
[ {
"id" : 1,
"color" : "#fff000",
"textColor" : "#000000",
"code" : "WAITING",
"name" : "Waiting",
"order" : 0,
"dateCreated" : 1731310284324,
"dateModified" : 1731310284324
} ]
Path | Type | Description |
---|---|---|
|
|
Status id |
|
|
Status code, default codes are - [NOT_STARTED, IN_PROGRESS, DEFERRED, WAITING, COMPLETED] |
|
|
Status name |
|
|
Status color |
|
|
Status text color |
|
|
Status order number |
|
|
Date status was created |
|
|
Date status was modified |
11.10.2. Create status
Creates new task status.
POST /v3/tasks-status HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 138
{
"account": 1,
"color":"#fff000",
"textColor":"#fff000",
"code":"IN_PROGRESS",
"name":"In progress",
"order":0
}
$ echo '{
"account": 1,
"color":"#fff000",
"textColor":"#fff000",
"code":"IN_PROGRESS",
"name":"In progress",
"order":0
}
' | http POST 'https://api.clinked.com/v3/tasks-status' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/tasks-status' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"account": 1,
"color":"#fff000",
"textColor":"#fff000",
"code":"IN_PROGRESS",
"name":"In progress",
"order":0
}
'
Path | Type | Description |
---|---|---|
|
|
Task status account |
|
|
Status code, default codes are - [NOT_STARTED, IN_PROGRESS, DEFERRED, WAITING, COMPLETED] |
|
|
Status name |
|
|
Status color |
|
|
Status text color |
|
|
Status order number |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 198
{
"id" : 1,
"color" : "#fff000",
"textColor" : "#fff000",
"code" : "IN_PROGRESS",
"name" : "In progress",
"order" : 0,
"dateCreated" : 1731310284349,
"dateModified" : 1731310284349
}
11.10.3. Update task status
Updates task status.
If task status doesn’t have "id", then first You need to create it with the same "code" to update it. |
Parameter | Description |
---|---|
|
Status id |
PATCH /v3/tasks-status/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 66
{
"color":"blue",
"name":"In progress",
"order":100
}
$ echo '{
"color":"blue",
"name":"In progress",
"order":100
}
' | http PATCH 'https://api.clinked.com/v3/tasks-status/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/tasks-status/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"color":"blue",
"name":"In progress",
"order":100
}
'
Path | Type | Description |
---|---|---|
|
|
Status name |
|
|
Status color |
|
|
Status order number |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 193
{
"id" : 1,
"color" : "blue",
"textColor" : "#000000",
"code" : "WAITING",
"name" : "In progress",
"order" : 100,
"dateCreated" : 1731310284278,
"dateModified" : 1731310284291
}
Path | Type | Description |
---|---|---|
|
|
Status id |
|
|
Status code, default codes are - [NOT_STARTED, IN_PROGRESS, DEFERRED, WAITING, COMPLETED] |
|
|
Status name |
|
|
Status color |
|
|
Status text color |
|
|
Status order number |
|
|
Date status was created |
|
|
Date status was modified |
11.10.4. Delete status
Deletes status
Parameter | Description |
---|---|
|
Status id |
DELETE /v3/tasks-status/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/tasks-status/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/tasks-status/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
11.11. Task Assign Members Progress
Return the progress in percentage of the active request to assign all group members to task.
Returns 404 error when there are no active requests.
GET /v3/groups/1/tasks/1/assign-all-progress HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/tasks/1/assign-all-progress' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/groups/1/tasks/1/assign-all-progress' -i -X GET \
-H 'Content-Type: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 23
{
"progress" : 33.0
}
Path | Type | Description |
---|---|---|
|
|
Progress percentage |
11.12. Delete all uncategorized or category tasks
Parameter | Description |
---|---|
|
Group id |
DELETE /v3/groups/1/tasks HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http --form DELETE 'https://api.clinked.com/v3/groups/1/tasks' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/tasks' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
12. Discussions
The Clinked discussions tool is an intuitive and inclusive area of the portal, it can be used to conceptualise and deliberate on topics. Members can use the discussions tool to get feedback on work projects or simply use it to come up with casual meeting plans.
For more information about the feature itself, see our Help Center page. |
This section shows how to create and manage your group discussions.
12.1. List discussions
Returns paginated list of group discussions.
Parameter | Description |
---|---|
|
Group id |
GET /v3/groups/1/discussions?page=1&size=5&orderBy=lastModified&ascending=false HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/discussions?page=1&size=5&orderBy=lastModified&ascending=false' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/discussions?page=1&size=5&orderBy=lastModified&ascending=false' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number to load |
|
Page size |
|
Order field |
|
Ascending order direction |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1031
{
"items" : [ {
"id" : 1,
"contextKey" : {
"id" : 894
},
"sharing" : "MEMBERS",
"memberPermission" : 2,
"following" : false,
"userAces" : false,
"userPermission" : 16,
"attachmentCount" : 0,
"name" : "great_discussion",
"friendlyName" : "Great discussion",
"tags" : "",
"description" : "What do you think about this?",
"replies" : 5,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"author" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 5,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
|
|
Total results |
|
|
Total number of pages available |
|
|
Discussion id |
|
|
Enitity context key |
|
|
Enitity context key ID |
|
|
Base information about the group |
|
|
Discussion unique group name used as slug for URLs |
|
|
Discussion name |
|
|
Comma separated list of tags |
|
|
Discussion initial message / body |
|
|
Amount of replies |
|
|
Creation date |
|
|
Last modification date |
|
|
Sharing setting |
|
|
Permission for members if |
|
|
Discussion author |
|
|
Discussion being followed by you |
|
|
Amount of shares for this discussion |
|
|
Amount of attachments for this discussion |
|
|
Indicates that the discussion has individual access control entries in the discussion ACL |
|
|
Your permission for discussion |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
12.2. Get discussion details
Parameter | Description |
---|---|
|
Group id |
|
Discussion id |
GET /v3/groups/1/discussions/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/discussions/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/discussions/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1629
{
"id" : 1,
"contextKey" : {
"id" : 843
},
"sharing" : "MEMBERS",
"memberPermission" : 2,
"following" : false,
"shareCount" : 0,
"userAces" : false,
"userPermission" : 16,
"attachmentCount" : 0,
"name" : "great_discussion",
"friendlyName" : "Great discussion",
"tags" : "",
"description" : "What do you think about this?",
"replies" : 5,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"author" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"repliesPage" : {
"items" : [ {
"id" : 1,
"reply" : "Here are my 2 cents",
"dateCreated" : 1514764800000,
"author" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"reactions" : {
"totalReactions" : 3,
"userReaction" : "THUMBS_UP",
"thumbsUp" : 1,
"thumbsDown" : 0,
"heart" : 0,
"openEye" : 0,
"fire" : 0
}
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 5,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
},
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
Discussion id |
|
|
Enitity context key |
|
|
Enitity context key ID |
|
|
Base information about the group |
|
|
Discussion unique group name used as slug for URLs |
|
|
Discussion name |
|
|
Comma separated list of tags |
|
|
Discussion initial message / body |
|
|
Amount of replies |
|
|
Creation date |
|
|
Last modification date |
|
|
Sharing setting |
|
|
Permission for members if |
|
|
Discussion author |
|
|
Discussion being followed by you |
|
|
Amount of shares for this discussion |
|
|
Amount of attachments for this discussion |
|
|
Indicates that the discussion has individual access control entries in the discussion ACL |
|
|
Your permission for discussion |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
The first page of replies |
|
|
Reply id |
|
|
Reply author |
|
|
Reply creation date |
|
|
Reply text |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
12.3. Create discussion
Parameter | Description |
---|---|
|
Group id |
POST /v3/groups/1/discussions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 156
{
"friendlyName": "My Awesome Discussion",
"tags": "awesome,api",
"description": "Lorem ipsum",
"sharing": "MEMBERS",
"copyFrom": null
}
$ echo '{
"friendlyName": "My Awesome Discussion",
"tags": "awesome,api",
"description": "Lorem ipsum",
"sharing": "MEMBERS",
"copyFrom": null
}' | http POST 'https://api.clinked.com/v3/groups/1/discussions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/discussions' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "My Awesome Discussion",
"tags": "awesome,api",
"description": "Lorem ipsum",
"sharing": "MEMBERS",
"copyFrom": null
}'
Path | Type | Description |
---|---|---|
|
|
Raw password |
|
|
Comma separated list of tags |
|
|
Discussion initial message/description |
|
|
Sharing setting |
|
|
Discussion id to copy friendly name and description from |
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 833
{
"id" : 1,
"contextKey" : {
"id" : 273
},
"sharing" : "MEMBERS",
"memberPermission" : 2,
"following" : false,
"shareCount" : 0,
"userAces" : false,
"userPermission" : 16,
"attachmentCount" : 0,
"name" : "my_awesome_discussion",
"friendlyName" : "My Awesome Discussion",
"tags" : "awesome,api",
"description" : "Lorem ipsum",
"replies" : 0,
"dateCreated" : 1731310286349,
"lastModified" : 1731310286349,
"author" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
Discussion id |
|
|
Enitity context key |
|
|
Enitity context key ID |
|
|
Base information about the group |
|
|
Discussion unique group name used as slug for URLs |
|
|
Discussion name |
|
|
Comma separated list of tags |
|
|
Discussion initial message / body |
|
|
Amount of replies |
|
|
Creation date |
|
|
Last modification date |
|
|
Sharing setting |
|
|
Permission for members if |
|
|
Discussion author |
|
|
Discussion being followed by you |
|
|
Amount of shares for this discussion |
|
|
Amount of attachments for this discussion |
|
|
Indicates that the discussion has individual access control entries in the discussion ACL |
|
|
Your permission for discussion |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
12.4. Update discussion
Parameter | Description |
---|---|
|
Group id |
|
Discussion id |
PATCH /v3/groups/1/discussions/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 173
{
"friendlyName": "My Awesome Discussion UPD",
"tags": "awesome,api,new",
"description": "Description updated",
"sharing": "MEMBERS",
"following": true
}
$ echo '{
"friendlyName": "My Awesome Discussion UPD",
"tags": "awesome,api,new",
"description": "Description updated",
"sharing": "MEMBERS",
"following": true
}' | http PATCH 'https://api.clinked.com/v3/groups/1/discussions/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/discussions/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "My Awesome Discussion UPD",
"tags": "awesome,api,new",
"description": "Description updated",
"sharing": "MEMBERS",
"following": true
}'
Path | Type | Description |
---|---|---|
|
|
Raw password |
|
|
Comma separated list of tags |
|
|
Discussion initial message/description |
|
|
Sharing setting |
|
|
Discussion being followed by you |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 843
{
"id" : 1,
"contextKey" : {
"id" : 517
},
"sharing" : "MEMBERS",
"memberPermission" : 2,
"following" : true,
"shareCount" : 0,
"userAces" : false,
"userPermission" : 16,
"attachmentCount" : 0,
"name" : "great_discussion",
"friendlyName" : "My Awesome Discussion UPD",
"tags" : "awesome,api,new",
"description" : "Description updated",
"replies" : 5,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"author" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
Path | Type | Description |
---|---|---|
|
|
Discussion id |
|
|
Enitity context key |
|
|
Enitity context key ID |
|
|
Base information about the group |
|
|
Discussion unique group name used as slug for URLs |
|
|
Discussion name |
|
|
Comma separated list of tags |
|
|
Discussion initial message / body |
|
|
Amount of replies |
|
|
Creation date |
|
|
Last modification date |
|
|
Sharing setting |
|
|
Permission for members if |
|
|
Discussion author |
|
|
Discussion being followed by you |
|
|
Amount of shares for this discussion |
|
|
Amount of attachments for this discussion |
|
|
Indicates that the discussion has individual access control entries in the discussion ACL |
|
|
Your permission for discussion |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
12.5. Remove discussion
Moves discussion to group trash bin.
You can always restore trash bin items later, see group trash section for details. |
Parameter | Description |
---|---|
|
Group id |
|
Discussion id |
DELETE /v3/groups/1/discussions/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/discussions/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/discussions/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 256
{
"id" : 15,
"contextKey" : {
"id" : 953
},
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dateDeleted" : 1731310286379
}
Path | Type | Description |
---|---|---|
|
|
File id |
|
|
Context key |
|
|
Context key ID |
|
|
User who removed this |
|
|
Remove timestamp |
|
|
User / profile id |
|
|
Full name |
|
|
Username |
|
|
Avatar available |
|
|
Job title |
|
|
Last profile update date |
12.6. Replies
12.6.1. List replies
Parameter | Description |
---|---|
|
Group id |
|
Discussion id |
GET /v3/groups/1/discussions/1/replies?size=25&page=1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/groups/1/discussions/1/replies?size=25&page=1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/discussions/1/replies?size=25&page=1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number |
|
Page size |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 714
{
"items" : [ {
"id" : 1,
"reply" : "Here are my 2 cents",
"dateCreated" : 1514764800000,
"author" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"reactions" : {
"totalReactions" : 3,
"userReaction" : "THUMBS_UP",
"thumbsUp" : 1,
"thumbsDown" : 0,
"heart" : 0,
"openEye" : 0,
"fire" : 0
}
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 25,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Reply id |
|
|
Reply author |
|
|
Reply creation date |
|
|
Reply text |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
|
|
Number of total reactions |
|
|
Reaction - [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
|
|
Number of thumbs up |
|
|
Number of thumbs down |
|
|
Number of hearts |
|
|
Number of open eye |
|
|
Number of fire |
12.6.2. Create reply
Parameter | Description |
---|---|
|
Group id |
|
Discussion id |
POST /v3/groups/1/discussions/1/replies HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 61
{
"reply" : "Hello discussion",
"mentions" : "John.Doe"
}
$ echo '{
"reply" : "Hello discussion",
"mentions" : "John.Doe"
}' | http POST 'https://api.clinked.com/v3/groups/1/discussions/1/replies' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/discussions/1/replies' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"reply" : "Hello discussion",
"mentions" : "John.Doe"
}'
Path | Type | Description |
---|---|---|
|
|
Reply text |
|
|
Reply mentions |
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 360
{
"id" : 1,
"reply" : "Here are my 2 cents",
"dateCreated" : 1514764800000,
"author" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"reactions" : null
}
Path | Type | Description |
---|---|---|
|
|
Reply id |
|
|
Reply author |
|
|
Reply creation date |
|
|
Reply text |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Reactions |
12.6.3. Delete reply
Parameter | Description |
---|---|
|
Group id |
|
Discussion id |
|
Discussion reply |
DELETE /v3/groups/1/discussions/1/replies/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/groups/1/discussions/1/replies/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/groups/1/discussions/1/replies/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
13. Comments
Entity Comments enable users to engage in discussions, share feedback, and provide context about specific entities.
13.1. List comments
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
GET /v3/context/page_1/comments HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/page_1/comments' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/comments' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Parent comment id |
|
Comment offset |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 589
{
"offset" : "0",
"items" : [ {
"comment" : {
"id" : 1,
"commenter" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"comment" : "Hello world",
"dateCreated" : 1514764800000,
"dateUpdated" : 1514764800000,
"numberOfChildren" : 0
},
"reactions" : null,
"replies" : null
} ],
"more" : true
}
Path | Type | Description |
---|---|---|
|
|
Comment offset |
|
|
Comments |
|
|
Comment id |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Commenter name |
|
|
Commenter username |
|
|
Comment text |
|
|
Date created |
|
|
Date updated |
|
|
Number of child comments |
|
|
Comment reactions |
|
|
Comment replies |
|
|
Is there more results |
13.2. Comments count
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
HEAD /v3/context/page_1/comments HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http HEAD 'https://api.clinked.com/v3/context/page_1/comments' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/comments' -i -X HEAD \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
X-Count: 100
13.3. Create comment
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
POST /v3/context/page_1/comments HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 27
{"message": "Hello World" }
$ echo '{"message": "Hello World" }' | http POST 'https://api.clinked.com/v3/context/page_1/comments' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/comments' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"message": "Hello World" }'
Path | Type | Description |
---|---|---|
|
|
Parent comment id |
|
|
User mentions |
|
|
Message text |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 379
{
"id" : null,
"commenter" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"comment" : "Hello World",
"dateCreated" : null,
"dateUpdated" : null,
"numberOfChildren" : 0
}
Path | Type | Description |
---|---|---|
|
|
Comment id |
|
|
Commenter object |
|
|
Commenter user object |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Commenter name |
|
|
Commenter username |
|
|
Comment content |
|
|
Date created |
|
|
Date updated |
|
|
Number of children |
13.4. Delete comment
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Comment id |
DELETE /v3/context/page_1/comments/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/context/page_1/comments/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/comments/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
13.5. Reactions
Deprecated |
Comment reactions are user-generated responses to comments in the portal.
13.5.1. List reactions
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Comment id |
GET /v3/context/page_1/comments/1/reactions HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/page_1/comments/1/reactions' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/comments/1/reactions' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 380
[ {
"user" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"reactionType" : "THUMBS_UP",
"dateCreated" : 1514764800000,
"dateUpdated" : 1514764800000,
"disabled" : false
} ]
Path | Type | Description |
---|---|---|
|
|
User |
|
|
Commenter user object |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Commenter name |
|
|
Commenter username |
|
|
Reaction type: [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
|
|
Date created |
|
|
Date updated |
|
|
Is reaction disabled |
13.5.2. Summary
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Comment id |
GET /v3/context/page_1/comments/1/reactions?summary=&summary= HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/page_1/comments/1/reactions?summary=&summary=' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/comments/1/reactions?summary=&summary=' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 142
{
"totalReactions" : 3,
"userReaction" : "THUMBS_UP",
"thumbsUp" : 1,
"thumbsDown" : 0,
"heart" : 0,
"openEye" : 0,
"fire" : 0
}
Path | Type | Description |
---|---|---|
|
|
Number of total reactions |
|
|
Reaction - [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
|
|
Number of thumbs up |
|
|
Number of thumbs down |
|
|
Number of hearts |
|
|
Number of open eye |
|
|
Number of fire |
13.5.3. Create reaction
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Comment id |
POST /v3/context/page_1/comments/1/reactions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 30
{"reactionType": "THUMBS_UP" }
$ echo '{"reactionType": "THUMBS_UP" }' | http POST 'https://api.clinked.com/v3/context/page_1/comments/1/reactions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/comments/1/reactions' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"reactionType": "THUMBS_UP" }'
Path | Type | Description |
---|---|---|
|
|
Reaction - [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 376
{
"user" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"reactionType" : "THUMBS_UP",
"dateCreated" : 1514764800000,
"dateUpdated" : 1514764800000,
"disabled" : false
}
Path | Type | Description |
---|---|---|
|
|
User |
|
|
Commenter user object |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Commenter name |
|
|
Commenter username |
|
|
Reaction type: [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
|
|
Date created |
|
|
Date updated |
|
|
Is reaction disabled |
13.5.4. Disable reaction
Disable authenticated user reaction to comment.
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Comment id |
DELETE /v3/context/page_1/comments/1/reactions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 30
{"reactionType": "THUMBS_UP" }
$ echo '{"reactionType": "THUMBS_UP" }' | http DELETE 'https://api.clinked.com/v3/context/page_1/comments/1/reactions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/comments/1/reactions' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"reactionType": "THUMBS_UP" }'
Path | Type | Description |
---|---|---|
|
|
Reaction - [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
HTTP/1.1 200 OK
14. Comment reactions
Comment reactions are user-generated responses to comments in the portal.
14.1. List reactions
Parameter | Description |
---|---|
|
example: reply_1, comment_1, discussions have 'reply', everything else 'comment' |
GET /v3/context/comment_1/reactions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/comment_1/reactions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/context/comment_1/reactions' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 380
[ {
"user" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"reactionType" : "THUMBS_UP",
"dateCreated" : 1514764800000,
"dateUpdated" : 1514764800000,
"disabled" : false
} ]
Path | Type | Description |
---|---|---|
|
|
User |
|
|
Commenter user object |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Commenter name |
|
|
Commenter username |
|
|
Reaction type: [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
|
|
Date created |
|
|
Date updated |
|
|
Is reaction disabled |
14.2. Summary
Parameter | Description |
---|---|
|
example: reply_1, comment_1, discussions have 'reply', everything else 'comment' |
GET /v3/context/comment_1/reactions?summary=&summary= HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/comment_1/reactions?summary=&summary=' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/context/comment_1/reactions?summary=&summary=' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 137
{
"totalReactions" : 5,
"userReaction" : "FIRE",
"thumbsUp" : 1,
"thumbsDown" : 1,
"heart" : 1,
"openEye" : 1,
"fire" : 1
}
Path | Type | Description |
---|---|---|
|
|
Number of total reactions |
|
|
Reaction - [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
|
|
Number of thumbs up |
|
|
Number of thumbs down |
|
|
Number of hearts |
|
|
Number of open eye |
|
|
Number of fire |
14.3. Create reaction
Parameter | Description |
---|---|
|
example: reply_1, comment_1, discussions have 'reply', everything else 'comment' |
POST /v3/context/comment_1/reactions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
Content-Length: 34
{
"reactionType" : "THUMBS_UP"
}
$ echo '{
"reactionType" : "THUMBS_UP"
}' | http POST 'https://api.clinked.com/v3/context/comment_1/reactions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/context/comment_1/reactions' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json' \
-d '{
"reactionType" : "THUMBS_UP"
}'
Path | Type | Description |
---|---|---|
|
|
Reaction type - [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 376
{
"user" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"reactionType" : "THUMBS_UP",
"dateCreated" : 1514764800000,
"dateUpdated" : 1514764800000,
"disabled" : false
}
Path | Type | Description |
---|---|---|
|
|
User |
|
|
Commenter user object |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Commenter name |
|
|
Commenter username |
|
|
Reaction type: [THUMBS_UP, THUMBS_DOWN, HEART, OPEN_EYE, FIRE] |
|
|
Date created |
|
|
Date updated |
|
|
Is reaction disabled |
14.4. Disable reaction
Parameter | Description |
---|---|
|
example: reply_1, comment_1, discussions have 'reply', everything else 'comment' |
DELETE /v3/context/comment_1/reactions HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Accept: application/json
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/context/comment_1/reactions' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>' \
'Accept:application/json'
$ curl 'https://api.clinked.com/v3/context/comment_1/reactions' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-H 'Accept: application/json'
HTTP/1.1 200 OK
15. Attachments
Attachments are files attached to other content within the portal such as notes, discussions, etc.
Context parameter format:
{name}_{id}
Available context type names are:
-
account
- Account -
group
- Group -
file
- Group file -
page
- Group note -
event
- Group calendar event -
task
- Group task -
discussion
- Group discussion -
reachoutentry
- Reach Out entry
15.1. List attachments
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
GET /v3/context/discussion_1/attachments?page=1&size=10&orderBy=lastModified&ascending=true&foldersOnly=false HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/discussion_1/attachments?page=1&size=10&orderBy=lastModified&ascending=true&foldersOnly=false' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/discussion_1/attachments?page=1&size=10&orderBy=lastModified&ascending=true&foldersOnly=false' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number |
|
Page size |
|
Search by name |
|
Order field: name, lastModified |
|
Order in ascending direction |
|
Get only folders |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1071
{
"items" : [ {
"id" : 100,
"friendlyName" : "Cat.jpg",
"name" : "cat_jpg",
"contentType" : "image/jpg",
"size" : 4500,
"lastModified" : 1731310258268,
"href" : null,
"link" : 99,
"removed" : false,
"previewInfo" : {
"finished" : false,
"successful" : false,
"values" : {
"fileId" : 99
},
"errorCode" : null
}
}, {
"id" : 105,
"friendlyName" : "Dog.jpg",
"name" : "dog_jpg",
"contentType" : "glink",
"size" : 0,
"lastModified" : 1731310258268,
"href" : "https://drive.google.com/file/d/1svAO-TKvjb4k9Kd1AeDQG_gRx0d4y89L/view?usp=drivesdk",
"link" : null,
"removed" : false,
"previewInfo" : {
"finished" : false,
"successful" : false,
"values" : {
"href" : "https://drive.google.com/file/d/1svAO-TKvjb4k9Kd1AeDQG_gRx0d4y89L/view?usp=drivesdk"
},
"errorCode" : null
}
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 10,
"totalResults" : 2,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Current page number |
|
|
Page size |
|
|
Total pages |
|
|
Results in total |
|
|
Next page available |
|
|
Previous page available |
|
|
Attachment id |
|
|
Attachment name |
|
|
Attachment slug |
|
|
Attachment file content type |
|
|
Attachment file size |
|
|
Last modification date |
|
|
Preview details |
|
|
Attached group file is removed |
|
|
Linked group file ID |
|
|
Has the preview conversion finished |
|
|
Was the preview conversion successful |
|
|
Values specific to the preview type |
|
|
File URL |
|
|
File ID |
|
|
Error code if preview conversion failed |
15.2. Upload attachment
Attaches a new file. See file upload section for details on how to upload a file and get required temporary file ID.
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
POST /v3/context/discussion_1/attachments HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 129
{
"friendlyName": "My File.pdf",
"tempFile": "MFYHA3DJMNQXI2LPNYXXAZDGHIYTAMB2JV4SAZTJNRSS44DEHJTGC3DTMU5G45LMNQ======"
}
$ echo '{
"friendlyName": "My File.pdf",
"tempFile": "MFYHA3DJMNQXI2LPNYXXAZDGHIYTAMB2JV4SAZTJNRSS44DEHJTGC3DTMU5G45LMNQ======"
}' | http POST 'https://api.clinked.com/v3/context/discussion_1/attachments' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/discussion_1/attachments' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "My File.pdf",
"tempFile": "MFYHA3DJMNQXI2LPNYXXAZDGHIYTAMB2JV4SAZTJNRSS44DEHJTGC3DTMU5G45LMNQ======"
}'
Path | Type | Description |
---|---|---|
|
|
Attachment file name |
|
|
Temporary file id to attach |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 241
{
"id" : 50,
"friendlyName" : "My File.pdf",
"name" : "my_file_pdf",
"contentType" : "application/pdf",
"size" : 100,
"lastModified" : 1731310258232,
"href" : null,
"link" : null,
"removed" : false,
"previewInfo" : null
}
Path | Type | Description |
---|---|---|
|
|
Attachment id |
|
|
Attachment name |
|
|
Attachment slug |
|
|
Attachment file content type |
|
|
Attachment file size |
|
|
Last modification date |
|
|
Preview details |
|
|
Attached group file is removed |
|
|
Linked group file ID |
|
|
Has the preview conversion finished |
|
|
Was the preview conversion successful |
|
|
Values specific to the preview type |
|
|
File URL |
|
|
File ID |
|
|
Error code if preview conversion failed |
15.3. Attach group file
Attaches existing group file.
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
POST /v3/context/discussion_1/attachments HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 54
{
"friendlyName": "My File.pdf",
"fileId": 1
}
$ echo '{
"friendlyName": "My File.pdf",
"fileId": 1
}' | http POST 'https://api.clinked.com/v3/context/discussion_1/attachments' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/discussion_1/attachments' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "My File.pdf",
"fileId": 1
}'
Path | Type | Description |
---|---|---|
|
|
Attachment file name |
|
|
Group file id to attach |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 346
{
"id" : 50,
"friendlyName" : "Cat.jpg",
"name" : "my_file_pdf",
"contentType" : "image/jpg",
"size" : 4500,
"lastModified" : 1731310258354,
"href" : null,
"link" : 1,
"removed" : false,
"previewInfo" : {
"finished" : false,
"successful" : false,
"values" : {
"fileId" : 1
},
"errorCode" : null
}
}
Path | Type | Description |
---|---|---|
|
|
Attachment id |
|
|
Attachment name |
|
|
Attachment slug |
|
|
Attachment file content type |
|
|
Attachment file size |
|
|
Last modification date |
|
|
Preview details |
|
|
Attached group file is removed |
|
|
Linked group file ID |
|
|
Has the preview conversion finished |
|
|
Was the preview conversion successful |
|
|
Values specific to the preview type |
|
|
File URL |
|
|
File ID |
|
|
Error code if preview conversion failed |
15.4. Attach Google link
Attaches link to Google Drive/Onedrive file.
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
POST /v3/context/discussion_1/attachments HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 136
{
"friendlyName": "My File.pdf",
"href": "https://drive.google.com/file/d/1svAO-TKvjb4k9Kd1AeDQG_gRx0d4y89L/view?usp=drivesdk"
}
$ echo '{
"friendlyName": "My File.pdf",
"href": "https://drive.google.com/file/d/1svAO-TKvjb4k9Kd1AeDQG_gRx0d4y89L/view?usp=drivesdk"
}' | http POST 'https://api.clinked.com/v3/context/discussion_1/attachments' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/discussion_1/attachments' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"friendlyName": "My File.pdf",
"href": "https://drive.google.com/file/d/1svAO-TKvjb4k9Kd1AeDQG_gRx0d4y89L/view?usp=drivesdk"
}'
Path | Type | Description |
---|---|---|
|
|
Attachment file name |
|
|
Google file URL |
|
|
Onedrive file URL |
|
|
Is folder |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 509
{
"id" : 50,
"friendlyName" : "My File.pdf",
"name" : "my_file_pdf",
"contentType" : "glink",
"size" : 0,
"lastModified" : 1731310258302,
"href" : "https://drive.google.com/file/d/1svAO-TKvjb4k9Kd1AeDQG_gRx0d4y89L/view?usp=drivesdk",
"link" : null,
"removed" : false,
"previewInfo" : {
"finished" : false,
"successful" : false,
"values" : {
"href" : "https://drive.google.com/file/d/1svAO-TKvjb4k9Kd1AeDQG_gRx0d4y89L/view?usp=drivesdk"
},
"errorCode" : null
}
}
Path | Type | Description |
---|---|---|
|
|
Attachment id |
|
|
Attachment name |
|
|
Attachment slug |
|
|
Attachment file content type |
|
|
Attachment file size |
|
|
Last modification date |
|
|
Preview details |
|
|
Attached group file is removed |
|
|
Linked group file ID |
|
|
Has the preview conversion finished |
|
|
Was the preview conversion successful |
|
|
Values specific to the preview type |
|
|
File URL |
|
|
File ID |
|
|
Error code if preview conversion failed |
15.5. Delete attachment
Deletes attachment. If a group file is attaches, it will not delete it from a group.
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Attachment id |
DELETE /v3/context/discussion_1/attachments/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/context/discussion_1/attachments/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/discussion_1/attachments/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
15.6. Download attachment
Downloads attachment file.
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Attachment id |
GET /v3/context/discussion_1/attachments/1/download HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/discussion_1/attachments/1/download' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/discussion_1/attachments/1/download' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Disposition: attachment; filename="Cat.jpg"
Last-Modified: Mon, 11 Nov 2024 07:30:58 GMT
Content-Type: image/jpg
Accept-Ranges: bytes
16. Shares
Find out with whom the entity is shared with. For details how to access shared content visit Shares documentation.
16.1. List shares
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
GET /v3/context/page_1/shares HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/page_1/shares' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/shares' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 402
[ {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"contentContext" : null,
"dateCreated" : 1514764800000,
"dateExpire" : 1514764800000,
"email" : "jack.bauer@clinked.com",
"tokenKey" : null,
"permission" : 1,
"passwordEnabled" : false,
"notifications" : false
} ]
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Content context |
|
|
Date created |
|
|
Date expire |
|
|
|
|
|
Token key |
|
|
Permission |
|
|
Is password enabled |
|
|
Is notifications enabled |
16.2. Share count
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
HEAD /v3/context/page_1/shares HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http HEAD 'https://api.clinked.com/v3/context/page_1/shares' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/shares' -i -X HEAD \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
X-Count: 100
16.3. Create share
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
POST /v3/context/page_1/shares HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 207
{"emails":["jasck@example.com"],"type":"SHARE","sendEmail":true,"message":"Shared content with you","dateExpire":1731313856746,"password":"saFEpasWORD","notifications":true,"uploads":false,"downloads":false}
$ echo '{"emails":["jasck@example.com"],"type":"SHARE","sendEmail":true,"message":"Shared content with you","dateExpire":1731313856746,"password":"saFEpasWORD","notifications":true,"uploads":false,"downloads":false}' | http POST 'https://api.clinked.com/v3/context/page_1/shares' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/shares' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"emails":["jasck@example.com"],"type":"SHARE","sendEmail":true,"message":"Shared content with you","dateExpire":1731313856746,"password":"saFEpasWORD","notifications":true,"uploads":false,"downloads":false}'
Path | Type | Description |
---|---|---|
|
|
Array of emails |
|
|
Type - [SHARE, UPLOAD_REQUEST] |
|
|
Send email |
|
|
Email message |
|
|
Expiry date |
|
|
Password |
|
|
Send notifications |
|
|
Allow uploads |
|
|
Allow downloads |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 402
[ {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"contentContext" : null,
"dateCreated" : 1514764800000,
"dateExpire" : 1514764800000,
"email" : "jack.bauer@clinked.com",
"tokenKey" : null,
"permission" : 1,
"passwordEnabled" : false,
"notifications" : false
} ]
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Content context |
|
|
Date created |
|
|
Date expire |
|
|
|
|
|
Token key |
|
|
Permission |
|
|
Is password enabled |
|
|
Is notifications enabled |
16.4. Update share
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Token key |
PATCH /v3/context/page_1/shares/1234-567d-fd31-443f-gdfg HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 178
{"sendEmail":true,"message":"Hello patch","expiryEnabled":false,"dateExpire":null,"passwordEnabled":false,"password":null,"notifications":false,"uploads":false,"downloads":false}
$ echo '{"sendEmail":true,"message":"Hello patch","expiryEnabled":false,"dateExpire":null,"passwordEnabled":false,"password":null,"notifications":false,"uploads":false,"downloads":false}' | http PATCH 'https://api.clinked.com/v3/context/page_1/shares/1234-567d-fd31-443f-gdfg' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/shares/1234-567d-fd31-443f-gdfg' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"sendEmail":true,"message":"Hello patch","expiryEnabled":false,"dateExpire":null,"passwordEnabled":false,"password":null,"notifications":false,"uploads":false,"downloads":false}'
Path | Type | Description |
---|---|---|
|
|
Send email |
|
|
Email message |
|
|
Expiry date |
|
|
Password |
|
|
Send notifications |
|
|
Allow uploads |
|
|
Allow downloads |
|
|
Enable expiry |
|
|
Enable password |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 389
{
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"contentContext" : null,
"dateCreated" : 1514764800000,
"dateExpire" : null,
"email" : "jack.bauer@clinked.com",
"tokenKey" : null,
"permission" : 1,
"passwordEnabled" : false,
"notifications" : false
}
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Content context |
|
|
Date created |
|
|
Date expire |
|
|
|
|
|
Token key |
|
|
Permission |
|
|
Is password enabled |
|
|
Is notifications enabled |
16.5. Delete share
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Token key |
DELETE /v3/context/page_1/shares/1234-567d-fd31-443f-gdfg HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/context/page_1/shares/1234-567d-fd31-443f-gdfg' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/page_1/shares/1234-567d-fd31-443f-gdfg' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
17. Profile
Profiles endpoints can be used to get or update personal profile information. Also, you can retrieve other available users, meaning users you have permission to see.
17.1. Profile count
HEAD /v3/profiles HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http --form HEAD 'https://api.clinked.com/v3/profiles' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/profiles' -i -X HEAD \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Array of user Ids to exclude from list |
|
Add yourself to the list of members |
|
Name or email address to filter member by |
|
Group for which to count members |
HTTP/1.1 200 OK
X-Count: 0
17.2. List visible profiles
Shows list of users you are allowed to see. These can be group and account members you have access to. This is helpful if you want to invite a user to an event, assign a task and other cases when other user ID or username is required.
GET /v3/profiles?allowSelf=false HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/profiles?allowSelf=false' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/profiles?allowSelf=false' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Add yourself to the list of members |
|
Name or email address to filter member by |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 671
{
"items" : [ {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000,
"locale" : "en",
"timeZone" : "UTC",
"twoFactorAuthentication" : false,
"verifiedEmail" : false,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"organisation" : "Clinked",
"profileFields" : { }
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 10,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Current page number |
|
|
Current page size |
|
|
Next page available |
|
|
Previous page available |
|
|
Amount of available pages |
|
|
Total results |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Organisation name |
|
|
Email address |
|
|
Address |
|
|
Phone number |
|
|
Optional other information |
|
|
Time zone ID |
|
|
Locale |
|
|
Is email verified |
|
|
Is 2FA enabled |
|
|
2FA mode: [AUTHENTICATOR, SMS, EMAIL] |
|
|
Additional profile fields |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
17.3. Show personal profile details
Shows currently authenticated user personal profile information.
GET /v3/profiles/me HTTP/1.1
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/profiles/me'
$ curl 'https://api.clinked.com/v3/profiles/me' -i -X GET
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 512
{
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000,
"locale" : "en",
"timeZone" : "UTC",
"twoFactorAuthentication" : false,
"verifiedEmail" : false,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"realName" : "Jack Bauer",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"organisation" : "Clinked",
"profileFields" : { }
}
Path | Type | Description |
---|---|---|
|
|
User / profile id |
|
|
Name |
|
|
Real name visible only to account administrators |
|
|
Username |
|
|
|
|
|
Optional address |
|
|
Optional phone number |
|
|
Optional other details |
|
|
Optional organisation name |
|
|
Optional job title |
|
|
Profile has logo or not |
|
|
Profile has 2FA enabled / disabled |
|
|
Profile locale |
|
|
Profile time zone |
|
|
Profile was last modified |
|
|
Profile e-mail address is verified |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Optional custom profile fields |
17.4. Update personal profile data
Updates currently authenticated user personal profile information.
PATCH /v3/profiles/me HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
Content-Length: 24
{ "telephone": "12345"}
$ echo '{ "telephone": "12345"}' | http PATCH 'https://api.clinked.com/v3/profiles/me' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/profiles/me' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{ "telephone": "12345"}'
Path | Type | Description |
---|---|---|
|
|
Temporary file ID for new user avatar |
|
|
Should avatar be available |
|
|
Full name |
|
|
Email address |
|
|
Physical address |
|
|
Phone number |
|
|
Description / notes |
|
|
Organisation name |
|
|
Job title |
|
|
Locale ID |
|
|
Time zone ID |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Real name visible only to account administrators |
|
|
Optional custom profile fields |
|
|
Time format preference - 24hr or 12hr format |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 508
{
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000,
"locale" : "en",
"timeZone" : "UTC",
"twoFactorAuthentication" : false,
"verifiedEmail" : false,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"realName" : "Jack Bauer",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "12345",
"other" : null,
"organisation" : "Clinked",
"profileFields" : { }
}
Path | Type | Description |
---|---|---|
|
|
User / profile id |
|
|
Name |
|
|
Real name visible only to account administrators |
|
|
Username |
|
|
|
|
|
Optional address |
|
|
Optional phone number |
|
|
Optional other details |
|
|
Optional organisation name |
|
|
Optional job title |
|
|
Profile has logo or not |
|
|
Profile has 2FA enabled / disabled |
|
|
Profile locale |
|
|
Profile time zone |
|
|
Profile was last modified |
|
|
Profile e-mail address is verified |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Optional custom profile fields |
17.5. Get profile details
Returns profile details by username.
Parameter | Description |
---|---|
|
Username |
GET /v3/profiles/jack HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/profiles/jack' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/profiles/jack' -i -X GET \
-H 'Content-Type: application/json'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 512
{
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000,
"locale" : "en",
"timeZone" : "UTC",
"twoFactorAuthentication" : false,
"verifiedEmail" : false,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"realName" : "Jack Bauer",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"organisation" : "Clinked",
"profileFields" : { }
}
Path | Type | Description |
---|---|---|
|
|
User / profile id |
|
|
Name |
|
|
Real name visible only to account administrators |
|
|
Username |
|
|
|
|
|
Optional address |
|
|
Optional phone number |
|
|
Optional other details |
|
|
Optional organisation name |
|
|
Optional job title |
|
|
Profile has logo or not |
|
|
Profile has 2FA enabled / disabled |
|
|
Profile locale |
|
|
Profile time zone |
|
|
Profile was last modified |
|
|
Profile e-mail address is verified |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Optional custom profile fields |
17.6. Update profile
Parameter | Description |
---|---|
|
Username |
PATCH /v3/profiles/jack HTTP/1.1
Content-Type: application/json
Host: api.clinked.com
Content-Length: 269
{
"name" : "John Doe",
"realName" : "John Saint",
"email" : "email@example.com",
"address" : "Never land",
"telephone" : "123456789",
"organisation" : "Awesome org",
"jobTitle" : "Boss",
"locale" : "en_GB",
"timeZone" : "UTC",
"verifyEmail" : true
}
$ echo '{
"name" : "John Doe",
"realName" : "John Saint",
"email" : "email@example.com",
"address" : "Never land",
"telephone" : "123456789",
"organisation" : "Awesome org",
"jobTitle" : "Boss",
"locale" : "en_GB",
"timeZone" : "UTC",
"verifyEmail" : true
}' | http PATCH 'https://api.clinked.com/v3/profiles/jack' \
'Content-Type:application/json'
$ curl 'https://api.clinked.com/v3/profiles/jack' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "John Doe",
"realName" : "John Saint",
"email" : "email@example.com",
"address" : "Never land",
"telephone" : "123456789",
"organisation" : "Awesome org",
"jobTitle" : "Boss",
"locale" : "en_GB",
"timeZone" : "UTC",
"verifyEmail" : true
}'
Path | Type | Description |
---|---|---|
|
|
Temporary file ID for new user avatar |
|
|
Should avatar be available |
|
|
Full name |
|
|
Email address |
|
|
Physical address |
|
|
Phone number |
|
|
Description / notes |
|
|
Organisation name |
|
|
Job title |
|
|
Locale ID |
|
|
Time zone ID |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Real name visible only to account administrators |
|
|
Optional custom profile fields |
|
|
Time format preference - 24hr or 12hr format |
|
|
Verify email |
|
|
New password |
|
|
Current password |
|
|
Has logo |
|
|
Logo temp file id |
Path | Type | Description |
---|---|---|
|
|
User / profile id |
|
|
Name |
|
|
Real name visible only to account administrators |
|
|
Username |
|
|
|
|
|
Optional address |
|
|
Optional phone number |
|
|
Optional other details |
|
|
Optional organisation name |
|
|
Optional job title |
|
|
Profile has logo or not |
|
|
Profile has 2FA enabled / disabled |
|
|
Profile locale |
|
|
Profile time zone |
|
|
Profile was last modified |
|
|
Profile e-mail address is verified |
|
|
Time format preference - 24hr or 12hr format |
|
|
Date format preference - YMD (Year-Month-Day), MDY (Month/Day/Year) or DMY(Day/Month/Year) |
|
|
Optional custom profile fields |
17.7. Properties
User profiles can have custom properties. Endpoints access authenticated user properties.
17.7.1. List properties
GET /v3/properties HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/properties' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/properties' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Optional property partial name |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 62
[ {
"name" : "PropertyName",
"value" : "PropertyValue"
} ]
Path | Type | Description |
---|---|---|
|
|
Array of properties |
|
|
Property name |
|
|
Property value |
17.7.2. Get property
Parameter | Description |
---|---|
|
Property name |
GET /v3/properties/name HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/properties/name' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/properties/name' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 58
{
"name" : "PropertyName",
"value" : "PropertyValue"
}
Path | Type | Description |
---|---|---|
|
|
Property name |
|
|
Property value |
17.7.3. Create property
POST /v3/properties HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 47
{"name":"PropertyName","value":"PropertyValue"}
$ echo '{"name":"PropertyName","value":"PropertyValue"}' | http POST 'https://api.clinked.com/v3/properties' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/properties' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"name":"PropertyName","value":"PropertyValue"}'
Path | Type | Description |
---|---|---|
|
|
Property name |
|
|
Property value |
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 58
{
"name" : "PropertyName",
"value" : "PropertyValue"
}
Path | Type | Description |
---|---|---|
|
|
Property name |
|
|
Property value |
Delete property
Parameter | Description |
---|---|
|
Property name |
DELETE /v3/properties/PropertyName HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/properties/PropertyName' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/properties/PropertyName' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
17.7.5. Enable 2FA
POST /v3/profiles/me/two-factor-authentication HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 32
{"mode":"EMAIL","code":"424394"}
$ echo '{"mode":"EMAIL","code":"424394"}' | http POST 'https://api.clinked.com/v3/profiles/me/two-factor-authentication' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/profiles/me/two-factor-authentication' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"mode":"EMAIL","code":"424394"}'
Path | Type | Description |
---|---|---|
|
|
2FA mode AUTHENTICATOR | SMS | EMAIL |
|
|
Authentication code |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 144
{
"backupCodes" : [ "^!~MIh@4", "ipN4vR)o", "7JQkmb(P", "h#MAlXxB", "BEOaSYZQ", "wMQl^NM~", "(uhPiDm-", "FRKKLuMq", "58yKTg%J", "jgcepGMc" ]
}
Path | Type | Description |
---|---|---|
|
|
Array of backup codes |
17.7.6. Activate 2FA
PUT /v3/profiles/me/two-factor-authentication HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 29
{"mode":"EMAIL","phone":null}
$ echo '{"mode":"EMAIL","phone":null}' | http PUT 'https://api.clinked.com/v3/profiles/me/two-factor-authentication' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/profiles/me/two-factor-authentication' -i -X PUT \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"mode":"EMAIL","phone":null}'
Path | Type | Description |
---|---|---|
|
|
2FA mode - [AUTHENTICATOR, SMS, EMAIL] |
|
|
Phone number |
HTTP/1.1 200 OK
17.7.7. Disable 2FA
DELETE /v3/profiles/me/two-factor-authentication HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/profiles/me/two-factor-authentication' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/profiles/me/two-factor-authentication' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
17.7.8. Get QR code
GET /v3/profiles/me/two-factor-authentication/qr HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/profiles/me/two-factor-authentication/qr' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/profiles/me/two-factor-authentication/qr' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: image/png
Content-Length: 786
"iVBORw0KGgoAAAANSUhEUgAAAMAAAADAAQAAAAB6p1GqAAACEklEQVR42u2XMc7jIBCFx6KgMxdA8jXouJJzATu5QHwlOq6BxAXijgJl9pF/CzvSFvyj7RylSPIVw3jee0yI//GiC1zgAr8EgQZOs06k66iJtABE3mNavDUl3eKErwJAt8IvnR9s12gHIQj57ac9kGExYHVH274uWgjQOa1FMaeBvx9JH8A8or39fX8NqhPgVdKKnzwt+ks+nSDQTHkL+RHUVvLTC0BUG9NQaKE6a1pEoA5cieotqEfIh+P2gzA9dTLFjn56a/XUEqBeHtrlF+HccIIE0OLq4qenq6OTAdjJtRobbBB5YwHgaiJqtMhYw3G0/QBJgSfo8v6pcZhHP2hJgeMm9D+TPajkF6CStnC4gexiPnXeCyJOCVvmu7dw+xYlIBEhXqeXs6bpWAC4Lm5C57OrJsDwAlBakBmuK6eV0b8EoPMMNnr11vZYoxu0oG8SmUlBbQ8JQEwU3koaPSFhjQREdXcW6bOyQuKfMrEXFDScRge1qTfxQSX9gKGMaY/5RXBmIi8AgdZgF4fpInrSqAUgpqHwU/+o7eSofoB0rnMbKq6QU41+gBp29ukW7BBOV1E3aOxzc3j4oRoWgLYBMAxg4scGEoC9hNE5Fi8sJXXUEgD1I/TVXpKBr4Qg8L0tqRNzfkQZaOmDD7l5niUAY4AtLWq8CUuhAGAeod3We8GiM50X+k5w/Su6wAX+N/gDjQlP8aM59fcAAAAASUVORK5CYII="
17.7.9. Social apps
Connected social accounts
17.7.10. Get status
Returns social app status.
GET /v3/profiles/me/social-login HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/profiles/me/social-login' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/profiles/me/social-login' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 63
{
"linkedin" : false,
"google" : false,
"apple" : false
}
Path | Type | Description |
---|---|---|
|
|
Is Linkedin connected |
|
|
Is Google connected |
|
|
Is Apple connected |
17.7.11. Disconnect
Disconnects specific platform.
Parameter | Description |
---|---|
|
Service name - google | linkedin | apple |
DELETE /v3/profiles/me/social-login/google HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/profiles/me/social-login/google' \
'Content-Type:application/json' \
'Accept:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/profiles/me/social-login/google' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
18. Reachout
For more information about the feature itself, see our Help Center page. |
18.1. List reachouts
GET /v3/reachouts?account=1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/reachouts?account=1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/reachouts?account=1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Account id |
|
Page number to load |
|
Page size |
|
Order field |
|
Ascending order direction |
|
Find reachout by name |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1157
{
"items" : [ {
"id" : 111,
"sender" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"recipients" : [ {
"address" : "jack.bauer@clinked.com",
"name" : "Jack Bauer",
"locale" : "en"
} ],
"groups" : null,
"tags" : [ "tag1" ],
"recipientDetails" : [ {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"email" : "jack.bauer@clinked.com",
"tags" : [ "tag1" ],
"groups" : [ ],
"fromPeopleList" : false
} ],
"subject" : "subject",
"content" : "content",
"test" : false,
"dateCreated" : 1731310285835,
"dateModified" : null,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
},
"status" : "STARTED"
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 1,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Reachout entries |
|
|
Next page exists |
|
|
Total amount of available pages |
|
|
Previous page exists |
|
|
Total amount of entries |
|
|
Reachout id |
|
|
The user who sent the reachout |
|
|
Recipient e-mail addresses |
|
|
More details about the recipients. Includes details where the recipient was selected from |
|
|
Groups to which the e-mail was sent to |
|
|
Tags to which the e-mail was sent to |
|
|
E-mail subject |
|
|
E-mail content |
|
|
Is a test e-mail |
|
|
Date reachout was created |
|
|
Date reachout was modified |
|
|
The account associated with reachout |
|
|
Reachout status (either completed or running) |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Email address |
|
|
List of tags |
|
|
List of groups |
|
|
Shows if the user was manually selected from people list on reachout creation |
|
|
Email address |
|
|
Full name |
|
|
Locale ID |
18.2. Get reachout details
Parameter | Description |
---|---|
|
Reachout id |
GET /v3/reachouts/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/reachouts/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/reachouts/1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 924
{
"id" : 111,
"sender" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"recipients" : [ {
"address" : "jack.bauer@clinked.com",
"name" : "Jack Bauer",
"locale" : "en"
} ],
"groups" : null,
"tags" : [ "tag1" ],
"recipientDetails" : [ {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"email" : "jack.bauer@clinked.com",
"tags" : [ "tag1" ],
"groups" : [ ],
"fromPeopleList" : false
} ],
"subject" : "subject",
"content" : "content",
"test" : false,
"dateCreated" : 1731310285769,
"dateModified" : null,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
},
"status" : "STARTED"
}
Path | Type | Description |
---|---|---|
|
|
Reachout id |
|
|
The user who sent the reachout |
|
|
Recipient e-mail addresses |
|
|
More details about the recipients. Includes details where the recipient was selected from |
|
|
Groups to which the e-mail was sent to |
|
|
Tags to which the e-mail was sent to |
|
|
E-mail subject |
|
|
E-mail content |
|
|
Is a test e-mail |
|
|
Date reachout was created |
|
|
Date reachout was modified |
|
|
The account associated with reachout |
|
|
Reachout status (either completed or running) |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Email address |
|
|
List of tags |
|
|
List of groups |
|
|
Shows if the user was manually selected from people list on reachout creation |
|
|
Email address |
|
|
Full name |
|
|
Locale ID |
18.3. Reachout status/details
Parameter | Description |
---|---|
|
Reachout id |
GET /v3/reachouts/111/status HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/reachouts/111/status' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/reachouts/111/status' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 928
[ {
"id" : 111,
"sender" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"recipients" : [ {
"address" : "jack.bauer@clinked.com",
"name" : "Jack Bauer",
"locale" : "en"
} ],
"groups" : null,
"tags" : [ "tag1" ],
"recipientDetails" : [ {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"email" : "jack.bauer@clinked.com",
"tags" : [ "tag1" ],
"groups" : [ ],
"fromPeopleList" : false
} ],
"subject" : "subject",
"content" : "content",
"test" : false,
"dateCreated" : 1731310285932,
"dateModified" : null,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
},
"status" : "STARTED"
} ]
Path | Type | Description |
---|---|---|
|
|
Reachout id |
|
|
The user who sent the reachout |
|
|
Recipient e-mail addresses |
|
|
More details about the recipients. Includes details where the recipient was selected from |
|
|
Groups to which the e-mail was sent to |
|
|
Tags to which the e-mail was sent to |
|
|
E-mail subject |
|
|
E-mail content |
|
|
Is a test e-mail |
|
|
Date reachout was created |
|
|
Date reachout was modified |
|
|
The account associated with reachout |
|
|
Reachout status (either completed or running) |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Email address |
|
|
List of tags |
|
|
List of groups |
|
|
Shows if the user was manually selected from people list on reachout creation |
|
|
Email address |
|
|
Full name |
|
|
Locale ID |
18.4. List recipients
POST /v3/reachouts?recipients=true HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 63
{
"account": 1,
"tags": ["tag1"],
"usernames": ["jack"]
}
$ echo '{
"account": 1,
"tags": ["tag1"],
"usernames": ["jack"]
}' | http POST 'https://api.clinked.com/v3/reachouts?recipients=true' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/reachouts?recipients=true' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"account": 1,
"tags": ["tag1"],
"usernames": ["jack"]
}'
Parameter | Description |
---|---|
|
Get recipients |
Path | Type | Description |
---|---|---|
|
|
Account id |
|
|
Array of tags |
|
|
Array of usernames |
|
|
Array of groups |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 172
[ {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"email" : "jack.bauer@clinked.com",
"tags" : [ "tag1" ],
"groups" : [ ],
"fromPeopleList" : true
} ]
Path | Type | Description |
---|---|---|
|
|
Recipient user id |
|
|
Recipient given name |
|
|
Recipient username |
|
|
Recipient e-mail address (delivery address) |
|
|
Tags the recipient was assigned |
|
|
Groups the recipient was a member |
|
|
Member was added from the member / people list |
18.5. Create reachout
POST /v3/reachouts HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 111
{
"account": 1,
"tags": ["tag1"],
"usernames": ["jack"],
"subject": "subject",
"content": "content"
}
$ echo '{
"account": 1,
"tags": ["tag1"],
"usernames": ["jack"],
"subject": "subject",
"content": "content"
}' | http POST 'https://api.clinked.com/v3/reachouts' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/reachouts' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"account": 1,
"tags": ["tag1"],
"usernames": ["jack"],
"subject": "subject",
"content": "content"
}'
Path | Type | Description |
---|---|---|
|
|
Account id |
|
|
Array of tags |
|
|
Array of usernames |
|
|
Array of groups |
|
|
Reachout subject |
|
|
Reachout content |
|
|
Attachments attached to the e-mail |
|
|
These attachments are uploaded to CDN and are available publicly.Displayed within e-mail |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 872
{
"id" : 1,
"sender" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"recipients" : [ {
"address" : "jack.bauer@clinked.com"
} ],
"groups" : [ ],
"tags" : [ "tag1" ],
"recipientDetails" : [ {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"email" : "jack.bauer@clinked.com",
"tags" : [ "tag1" ],
"groups" : [ ],
"fromPeopleList" : true
} ],
"subject" : "subject",
"content" : "content",
"test" : false,
"dateCreated" : 1731310285905,
"dateModified" : null,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
},
"status" : "STARTED"
}
Path | Type | Description |
---|---|---|
|
|
Reachout id |
|
|
The user who sent the reachout |
|
|
Recipient e-mail addresses |
|
|
More details about the recipients. Includes details where the recipient was selected from |
|
|
Groups to which the e-mail was sent to |
|
|
Tags to which the e-mail was sent to |
|
|
E-mail subject |
|
|
E-mail content |
|
|
Is a test e-mail |
|
|
Date reachout was created |
|
|
Date reachout was modified |
|
|
The account associated with reachout |
|
|
Reachout status (either completed or running) |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Email address |
|
|
List of tags |
|
|
List of groups |
|
|
Shows if the user was manually selected from people list on reachout creation |
|
|
Email address |
|
|
Full name |
|
|
Locale ID |
18.6. Delete reachout
Parameter | Description |
---|---|
|
Reachout id |
DELETE /v3/reachouts/1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/reachouts/1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/reachouts/1' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
19. Audit log
Returns paginated list of account audit log events.
GET /v3/audit?account=1&dateStart=2021-01-12&events=login%2C+signup HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/audit?account=1&dateStart=2021-01-12&events=login%2C+signup' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/audit?account=1&dateStart=2021-01-12&events=login%2C+signup' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Account ID |
|
Show events from date |
|
Show events before date |
|
Comma-separated type names to filter by |
|
Group ID to filter by |
|
Comma-separated user IDs to filter by |
|
Pagination offset to load next page |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 987
{
"offset" : "nextToken",
"items" : [ {
"id" : "abc",
"event" : "login",
"dateCreated" : 1731310256288,
"componentId" : null,
"userId" : 1,
"componentName" : null,
"userName" : "jack",
"componentType" : null,
"component" : null,
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000,
"email" : "jack.bauer@clinked.com"
},
"value" : null,
"ipAddress" : "127.0.0.1",
"deviceId" : "Devicey",
"email" : "email@domain.ltd",
"accountId" : 1,
"groupId" : null,
"groupName" : null,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
},
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ],
"more" : true
}
Path | Type | Description |
---|---|---|
|
|
Offset for retrieving next page |
|
|
Is next page available |
|
|
Audit records |
|
|
Audit record ID |
|
|
Event name |
|
|
Date event was created |
|
|
Component id |
|
|
Component name (at the point of event creation) |
|
|
Component type (at the point of event creation) |
|
|
User id triggering the event |
|
|
User name triggering the event (at the point of event creation) |
|
|
Account id |
|
|
Group id |
|
|
Group name (at the point of event creation) |
|
|
Component in group associated with event |
|
|
User associated with the event |
|
|
Account associacted with the event |
|
|
Group associated with the event |
|
|
Additional vlaue |
|
|
IP address |
|
|
Device ID |
|
|
User e-mail |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User email |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
20. Search
The global Search API helps you search for the specific item you want to find. For example, you can find a user or a specific piece of content in your client portal. You can perform a search on everything or narrow your search using query parameters.
Supported types for searching are:
-
Users
-
Groups
-
Files
-
Notes
-
Tasks
-
Events
-
Discussions
GET /v3/search?account=1&group=1&query=Example&startDate=2022-07-19T12%3A59%3A09.751Z HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/search?account=1&group=1&query=Example&startDate=2022-07-19T12%3A59%3A09.751Z' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/search?account=1&group=1&query=Example&startDate=2022-07-19T12%3A59%3A09.751Z' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Account ID to search in |
|
Group id to search in |
|
Search query |
|
Page number |
|
Content type: file, page, task, event, user, discussion, group |
|
ISO8601 start date - either a simple date or with time |
|
ISO8601 end date - either a simple date or with time |
|
search for exact phrases |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 6496
{
"items" : [ {
"entity" : {
"id" : 1,
"contextKey" : {
"id" : 611
},
"sharing" : "NONE",
"memberPermission" : 2,
"following" : null,
"name" : "file_example.pdf",
"friendlyName" : "File Example.pdf",
"contentType" : "application/pdf",
"size" : 1000,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : "tag1,tag2",
"locked" : false,
"locker" : null,
"lastModified" : 1514764800000,
"summary" : null,
"path" : [ ],
"versions" : 0,
"previewInfo" : null,
"watermark" : false,
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
},
"highlights" : { },
"type" : "file"
}, {
"entity" : {
"id" : 1,
"contextKey" : {
"id" : 590
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"name" : "home_page",
"friendlyName" : "Home Page",
"template" : false,
"tags" : "lorem,ipsum",
"content" : "",
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"creator" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"versions" : null,
"pageType" : "PAGE",
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
},
"highlights" : { },
"type" : "page"
}, {
"entity" : {
"id" : 1,
"username" : "jack",
"enabled" : true,
"locked" : false,
"name" : "Jack Bauer",
"jobTitle" : "Marketing",
"organisation" : "Clinked",
"email" : "jack.bauer@clinked.com",
"address" : "71 Pilgrim Avenue",
"telephone" : "123456789",
"other" : null,
"logo" : false,
"timeZone" : "UTC",
"locale" : "en",
"verifiedEmail" : false,
"twoFactorAuthentication" : false,
"twoFactorMode" : null,
"lastModified" : 1514764800000,
"dateFormat" : null,
"twentyFourHourTimeFormat" : false,
"lastActive" : null
},
"highlights" : { },
"type" : "user"
}, {
"entity" : {
"id" : 1,
"contextKey" : {
"id" : 601
},
"sharing" : "MEMBERS",
"memberPermission" : 2,
"name" : "great_discussion",
"friendlyName" : "Great discussion",
"tags" : "",
"description" : "What do you think about this?",
"replies" : 5,
"dateCreated" : 1514764800000,
"lastModified" : 1514764800000,
"author" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
},
"highlights" : { },
"type" : "discussion"
}, {
"entity" : {
"id" : 1,
"contextKey" : {
"id" : 271
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"name" : "meeting_with_a_client",
"friendlyName" : "Meeting with a client",
"startDate" : "2018-01-05T14:00Z[UTC]",
"endDate" : "2018-01-05T15:00Z[UTC]",
"allDay" : false,
"location" : "London",
"tags" : "tag1,tag2",
"dateReminder" : "2017-12-31T08:00Z[UTC]",
"recurrence" : "FREQ=WEEKLY;WKST=MO;BYDAY=FR",
"dateEndRecurrence" : "2024-11-11T07:31:25.313Z[UTC]",
"description" : "Let's do this every friday",
"disableMaybe" : false,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"lastModified" : 1514764800000,
"color" : "#212121",
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
},
"highlights" : { },
"type" : "event"
}, {
"entity" : {
"id" : 1,
"contextKey" : {
"id" : 984
},
"sharing" : "MEMBERS",
"memberPermission" : 8,
"friendlyName" : "Deploy update",
"name" : "deploy_update",
"status" : "WAITING",
"priority" : "MEDIUM",
"progress" : 0,
"author" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"dueDate" : "2022-08-25T11:56:54Z[UTC]",
"tags" : "",
"description" : "Let's do this",
"dateCreated" : 1514764800000,
"dateReminder" : "2017-12-31T08:00Z[UTC]",
"recurrence" : null,
"order" : 2147483647,
"category" : null,
"assignees" : null,
"numberOfSubTasks" : 0,
"lastModified" : 1514764800000,
"timeTracker" : {
"trackingStartDate" : 1514764800000,
"timeTracked" : 948480
},
"dateCompleted" : 1514764810000,
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
},
"highlights" : { },
"type" : "task"
} ],
"currentPage" : 1,
"pageSize" : 25,
"nextPage" : false,
"suggestions" : [ ],
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Dictionary with types and the matched document count |
|
|
Suggested search terms |
|
|
Current page number |
|
|
Page size |
|
|
Next page exists |
|
|
Previous page exists |
21. Requests
Members send requests to other members. A request is group invite, task assignment and other types.
21.1. List requests
GET /v3/requests HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/requests' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/requests' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Optional request kind 'past' returns 100 past requests |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 916
[ {
"id" : 1,
"contextKey" : {
"id" : 64
},
"source" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"target" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"container" : {
"id" : 1,
"contextKey" : {
"id" : 64
},
"type" : "group",
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked"
},
"sourceName" : "jack.bauer@clinked.com",
"targetName" : "jack.bauer@clinked.com",
"type" : "ACCEPT_REJECT",
"status" : "ACCEPT",
"scope" : "group",
"parameters" : null,
"lastModified" : 1731310289674,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
}
} ]
Path | Type | Description |
---|---|---|
|
|
Entity id |
|
|
Context key |
|
|
Context key ID |
|
|
User who created a request |
|
|
Target user |
|
|
Request container |
|
|
Source user name |
|
|
Target user name |
|
|
Request type |
|
|
Request status |
|
|
Scope |
|
|
Additional parameters |
|
|
Last modification date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
21.2. Update request
Parameter | Description |
---|---|
|
Request id |
PATCH /v3/requests/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 25
{
"status" : "ACCEPT"
}
$ echo '{
"status" : "ACCEPT"
}' | http PATCH 'https://api.clinked.com/v3/requests/1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/requests/1' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{
"status" : "ACCEPT"
}'
Path | Type | Description |
---|---|---|
|
|
Status - [NONE, ACCEPT, DECLINE, MAYBE, REJECT] |
|
|
Request parameters |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 912
{
"id" : 1,
"contextKey" : {
"id" : 16
},
"source" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"target" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"container" : {
"id" : 1,
"contextKey" : {
"id" : 16
},
"type" : "group",
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked"
},
"sourceName" : "jack.bauer@clinked.com",
"targetName" : "jack.bauer@clinked.com",
"type" : "ACCEPT_REJECT",
"status" : "ACCEPT",
"scope" : "group",
"parameters" : null,
"lastModified" : 1731310289622,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
}
}
Path | Type | Description |
---|---|---|
|
|
Entity id |
|
|
Context key |
|
|
Context key ID |
|
|
User who created a request |
|
|
Target user |
|
|
Request container |
|
|
Source user name |
|
|
Target user name |
|
|
Request type |
|
|
Request status |
|
|
Scope |
|
|
Additional parameters |
|
|
Last modification date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
22. Activity
22.1. List activity
GET /v3/activity HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/activity' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/activity' -i -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Omit parameters to list authenticated user’s activity stream. Parameters can’t be mixed.
Parameter | Description |
---|---|
|
Account ID to filter activity items by |
|
Group ID to filter activity items by |
|
Context "name_id". Supported names are: file, page, event, task, discussion. Example file_123 |
|
Member ID to filter activity items by |
|
Activity offset |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1208
{
"items" : [ {
"id" : "0eb2e3f3-d28a-41de-8880-df2d2306504e",
"messageCodeHint" : null,
"messageCode" : "update.space.trash.filerecord.create",
"message" : null,
"lastModified" : 1514764800000,
"componentId" : 1,
"componentEntityId" : 1,
"componentName" : "Picture 2017-09-28 22-09-58.jpg",
"userId" : 1,
"userName" : "Jack Bauer",
"targetUserId" : null,
"targetUserName" : null,
"reservedName" : null,
"attachments" : [ ],
"published" : false,
"commentCount" : 0,
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"component" : null,
"targetUser" : null,
"accountId" : 1,
"accountName" : null,
"groupId" : 1,
"groupName" : null,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
},
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ],
"offset" : "nextToken",
"additionalProperties" : { }
}
Path | Type | Description |
---|---|---|
|
|
Page items |
|
|
Pagination offset |
|
|
Activity item ID |
|
|
Activity message code |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
22.2. Create activity
Send a private group message as activity item.
POST /v3/activity?group=1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 136
{"message":"Hey","mentions":"jack","attachments":[{"friendlyName":"test.pdf","name":"test.pdf","fileId":1,"tempFile":null,"href":null}]}
$ echo '{"message":"Hey","mentions":"jack","attachments":[{"friendlyName":"test.pdf","name":"test.pdf","fileId":1,"tempFile":null,"href":null}]}' | http POST 'https://api.clinked.com/v3/activity?group=1' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/activity?group=1' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"message":"Hey","mentions":"jack","attachments":[{"friendlyName":"test.pdf","name":"test.pdf","fileId":1,"tempFile":null,"href":null}]}'
Path | Type | Description |
---|---|---|
|
|
Message text |
|
|
Users mentioned |
|
|
Attachment array |
|
|
Attachment friendly name |
|
|
Attachment name |
|
|
Group file id to attach |
|
|
Temp File id to attach |
|
|
Google link to attach |
|
|
OneDrive link to attach |
|
|
Attachments that are part of the content. Same fields as 'attachments' |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1168
{
"mentions" : null,
"entity" : {
"id" : "37848bb9-be8b-480d-93f0-727f50794c5a",
"messageCodeHint" : null,
"messageCode" : "update.space.trash.filerecord.create",
"message" : null,
"lastModified" : 1514764800000,
"componentId" : 1,
"componentEntityId" : 1,
"componentName" : "Picture 2017-09-28 22-09-58.jpg",
"userId" : 1,
"userName" : "Jack Bauer",
"targetUserId" : null,
"targetUserName" : null,
"reservedName" : null,
"attachments" : [ ],
"published" : false,
"commentCount" : 0,
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"component" : null,
"targetUser" : null,
"accountId" : 1,
"accountName" : null,
"groupId" : 1,
"groupName" : null,
"account" : {
"id" : 1,
"name" : "awesome_org",
"friendlyName" : "Awesome Organisation",
"enabled" : true
},
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
}
}
Path | Type | Description |
---|---|---|
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Account name slug, used for internal identification and URIs |
|
|
Full account name, visible to a user |
|
|
Is account enabled |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
|
|
Mentioned users |
|
|
Entity id |
|
|
Message code hint |
|
|
Message code |
|
|
Message |
|
|
Last modified |
|
|
Component id |
|
|
Component entity id |
|
|
Component name |
|
|
User id |
|
|
User name |
|
|
Target user id |
|
|
Target user username |
|
|
Reserved name |
|
|
Attachments |
|
|
Is published |
|
|
Comment count |
|
|
Component |
|
|
Target user |
|
|
Account id |
|
|
Account name |
|
|
Group id |
|
|
Group name |
22.3. Delete activity
Parameter | Description |
---|---|
|
Activity update ID |
DELETE /v3/activity/random-id HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/activity/random-id' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/activity/random-id' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
22.5. List comments
Parameter | Description |
---|---|
|
Activity update ID |
GET /v3/activity/ec15d212-5b5a-4b64-b50a-f49b52974941/comments HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/activity/ec15d212-5b5a-4b64-b50a-f49b52974941/comments' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/activity/ec15d212-5b5a-4b64-b50a-f49b52974941/comments' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Pagination offset |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 510
{
"items" : [ {
"id" : "b6a0265d-1595-40b8-a966-5ce901ce1f74",
"comment" : "Comment text",
"dateCreated" : 1731310289922,
"commenter" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
}
} ],
"offset" : "dbc914c5-9b32-4f4b-951b-bf9e9de46ffd",
"additionalProperties" : { }
}
Path | Type | Description |
---|---|---|
|
|
Next page offset |
|
|
List of comments in the page |
|
|
Item ID |
|
|
Comment text |
|
|
Comment creation date |
|
|
Safe user who created the comment |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
22.6. Create comment
Parameter | Description |
---|---|
|
Activity update ID |
POST /v3/activity/6a499242-f31a-4a0b-8be8-6c8a736de438/comments HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 26
{"comment":"Hello World!"}
$ echo '{"comment":"Hello World!"}' | http POST 'https://api.clinked.com/v3/activity/6a499242-f31a-4a0b-8be8-6c8a736de438/comments' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/activity/6a499242-f31a-4a0b-8be8-6c8a736de438/comments' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"comment":"Hello World!"}'
Path | Type | Description |
---|---|---|
|
|
Comment text |
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8
Content-Length: 373
{
"id" : "9c21a720-d7c2-44e5-8fb6-3cd803872c9c",
"comment" : "Hello World!",
"dateCreated" : 1731310289958,
"commenter" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
}
}
Path | Type | Description |
---|---|---|
|
|
Comment id |
|
|
Comment text |
|
|
Comment creation date |
|
|
Safe commenter user data |
|
|
User’s full name |
|
|
Detailed user data, will be set to null if user is deleted |
|
|
User username if user is defined |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
22.7. Remove comment
Parameter | Description |
---|---|
|
Activity update ID |
|
Comment ID |
DELETE /v3/activity/65a8e586-7aa3-43f2-a953-00f1891457e0/comments/7a1dbbe1-a0d0-4f34-bd27-c75c5220066d HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/activity/65a8e586-7aa3-43f2-a953-00f1891457e0/comments/7a1dbbe1-a0d0-4f34-bd27-c75c5220066d' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/activity/65a8e586-7aa3-43f2-a953-00f1891457e0/comments/7a1dbbe1-a0d0-4f34-bd27-c75c5220066d' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
22.9. List attachments
Parameter | Description |
---|---|
|
Activity update ID |
GET /v3/activity/4ae97fb1-3467-4d8a-8775-aca93f78aab2/attachments HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/activity/4ae97fb1-3467-4d8a-8775-aca93f78aab2/attachments' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/activity/4ae97fb1-3467-4d8a-8775-aca93f78aab2/attachments' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 119
[ {
"name" : "Photo.png",
"type" : "image/png",
"size" : 1000,
"url" : "file:photo_png",
"inline" : false
} ]
Path | Type | Description |
---|---|---|
|
|
Name |
|
|
Attachment file type |
|
|
Attachment file size |
|
|
Attachment URL |
|
|
Attachment is used within the private message |
22.10. Download attachment
Parameter | Description |
---|---|
|
Activity update ID |
|
Attachment name |
GET /v3/activity/c7eb6788-984d-4800-816d-6fe7d6ee25fd/attachments/File_Example_pdf/download HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/activity/c7eb6788-984d-4800-816d-6fe7d6ee25fd/attachments/File_Example_pdf/download' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/activity/c7eb6788-984d-4800-816d-6fe7d6ee25fd/attachments/File_Example_pdf/download' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Disposition: attachment; filename="File Example.pdf"
Pragma: public
Cache-Control: max-age=30, must-revalidate
Expires: Mon, 11 Nov 2024 07:32:00 GMT
Content-Type: application/pdf
Content-Length: 5
Hello
23. Following
By following entity the user receives updates or notifications.
23.1. List following
GET /v3/following?type=file&account=1 HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/following?type=file&account=1' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/following?type=file&account=1' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Page number to load |
|
Page size |
|
Entity type |
|
Limit following content to provided account |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1066
{
"items" : [ {
"id" : 1,
"contextKey" : {
"id" : 991
},
"sharing" : "NONE",
"memberPermission" : 2,
"following" : null,
"name" : "file_example.pdf",
"friendlyName" : "File Example.pdf",
"contentType" : "application/pdf",
"size" : 1000,
"uploaded" : {
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"username" : "jack"
},
"tags" : "tag1,tag2",
"locked" : false,
"locker" : null,
"lastModified" : 1514764800000,
"summary" : null,
"path" : [ ],
"versions" : 0,
"previewInfo" : null,
"watermark" : false,
"group" : {
"id" : 1,
"name" : "explore_clinked",
"friendlyName" : "Explore Clinked",
"disableComments" : false
}
} ],
"currentPage" : 1,
"totalPages" : 1,
"pageSize" : 10,
"totalResults" : 1,
"nextPage" : false,
"previousPage" : false
}
Path | Type | Description |
---|---|---|
|
|
Current page |
|
|
Entries per page |
|
|
Reachout entries |
|
|
Next page exists |
|
|
Total amount of available pages |
|
|
Previous page exists |
|
|
Total amount of entries |
|
|
Entity id |
|
|
Name slug |
|
|
Full name |
|
|
Group info |
24. Dashboards
For more information about the feature itself, see our Help Center page. |
24.1. List dashboards
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
GET /v3/context/group_1/dashboards HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/group_1/dashboards' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/group_1/dashboards' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 200
[ {
"id" : 1,
"columnSizes" : "8,4",
"name" : "default",
"widgets" : [ {
"id" : "id",
"name" : "widget_1",
"column" : null,
"order" : null,
"configuration" : null
} ]
} ]
Path | Type | Description |
---|---|---|
|
|
Dashboard id |
|
|
Column layout |
|
|
Name (default 'default') |
|
|
Is system default dashboard |
|
|
Widgets |
|
|
Unique widget |
|
|
name of widget (from Widget enpdoint) |
|
|
In which column the widget is located |
|
|
In what order in column the widget is located |
|
|
Widget related configuration |
24.2. Get dashboard details
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Name of the dashboard |
GET /v3/context/group_1/dashboards/default HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/context/group_1/dashboards/default' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/group_1/dashboards/default' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 196
{
"id" : 1,
"columnSizes" : "8,4",
"name" : "default",
"widgets" : [ {
"id" : "id",
"name" : "widget_1",
"column" : null,
"order" : null,
"configuration" : null
} ]
}
Path | Type | Description |
---|---|---|
|
|
Dashboard id |
|
|
Column layout |
|
|
Name (default 'default') |
|
|
Is system default dashboard |
|
|
Widgets |
|
|
Unique widget |
|
|
name of widget (from Widget enpdoint) |
|
|
In which column the widget is located |
|
|
In what order in column the widget is located |
|
|
Widget related configuration |
24.3. Create dashboard
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
POST /v3/context/group_1/dashboards HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 122
{ "name": "default", "columnSizes": "8,4", "widgets": [ { "id": "1", "name": "widget", "column": 0, "order": 0 } ]}
$ echo '{ "name": "default", "columnSizes": "8,4", "widgets": [ { "id": "1", "name": "widget", "column": 0, "order": 0 } ]}' | http POST 'https://api.clinked.com/v3/context/group_1/dashboards' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/group_1/dashboards' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{ "name": "default", "columnSizes": "8,4", "widgets": [ { "id": "1", "name": "widget", "column": 0, "order": 0 } ]}'
Path | Type | Description |
---|---|---|
|
|
Dashboard name |
|
|
Column sizes |
|
|
Array of widgets |
|
|
Widget id |
|
|
Widget name |
|
|
Widget column |
|
|
Widget order |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 196
{
"id" : 1,
"columnSizes" : "8,4",
"name" : "default",
"widgets" : [ {
"id" : "id",
"name" : "widget_1",
"column" : null,
"order" : null,
"configuration" : null
} ]
}
Path | Type | Description |
---|---|---|
|
|
Dashboard id |
|
|
Column layout |
|
|
Name (default 'default') |
|
|
Is system default dashboard |
|
|
Widgets |
|
|
Unique widget |
|
|
name of widget (from Widget enpdoint) |
|
|
In which column the widget is located |
|
|
In what order in column the widget is located |
|
|
Widget related configuration |
24.4. Update dashboard
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Name of the dashboard |
PATCH /v3/context/group_1/dashboards/default HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 110
{ "columnSizes": "8,4", "widgets": [ { "id": "1", "name": "widget_updated", "column": 0, "order": 0 } ]}
$ echo '{ "columnSizes": "8,4", "widgets": [ { "id": "1", "name": "widget_updated", "column": 0, "order": 0 } ]}' | http PATCH 'https://api.clinked.com/v3/context/group_1/dashboards/default' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/group_1/dashboards/default' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{ "columnSizes": "8,4", "widgets": [ { "id": "1", "name": "widget_updated", "column": 0, "order": 0 } ]}'
Path | Type | Description |
---|---|---|
|
|
Column sizes |
|
|
Array of widgets |
|
|
Widget id |
|
|
Widget name |
|
|
Widget column |
|
|
Widget order |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 196
{
"id" : 1,
"columnSizes" : "8,4",
"name" : "default",
"widgets" : [ {
"id" : "id",
"name" : "widget_1",
"column" : null,
"order" : null,
"configuration" : null
} ]
}
Path | Type | Description |
---|---|---|
|
|
Dashboard id |
|
|
Column layout |
|
|
Name (default 'default') |
|
|
Is system default dashboard |
|
|
Widgets |
|
|
Unique widget |
|
|
name of widget (from Widget enpdoint) |
|
|
In which column the widget is located |
|
|
In what order in column the widget is located |
|
|
Widget related configuration |
24.5. Delete dashboard
Parameter | Description |
---|---|
|
Context "name_id". Supported names are: file, page, event, task, discussion |
|
Name of the dashboard |
DELETE /v3/context/group_1/dashboards/default HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http DELETE 'https://api.clinked.com/v3/context/group_1/dashboards/default' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/context/group_1/dashboards/default' -i -X DELETE \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
25. Widgets
For more information about the feature itself, see our Help Center page. |
25.1. List widgets
GET /v3/widgets?scope=ACCOUNT HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/widgets?scope=ACCOUNT' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/widgets?scope=ACCOUNT' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Widget scope: ACCOUNT or GROUP |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 212
[ {
"name" : "dummy",
"title" : "title",
"description" : "some description comes here",
"iconName" : "icon",
"dependsOn" : null,
"scope" : "ACCOUNT",
"configurable" : true,
"singleton" : false
} ]
Path | Type | Description |
---|---|---|
|
|
Name |
|
|
Title |
|
|
Description |
|
|
Icon name |
|
|
The widget depends on component |
|
|
Widget scope: ACCOUNT or GROUP |
|
|
Widget is configurable |
|
|
Widget is singleton or there can be multiple instances of the same widget |
26. Notifications
Notifications are created when content You follow is updated, commented on, You are mentioned, ect.
26.1. List notifications
GET /v3/notifications HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/notifications' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/notifications' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Notification offset |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 876
{
"newCount" : 1,
"offset" : null,
"notifications" : [ {
"id" : 1,
"type" : null,
"source" : {
"name" : "Jack Bauer",
"uri" : "uri:user:jack"
},
"target" : {
"name" : "Jack Bauer",
"uri" : "uri:user:jack"
},
"sourceUser" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"targetUser" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"message" : null,
"containerUri" : null,
"container" : null,
"update" : null,
"uri" : "uri:ctx:1",
"entity" : null,
"displayName" : "testing",
"read" : false,
"dateCreated" : 1731310295470
} ]
}
Path | Type | Description |
---|---|---|
|
|
Number of unread notification for currently authenticated user |
|
|
Offset for retrieving next notifications |
|
|
Notifications |
|
|
Notification ID |
|
|
Notification status is unread or read |
|
|
Display name |
|
|
Source participant |
|
|
Target participant |
|
|
Source base user dto |
|
|
Target base user dto |
|
|
Optional message with notification |
|
|
Container URI (i.e. uri:ctx:101) |
|
|
DTO describing the container object (contextual entity) |
|
|
Additional update dto |
|
|
Type |
|
|
URI to target entity (i.e. uri:ctx:101) |
|
|
DTO describing the target object |
|
|
Date notification was created |
|
|
Full name |
|
|
Profile URI |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
Full name |
|
|
Profile URI |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
26.2. Mark as read
Marks all authenticated user’s notifications as read.
PUT /v3/notifications HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http PUT 'https://api.clinked.com/v3/notifications' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/notifications' -i -X PUT \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
27. Chat
27.1. List conversations
GET /v3/chat?unread=false&excludeEmpty=false HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/chat?unread=false&excludeEmpty=false' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/chat?unread=false&excludeEmpty=false' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 940
[ {
"id" : "test",
"name" : "test",
"type" : "direct",
"user" : {
"id" : 2,
"name" : "Black Sheep",
"username" : "another.user",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"participants" : [ {
"id" : "uri:user:another.user:2",
"user" : {
"id" : 2,
"name" : "Black Sheep",
"username" : "another.user",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Black Sheep",
"properties" : [ "nothumb" ]
}, {
"id" : "uri:user:jack:1",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"properties" : [ "nothumb" ]
} ],
"unread" : false,
"lastMessage" : null,
"dateCreated" : 1731310281304,
"account" : 1
} ]
Path | Type | Description |
---|---|---|
|
|
Conversation ID |
|
|
Name |
|
|
Type of conversation. Either 'direct' or 'group' |
|
|
Group if type is 'group' |
|
|
Account ID |
|
|
User if type is 'direct' |
|
|
True when there are unread messages for the user |
|
|
Last message |
|
|
Account id |
|
|
Date conversation was created |
|
|
List of participants in conversation |
|
|
Participant URI |
|
|
Participant user info |
|
|
Participant full name |
|
|
Additional participant properties |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
27.2. Get conversation
Parameter | Description |
---|---|
|
Conversation ID |
GET /v3/chat/test HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/chat/test' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/chat/test' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 936
{
"id" : "test",
"name" : "test",
"type" : "direct",
"user" : {
"id" : 2,
"name" : "Black Sheep",
"username" : "another.user",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"participants" : [ {
"id" : "uri:user:another.user:2",
"user" : {
"id" : 2,
"name" : "Black Sheep",
"username" : "another.user",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Black Sheep",
"properties" : [ "nothumb" ]
}, {
"id" : "uri:user:jack:1",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"properties" : [ "nothumb" ]
} ],
"unread" : false,
"lastMessage" : null,
"dateCreated" : 1731310281284,
"account" : 1
}
Path | Type | Description |
---|---|---|
|
|
Conversation ID |
|
|
Name |
|
|
Type of conversation. Either 'direct' or 'group' |
|
|
Group if type is 'group' |
|
|
Account ID |
|
|
User if type is 'direct' |
|
|
True when there are unread messages for the user |
|
|
Last message |
|
|
Account id |
|
|
Date conversation was created |
|
|
List of participants in conversation |
|
|
Participant URI |
|
|
Participant user info |
|
|
Participant full name |
|
|
Additional participant properties |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
27.3. Create conversation
POST /v3/chat HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 26
{"account": 1, "user": 2 }
$ echo '{"account": 1, "user": 2 }' | http POST 'https://api.clinked.com/v3/chat' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/chat' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"account": 1, "user": 2 }'
Path | Type | Description |
---|---|---|
|
|
Account id |
|
|
User id |
|
|
Group id |
HTTP/1.1 201 Created
Location: https://api.clinked.com/v3/chat/test
Content-Type: application/json;charset=UTF-8
Content-Length: 936
{
"id" : "test",
"name" : "test",
"type" : "direct",
"user" : {
"id" : 2,
"name" : "Black Sheep",
"username" : "another.user",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"participants" : [ {
"id" : "uri:user:another.user:2",
"user" : {
"id" : 2,
"name" : "Black Sheep",
"username" : "another.user",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Black Sheep",
"properties" : [ "nothumb" ]
}, {
"id" : "uri:user:jack:1",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"properties" : [ "nothumb" ]
} ],
"unread" : false,
"lastMessage" : null,
"dateCreated" : 1731310281344,
"account" : 1
}
Path | Type | Description |
---|---|---|
|
|
Conversation ID |
|
|
Name |
|
|
Type of conversation. Either 'direct' or 'group' |
|
|
Group if type is 'group' |
|
|
Account ID |
|
|
User if type is 'direct' |
|
|
True when there are unread messages for the user |
|
|
Last message |
|
|
Account id |
|
|
Date conversation was created |
|
|
List of participants in conversation |
|
|
Participant URI |
|
|
Participant user info |
|
|
Participant full name |
|
|
Additional participant properties |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
27.4. Update conversation
Sets conversation as read.
PATCH /v3/chat/test HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 15
{"read": true }
$ echo '{"read": true }' | http PATCH 'https://api.clinked.com/v3/chat/test' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/chat/test' -i -X PATCH \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"read": true }'
Path | Type | Description |
---|---|---|
|
|
Is read |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 936
{
"id" : "test",
"name" : "test",
"type" : "direct",
"user" : {
"id" : 2,
"name" : "Black Sheep",
"username" : "another.user",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"participants" : [ {
"id" : "uri:user:another.user:2",
"user" : {
"id" : 2,
"name" : "Black Sheep",
"username" : "another.user",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Black Sheep",
"properties" : [ "nothumb" ]
}, {
"id" : "uri:user:jack:1",
"user" : {
"id" : 1,
"name" : "Jack Bauer",
"username" : "jack",
"logo" : false,
"jobTitle" : "Marketing",
"lastModified" : 1514764800000
},
"name" : "Jack Bauer",
"properties" : [ "nothumb" ]
} ],
"unread" : false,
"lastMessage" : null,
"dateCreated" : 1731310281248,
"account" : 1
}
Path | Type | Description |
---|---|---|
|
|
Conversation ID |
|
|
Name |
|
|
Type of conversation. Either 'direct' or 'group' |
|
|
Group if type is 'group' |
|
|
Account ID |
|
|
User if type is 'direct' |
|
|
True when there are unread messages for the user |
|
|
Last message |
|
|
Account id |
|
|
Date conversation was created |
|
|
List of participants in conversation |
|
|
Participant URI |
|
|
Participant user info |
|
|
Participant full name |
|
|
Additional participant properties |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User id |
|
|
Full name |
|
|
Username |
|
|
Profile picture is defined |
|
|
Job title |
|
|
Last modified date |
|
|
User / profile id |
|
|
Group name slug, used for internal identification and URIs |
|
|
Full group name, visible to a user |
|
|
Is commenting disabled for group |
27.5. Conversation messages
27.5.1. List messages
Parameter | Description |
---|---|
|
Conversation id |
GET /v3/chat/test/messages HTTP/1.1
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
$ http GET 'https://api.clinked.com/v3/chat/test/messages' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/chat/test/messages' -i -X GET \
-H 'Authorization: Bearer <YOUR-TOKEN>'
Parameter | Description |
---|---|
|
Message offset |
|
Mark conversation as read |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 451
{
"offset" : null,
"items" : [ {
"id" : "id",
"deliveryId" : "delivery-1",
"source" : {
"id" : "uri:user:jack:1",
"name" : "Jack Bauer",
"properties" : [ "nothumb" ]
},
"body" : "message",
"type" : "text",
"read" : true,
"messageOffset" : "dummyOffset",
"dateSent" : "2024-11-11T07:31:21.390+0000",
"dateReceived" : "2024-11-11T07:31:21.390+0000"
} ],
"size" : null,
"more" : false
}
Path | Type | Description |
---|---|---|
|
|
Next offset for the messages |
|
|
Has more messages |
|
|
Array of messages |
|
|
Page size |
|
|
Message ID |
|
|
Unique delivery ID when message in transit |
|
|
Message text |
|
|
Type of message. Either 'text', 'update' or 'type' |
|
|
Message is read or unread |
|
|
Date the message was sent from client |
|
|
Date the message was received on server |
|
|
Conversation participant who sent the message |
|
|
Participant URI |
|
|
Participant full name |
|
|
Additional participant properties |
|
|
Message offset from which other messages can be paginated |
27.5.2. Create message
Parameter | Description |
---|---|
|
Conversation id |
POST /v3/chat/test/messages HTTP/1.1
Content-Type: application/json
Authorization: Bearer <YOUR-TOKEN>
Host: api.clinked.com
Content-Length: 76
{"type": "text","body": "Hello","dateSent": "2000-10-31T01:30:00.000-05:00"}
$ echo '{"type": "text","body": "Hello","dateSent": "2000-10-31T01:30:00.000-05:00"}' | http POST 'https://api.clinked.com/v3/chat/test/messages' \
'Content-Type:application/json' \
'Authorization:Bearer <YOUR-TOKEN>'
$ curl 'https://api.clinked.com/v3/chat/test/messages' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR-TOKEN>' \
-d '{"type": "text","body": "Hello","dateSent": "2000-10-31T01:30:00.000-05:00"}'
Path | Type | Description |
---|---|---|
|
|
Message type text|update |
|
|
Message text |
|
|
Date sent |
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 401
{
"id" : "cce59fea-7a75-40b6-a168-124641323925",
"deliveryId" : "251cced5-6e7a-412f-b7c5-90f5b2214b6d",
"source" : {
"id" : "uri:user:jack:1",
"name" : "Jack Bauer",
"properties" : [ "nothumb" ]
},
"body" : "Hello",
"type" : "text",
"read" : true,
"messageOffset" : "dummy",
"dateSent" : "2000-10-31T06:30:00.000+0000",
"dateReceived" : "2024-11-11T07:31:21.428+0000"
}
Path | Type | Description |
---|---|---|
|
|
Message ID |
|
|
Unique delivery ID when message in transit |
|
|
Message text |
|
|
Type of message. Either 'text', 'update' or 'type' |
|
|
Message is read or unread |
|
|
Date the message was sent from client |
|
|
Date the message was received on server |
|
|
Conversation participant who sent the message |
|
|
Participant URI |
|
|
Participant full name |
|
|
Additional participant properties |
|
|
Message offset from which other messages can be paginated |