Language:

/companies

POST

Create Company

Creates a single company

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/companies
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

Request Body

{
    "name": "Test Company Name",
    "description": "Description goes here"
}
GET

Get Company

Get a single company by it's ZUID

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/companies/{{company_zuid}}
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 
GET

Get All Companies

Get a list of all companies.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/companies
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 
DELETE

Delete Company

Deletes a single company

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/companies/{{company_zuid}}
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

Request Body

{
    "firstName":"Firstname", 
    "lastName":"Lastname", 
    "email": "{{email_address}}"
}

;