Get authorizations held by a company
curl --request GET \
--url https://lens-api.tic.io/companies/{id}/authorizations \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/companies/{id}/authorizations"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://lens-api.tic.io/companies/{id}/authorizations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://lens-api.tic.io/companies/{id}/authorizations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lens-api.tic.io/companies/{id}/authorizations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://lens-api.tic.io/companies/{id}/authorizations")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/companies/{id}/authorizations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"companyAuthorizationId": 123,
"companyId": 123,
"generalMeetingDateShareIssue": "2023-11-07T05:31:56Z",
"mustOccurBeforeYearShareIssue": 123,
"mustOccurOtherDateShareIssue": "2023-11-07T05:31:56Z",
"markedAsShareIssue": true,
"markedAsPromissoryNote": true,
"markedAsConvertiblePromissoryNote": true,
"markedAsWarrants": true,
"generalMeetingDatePromissoryNote": "2023-11-07T05:31:56Z",
"mustOccurBeforeYearPromissoryNote": 123,
"mustOccurOtherDatePromissoryNote": "2023-11-07T05:31:56Z",
"registrationDate": "2023-11-07T05:31:56Z",
"notes": "<string>",
"companyDataSourceType": "bolt",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"fileId": 123,
"externalId": 123,
"externalOrigin": "table_Bolagsverket_Notification"
}
]Companies
Get authorizations held by a company
Returns the company’s registered authorizations — e.g. Finansinspektionen permits, special licences.
GET
/
companies
/
{id}
/
authorizations
Get authorizations held by a company
curl --request GET \
--url https://lens-api.tic.io/companies/{id}/authorizations \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/companies/{id}/authorizations"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://lens-api.tic.io/companies/{id}/authorizations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://lens-api.tic.io/companies/{id}/authorizations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lens-api.tic.io/companies/{id}/authorizations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://lens-api.tic.io/companies/{id}/authorizations")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/companies/{id}/authorizations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"companyAuthorizationId": 123,
"companyId": 123,
"generalMeetingDateShareIssue": "2023-11-07T05:31:56Z",
"mustOccurBeforeYearShareIssue": 123,
"mustOccurOtherDateShareIssue": "2023-11-07T05:31:56Z",
"markedAsShareIssue": true,
"markedAsPromissoryNote": true,
"markedAsConvertiblePromissoryNote": true,
"markedAsWarrants": true,
"generalMeetingDatePromissoryNote": "2023-11-07T05:31:56Z",
"mustOccurBeforeYearPromissoryNote": 123,
"mustOccurOtherDatePromissoryNote": "2023-11-07T05:31:56Z",
"registrationDate": "2023-11-07T05:31:56Z",
"notes": "<string>",
"companyDataSourceType": "bolt",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"fileId": 123,
"externalId": 123,
"externalOrigin": "table_Bolagsverket_Notification"
}
]Pro+ tier
Authorizations
Path Parameters
Internal company ID
Response
Authorizations held by the company
Available options:
bolt, dash, flux, pixel, quark, spark, vector, cipher, delta, omega, nova, apex, zenith, pulse, nexus, helix, prism, vertex, ion, codec, vortex, matrix, byte, glitch, echo, rune, sync, axiom, core, node, nano, photon, orbit, tensor, kernel, beacon, crypto, proxy, lumen, strobe, neutron, radix Available options:
table_Bolagsverket_Notification, table_Stage_CompanyPersonHistory, table_PRV_Trademark, table_System_SwedishCity, table_FI_Company, table_FI_CompanyPermit, table_ICA_Store, table_Srf_Company, table_FAR_Member, table_Bolagsverket_Document, table_Bolagsverket_Case, table_SalesOrderRow, table_SalesOrder, table_System_UserValidation, table_System_User, table_User, table_TeamInvitation, table_Sweden_CourtDocument, table_PRV_TrademarkImage, table_Bolagsverket_Order, table_SCB_JE, table_SCB_AE, table_Bolagsverket_BeneficialOwnerNotification, table_TeamWatchListTrigger, table_SCB_Foretagsnamn, table_SCB_ExpImp, table_SCB_AstNummer, table_SCB_Konskvot, table_Company, table_Larmtjanst_Object, table_Transportstyrelsen_Person, table_Forsakringskassan_Claim, table_FI_BorsInformationReport, table_Skatteverket_FA_INK, table_Skatteverket_FA_MOMS_AG, table_Skatteverket_KA_PLIGG, table_Skatteverket_SKT_AG, table_Skatteverket_SKT_INK, table_Skatteverket_SKT_MOMS, table_Skatteverket_TF_ANST, table_SPAR_NotificationRecord, table_SPAR_NotificationRecordReference, table_Lantmateriet_InskrivningPerson, table_CompanyCase, table_Bolagsverket_BeneficialOwner, table_Bolagsverket_AnnualReport, table_SPAR_NotificationRecordRelationship, table_Skatteverket_Basinformation, table_PersonRelationship, table_CompanyImport, table_SeaweedFSFile, table_Sweden_CompanyAnnualReport, table_CompanyFinancialReport, table_CompanyAddress, table_CompanyStatus, table_CompanyPerson, table_CompanyRegistration, table_CompanyIntelligence, table_CompanyFinancialDocument, table_CompanyNaming, table_CompanyPurpose, table_CompanyShareCapital, table_CompanyRegisteredOffice, table_KFM_OrderToPayCase, table_PersonAddress, table_PersonName, table_CompanyWorkplaceAddress, table_Lantmateriet_InskrivningAgandeForandring, table_Lantmateriet_InskrivningInteckning, file_Bolagsverket, table_KFM_DebtorSummaryEntityDebt, table_CompanyWorkplaceCompany, table_CompanyDocument, table_FileImport, table_CompanyFinancialReportRegistration, table_Folkhalsomyndigheten_ServingPermit, table_CompanyFinancialReportFile, table_TeamCompanyDocument, table_Bolagsverket_RepresentativeHistory, table_CompanyPersonTemp, table_Lansstyrelsen_Decision, table_Kammarkollegiet_Sanktionsavgift, table_CompanyFinancialReportSummary, table_Lantmateriet_InskrivningAnteckning, table_Property, table_SwishRequest, external_Lantmateriet_RegisterenhetObjektIdentitet, table_SwishRefundResponse, table_LEI_Order, table_Bankgirot_Bankgironumber, table_Person, external_Navet, table_Transportstyrelsen_VehicleSummaryEvent, external_Bolagsverket_Case, table_Ria_AgentLocation, table_PropertyAnnualReportFile