Child Companies

Child Companies interface empowers users to efficiently create and oversee child companies linked to their primary Sproom account, streamlining document reception processes. Throughout this documentation, you'll discover API endpoints tailored for child company creation, authentication mechanisms, and protocols for enrolling pre-existing Sproom-registered entities. By leveraging the provided status codes, users can seamlessly navigate the platform, promptly addressing any challenges, such as data conflicts or request inconsistencies.

Create a Child Company

        curl -X 'POST' \
  'https://sproom.net/api/child-companies' \
  -H 'accept: */*' \
  -H 'Authorization: Bearer (INSERT YOUR TOKEN HERE) \
  -H 'Content-Type: application/json' \
  -d '{
  "companyName": "The Smallish Company A/S",
  "organizationIdentifier": {
    "schemeId": "DK:CVR",
    "value": "29403473"
  },
  "glnNumber": "5798009811578"
}'
        
    

Authenticate as a Child Company

        curl -X 'GET' \
  'https://sproom.net/api/child-companies/fa55f5df-555z-0d55-ef7d-313f6cf0c3be/token' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer (INSERT YOUR TOKEN HERE)
        
    

Enroll a Child Company

        curl -X 'POST' \
  'https://sproom.net/api/child-companies/enrollmentRequests' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer (INSERT YOUR TOKEN HERE)
  -H 'Content-Type: application/json' \
  -d '{
  "childCompanyName": "ChildCompanyName",
  "childCompanyId": "5848d0b6-a1e4-4a99-aeaf-b88146745f8f",
  "organizationIdentifier": {
    "schemeId": "DK:CVR",
    "value": "12345678"
  },
  "userEmail": "[email protected]",
  "parentCompanyName": "The Parent Company Name",
  "authenticationMethod": "mitIDErhverv"
}'
        
    

Child Company Enrollment Process Diagram

Alt text is missing

Contact us for questions

Do you have questions on how to do you integration, contact us now and we will help you as quick as possible

Tlf: +45 88 20 20 40 E-mail: [email protected]

Alt text is missing