Preskoči na sadržaj

Get company details by Company ID

GET
/organizations/company-details

Fetch company details (e.g. via AI/web search) using Company ID (PIB). Returns stub or partial data if not found.

companyId
required
string
>= 9 characters <= 9 characters /^\d+$/

OK

object
name
required
string
companyId
required
string
registrationName
Any of:
string
companyRegistrationId
Any of:
string
street
Any of:
string
city
Any of:
string
postalCode
Any of:
string
country
Any of:
string
email
Any of:
string
bankAccount
Any of:
string

401

One of:
object
defined
required
code
required
Allowed value: UNAUTHORIZED
status
required
Allowed value: 401
message
required
string
default: Missing user session. Please log in!
data

403

One of:
object
defined
required
code
required
Allowed value: FORBIDDEN
status
required
Allowed value: 403
message
required
string
default: You do not have enough permission to perform this action.
data

422

One of:
object
defined
required
code
required
Allowed value: INPUT_VALIDATION_FAILED
status
required
Allowed value: 422
message
required
string
default: INPUT_VALIDATION_FAILED
data