curl --request GET \
--url https://api-dev.narrative.io/company-info/whoami \
--header 'Authorization: Bearer <token>'{
"id": 7,
"user_id": 100,
"credit_limit_usd": 1000,
"check_datashops_credit_limit": false
}Returns the company and user associated with the token.
curl --request GET \
--url https://api-dev.narrative.io/company-info/whoami \
--header 'Authorization: Bearer <token>'{
"id": 7,
"user_id": 100,
"credit_limit_usd": 1000,
"check_datashops_credit_limit": false
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns the marketing detail of a specific company.
Unique identifier of an existing company.
7
The company credit limit (USD)
Whether the buyer's credit limit should be checked for datashops purchases. Relevant to data shop owners only.
The user id