CLI

Verify CLI signup and create OAuth session

Changed on

Verifies the email code for a CLI signup session and creates the account. An org-scoped OAuth CLI session is created and the token set is returned exactly once. This endpoint does not require an API key.

post/cli/signup/verify

Request

  • Base URL: https://api.primitive.dev/v1
  • URL: https://api.primitive.dev/v1/cli/signup/verify
  • Auth: none required

Request body

signup_tokenstring required
verification_codestring required
passwordstring

Response

CLI signup verified and OAuth token set created

successboolean required

Changes

    • info

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

    • info

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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