Sub-Organizations

Create a sub-organization.

Changed on

When creating a user through the API, the verifiedEmail field will automatically be set to true. However, if public signups are used, the email will need to be verified by the user.

post/print-mail/v1/sub_organizations

Request

  • Base URL
    https://api.postgrid.com
  • URL
    https://api.postgrid.com/print-mail/v1/sub_organizations
  • Auth
    API key in header X-API-Key

Request body

namestring required

The name of the user to be created alongside the sub-organization.

emailstring required

The email of the user to be created alongside the sub-organization.

passwordstring required

The password of the user to be created alongside the sub-organization.

phoneNumberstring

The phone number of the user to be created alongside the sub-organization.

organizationNamestring required

The name of the sub-organization.

countryCodestring required

The country code of the sub-organization.

Response

The request has succeeded and a new resource has been created as a result.

Changes

    • warning

      added the new internal_server_error enum value to the / response property for the response status

    • warning

      added the new not_found_error enum value to the / response property for the response status

    • warning

      added the new rate_limit_exceeded_error enum value to the / response property for the response status

    • warning

      added the new validation_error enum value to the / response property for the response status

    • info

      added subschema #1 subschema #2 to the response body anyOf list for the response status

    • info

      added subschema #1 subschema #2 to the response body anyOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response body anyOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response body anyOf list for the response status