Create Organization: /auth/organization (POST)

Purpose:

This endpoint is used to create an organization on Client-Secret header and provide an organization slug/id to associate channels, users, and roles.

Input:

  • Headers:
    • Content-Type: application/json
    • Client-Secret: A required header to authenticate the request.

Output (200):

{
  "id": "6f5b3d58-e08b-4306-8ea0-574dde3abca2"
}