The Companies API allows you to manage company information within the Meridian CRM system.
All requests must include a Bearer token in the HTTP header:
Description: Retrieve a list of companies from the user's organization.
Endpoint: GET api/public/v1/companies/
Optional Query Parameters:
Response Example:
Description: Retrieve details for a specific company.
Endpoint: GET api/public/v1/companies/{id}/
Response Example:
Description: Create a new company.
Endpoint: POST api/public/v1/companies/
Request Example:
Response: Returns the created company object with HTTP 201 status code.
Description: Update an existing company.
Endpoint: PUT api/public/v1/companies/{id}/
Request Example:
Response: Returns the updated company object.
Description: Delete a company.
Endpoint: DELETE api/public/v1/companies/{id}/
Response: Returns HTTP 204 No Content on success.
Description: Create a company and associated deal in one operation.
Endpoint: POST api/public/v1/companies/create-company-with-deal/
Request Example:
Response: Returns the created company object with HTTP 201 status code.
Description: Retrieve the last interaction (email or meeting) for a company.
Endpoint: GET api/public/v1/companies/{id}/last-interaction/
Request Example:
Description: Retrieve a list of company types.
Endpoint: GET api/public/v1/companies/types/
Request Example:
Description: Create a new company type.
Endpoint: POST api/public/v1/companies/types/
Request Example:
Response: Returns the created company type object with HTTP 201 status code.
Description: Retrieve a list of company priorities.
Endpoint: GET api/public/v1/companies/priorities/
Request Example:
Description: Create a new company priority.
Endpoint: POST api/public/v1/companies/priorities/
Request Example:
Response: Returns the created company priority object with HTTP 201 status code.
Description: Retrieve a list of company stages.
Endpoint: GET api/public/v1/companies/stages/
Request Example:
Description: Create a new company stage.
Endpoint: POST api/public/v1/companies/stages/
Request Example:
Response: Returns the created company stage object with HTTP 201 status code.
Description: Retrieve metadata about company fields, including field names, types, and whether they are required, createable, or updateable.
Endpoint: GET api/public/v1/companies/metadata/fields/
Request Example:
Description: Retrieve metadata about company type fields.
Endpoint: GET api/public/v1/companies/types/metadata/fields/
Request Example:
Description: Retrieve metadata about company priority fields.
Endpoint: GET api/public/v1/companies/priorities/metadata/fields/
Request Example:
Description: Retrieve metadata about company stage fields.
Endpoint: GET api/public/v1/companies/stages/metadata/fields/
Request Example: