Create Organization

Creates a single organization and returns the ID of the created entity in Resource-Id header.

Request

POST /v2/organizations HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json

{
  "name" : "New Test Company",
  "domain" : "newcompany.com",
  "website" : "www.newcompany.com",
  "description" : "A new test company for testing purposes",
  "location" : "US",
  "note" : "Created via API test",
  "phones" : [ "+1 555 0123", "+1 555 0456" ],
  "brandColor" : "#00FF00"
}

Response

HTTP/1.1 201 Created
Resource-ID: 15
Location: https://api.helpscout.net/v2/organizations/15