Baack
Browse the docs

Endpoints

  • CreatePOST/n/v1/company/

    Company endpoint with support for companies used both internally for account structure and CRM company representations. Baack supports Company structures under an Organisation. Each company includes it's own usage / billing context. Typically an organisation with an account will include a Company for test / development purposes as well as one for production. Baack keeps company related concepts separate and each company has it's own encryption setup for data encryption at rest for Customer Information.

    Baack allocates the URN and returns it in the response.

    Request body: Company

    Responses

    201 Created
    returns CompanyCREATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • ReadGET/n/v1/company/{urn}

    Company endpoint with support for companies used both internally for account structure and CRM company representations. Baack supports Company structures under an Organisation. Each company includes it's own usage / billing context. Typically an organisation with an account will include a Company for test / development purposes as well as one for production. Baack keeps company related concepts separate and each company has it's own encryption setup for data encryption at rest for Customer Information.

    Notes

    • Companies typically have associated content in the CRM context.
    • Company structures can be used to create structured scopes for an account.
    • Company groups ownership for most concepts.

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Responses

    200 OK
    returns CompanyREAD_SUCCESS
    404 Not found
    returns ErrorNOT_FOUND
    curl -H "Authorization: Bearer $BAACK_API_TOKEN" \
      https://api.baack.co/n/v1/company/{urn}
  • UpdatePUT/n/v1/company/{urn}

    Company endpoint with support for companies used both internally for account structure and CRM company representations. Baack supports Company structures under an Organisation. Each company includes it's own usage / billing context. Typically an organisation with an account will include a Company for test / development purposes as well as one for production. Baack keeps company related concepts separate and each company has it's own encryption setup for data encryption at rest for Customer Information.

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Request body: Company

    Responses

    202
    returns CompanyUPDATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • DeleteDELETE/n/v1/company/{urn}

    Company endpoint with support for companies used both internally for account structure and CRM company representations. Baack supports Company structures under an Organisation. Each company includes it's own usage / billing context. Typically an organisation with an account will include a Company for test / development purposes as well as one for production. Baack keeps company related concepts separate and each company has it's own encryption setup for data encryption at rest for Customer Information.

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Responses

    202
    DELETE_SUCCESS

Webhook

POSTyour destination URL

Subject: COMPANY

Webhook for updates to companies e.g. company structures or new customer company creation.

The company webhook is a critical integration point for managing your customer company relations. Use the company creation events to trigger custom workflows like assigning an outreach task for a member of your sales team using a membership group for subscribers and tasks.

The company abstraction is also used in combination with a content entity which is automatically created for every company on the platform.

Body: Webhook Event

Your response

200
Return 200 status to indicate that data was received successfully

Fields

Company fields
FieldTypeDescription
urnstring (uuid)
parentCompanyCompany
ownerCompany

Required on create.

.

namestring
organisationOrganisation
urlstring (uri)
entityEntity

Ignored on update.

Used by: Account, API Client, Client Context, Company Identity, Company Page, Deal, Entity, Entity List, Group, Identity, Lead, Message Thread, Payment Invoice, Payment Invoice Remittance, Permission, Project, Recipient, Remitter, Role, Search, Search Item, Task, Webhook Trigger, Workflow