Companies
Get a Company
GET
https://api.tiny.plus/v2/companies/{{id}}
This endpoint allows you to get a full Company record.
Path Parameters
Name | Type | Description |
---|---|---|
id | number | ID of the company |
Query Parameters
Name | Type | Description |
---|---|---|
with_related | boolean | Can be either |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Your access token. |
Example Usage
List Companies
GET
https://api.tiny.plus/v2/companies
This endpoint allows you to get a paginated list of Companies, optionally filtered by criteria.
Query Parameters
Name | Type | Description |
---|---|---|
{{field_name}} | string | You can provide any |
with_health | boolean | If this key is present, we will return a |
me | boolean | If this key is present, it will limit the results to only records where the user associated with the API key is the |
subscribed | boolean | Similar to the |
limit | number | Used for pagination. Limit is the number of records to return from the full resultset. The default is |
start | number | Used for pagination. Set this value to the cursor position into the total resultset to return this time. eg. to receive the 101st to the 115th record, set this to |
sort | string | Provide a field name and optionally a direction separated by a space to sort the returned results. For example, |
return_format | string | Can be either |
with_related | boolean | Can be either |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Your access token. |
Example Usage
Create a Company
POST
https://api.tiny.plus/v2/companies
You can create a new tiny+ company with this endpoint. The only required field to create a Company in tiny+ is name
, however we recommend you provide as much information as possible.
Headers
Name | Type | Description |
---|---|---|
Accepts | string | Use |
Content-Type | string | Use |
Authorization | string | Your access token. |
Request Body
Name | Type | Description |
---|---|---|
JSON object | object |
|
Update a Company
PATCH
https://api.tiny.plus/v2/companies/{{id}}
You can edit a tiny+ Company with this endpoint. Note: you only need to pass the field you wish to change.
Path Parameters
Name | Type | Description |
---|---|---|
id | number | ID of the company. |
Headers
Name | Type | Description |
---|---|---|
Accepts | string | Use |
Content-Type | string | Use |
Authorization | string | Your access token. |
Request Body
Name | Type | Description |
---|---|---|
JSON object | object |
|
Delete a Company
DELETE
https://api.tiny.plus/v2/companies/{{id}}
Delete a Company record.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the company. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Your access token. |
Companies Field Reference
Field | Type | Details | Permission |
id | Number | Unique record identifier. | Read-only |
name | String (up to 200 characters). REQUIRED. | Company Name. | Full |
description | String | Description. | Full |
created_date | String (YYYY-MM-DD hh:mm:ss) | Date record was first created. | Read-only |
modified_date | String (YYYY-MM-DD hh:mm:ss) | Date record was last modified. | Read-only |
created_user | Number | ID of user who made the record. | Read-only |
modified_user | Number | ID of user who last edited the record. | Read-only |
assigned_user | Number | ID of assigned user. | Full |
is_synced | Boolean | Whether the record has been synced from another source. | Full |
sync_origin | String (up to 50 characters) | A simple string that you supply to let tiny+ users know where the record is synced from. | Full |
remote_id | String (up to 200 characters) | A remote identifier for this record. | Full |
record_status | String | The relationship status of the Company. Note that this status field is intended for client companies, so non-client companies should not recieve a relationship status. Values you can use: When adding or editing a company, if your account is using additional phases for company relationship status, you must pass the correct phase ID here in place of the possible values. | Full |
record_url | String | The fully qualified URI of the record. | Read-only |
external_url | String or JSON object | A link to this company in another system. Helpful when used with sync_origin. This can hold a simple string URL. However some records may exist in multiple systems, so we recommend you namespace your external URL by providing a JSON object like so:
This will make sure that other integrations will not interfere with your URL. | Full |
Last updated