List linked external integrations
curl --request GET \
--url https://api.acornops.dev/api/v1/auth/external-integrations/links \
--cookie acornops_cp_session=const options = {method: 'GET', headers: {cookie: 'acornops_cp_session='}};
fetch('https://api.acornops.dev/api/v1/auth/external-integrations/links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"links": [
{
"id": "<string>",
"integrationClientId": "<string>",
"provider": "<string>",
"clientDisplayName": "<string>",
"externalUserId": "<string>",
"linkedAt": "2023-11-07T05:31:56Z",
"lastAuthenticatedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"grants": [
{
"workspaceId": "<string>",
"capabilities": [
"<string>"
],
"grantedByUserId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"externalDisplayName": "<string>",
"grantableWorkspaces": [
{
"workspaceId": "<string>",
"workspaceName": "<string>",
"role": "<string>",
"grantedCapabilities": [
"<string>"
],
"grantableCapabilities": [
"<string>"
]
}
]
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}Auth and users
List linked external integrations
Authenticated browser-session endpoint returning active external integration links for the signed-in user.
List linked external integrations
curl --request GET \
--url https://api.acornops.dev/api/v1/auth/external-integrations/links \
--cookie acornops_cp_session=const options = {method: 'GET', headers: {cookie: 'acornops_cp_session='}};
fetch('https://api.acornops.dev/api/v1/auth/external-integrations/links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"links": [
{
"id": "<string>",
"integrationClientId": "<string>",
"provider": "<string>",
"clientDisplayName": "<string>",
"externalUserId": "<string>",
"linkedAt": "2023-11-07T05:31:56Z",
"lastAuthenticatedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"grants": [
{
"workspaceId": "<string>",
"capabilities": [
"<string>"
],
"grantedByUserId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"externalDisplayName": "<string>",
"grantableWorkspaces": [
{
"workspaceId": "<string>",
"workspaceName": "<string>",
"role": "<string>",
"grantedCapabilities": [
"<string>"
],
"grantableCapabilities": [
"<string>"
]
}
]
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}