Invites

Issue a workspace invite

Changed on

Admin/owner only. Generates a one-time token; returns the raw token + accept_url in the body. MVP does not send an email — share the URL out-of-band.

post/api/v1/workspaces/{id}/invites

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/v1/workspaces/{id}/invites
  • Auth: one of:
    • API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
    • HTTP bearer

Path parameters

idstring uuid required

Request body

emailstring email required
role'viewer' | 'member' | 'admin'

Response

Invite created.

tokenstring required

Raw token. Returned exactly once.

accept_urlstring uri required
warningstring required

Changes

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status