Idea organizations

Create an idea organization

Changed on
post/idea_organizations

Request

  • Base URL
    https://company.aha.io/api/v1
  • Auth
    • OAuth 2
      Authorization codehttps://{account-domain}.aha.io/oauth/authorize
      Token URLhttps://{account-domain}.aha.io/oauth/token
    • or HTTP bearer
    • or API key in cookie session
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body

Example request

{
  "idea_organization": {
    "name": "My organization",
    "email_domains": "example.com, example.org",
    "revenue": "55000"
  }
}

Response

Successful operation

Example response

{
  "idea_organization": {
    "id": "6776881149496968773",
    "name": "My organization",
    "created_at": "2019-01-01T00:00:00.000Z",
    "url": "https://company.aha.io/ideas/idea_organizations/ACCOUNT-O-1",
    "updated_at": "2019-01-01T00:00:00.000Z",
    "reference_num": "ACCOUNT-O-1",
    "description": {
      "id": "6776881149490209373",
      "body": "",
      "notable_id": "6776881149496968773",
      "notable_type": "Ideas::IdeaOrganization",
      "editor_version": 2,
      "created_at": "2019-01-01T00:00:00.000Z",
      "updated_at": "2019-01-01T00:00:00.000Z",
      "attachments": []
    },
    "created_by_user": {
      "id": "1049303076",
      "name": "George Gently",
      "email": "no-reply@aha.io",
      "created_at": "2019-01-01T00:00:00.000Z",
      "updated_at": "2019-01-01T00:00:00.000Z"
    },
    "endorsements_count": 0,
    "email_domains": "example.com, example.org",
    "revenue": "55000.0",
    "custom_fields": [],
    "integration_fields": []
  }
}

Changes