Organizations

Create organization

Changed on

Create an organization owned by the user and make it their active organization. Without a slug, a unique one is generated from its name

post/api/v1/organizations

Request

  • Base URL
    https://app.easyscraper.com
  • URL
    https://app.easyscraper.com/api/v1/organizations
  • Auth
    API key in cookie better-auth.session_token

Request body

namestring required
slugstring

Response

OK

idstring uuid required
namestring required
slugstring required
logostring nullable required
metadatastring nullable required
requireTwoFactorboolean required
allowedEmailDomainsstring[] required
createdAtstring date-time required
updatedAtstring date-time required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status