New organization

circle-exclamation

Use this method to create a new organization.

POST https://a.loopmessage.com/api/v1/organizations/new/

Request body

Name
Type
Description

name*

String

New name for the organization.

website*

String

Your organization or product webpage.

support_url*

String

A webpage where your users can get support related to your services.

country*

String

Your organization country. Value should be in ISO-2 formatarrow-up-right. For example: US for USA, CA for Canada, GB for United kingdom.

webhook_url

String

Optional. URL that will be used to fire webhooks related to this organization. This field required to receive an API key in the response.

webhook_header

String

Optional. Value that will be included in the webhooks Authorization header.

JSON payload example

{
  "name": "String",
  "website": "https://site.com/",
  "support_url": "https://site.com/contact-us/",
  "country": "US",
  "webhook_url": "https://site.com/webhook/",
  "webhook_header": "secure string"
}

Response

Last updated