Skip to content

API: Signup and verification

Generated from the API's OpenAPI schema. Paths are relative to https://cloud.tebibhost.com. Authentication, errors, pagination and idempotency are on the API overview.

POST/api/v1/orgs

Create Organization (createOrganization)

IAM action: none (any signed-in caller)

Request body (JSON, OrganizationIn)

FieldTypeDescription
country requiredstring
name requiredstring

Responses

  • 201 Created (CreatedOrganizationOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of CreatedOrganizationOut
FieldTypeDescription
countrystring
home_regionstring
idstring
namestring
statusstring
tierstring
trnstring

GET/api/v1/orgs/{organization_id}/id-documents

List Id Documents (listIdDocuments)

IAM action: org:ListIdDocuments

ParameterInTypeDescription
organization_id requiredpathstring

Responses

  • 200 OK (array of IdDocumentOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)

POST/api/v1/orgs/{organization_id}/id-documents

Submit Id Document (submitIdDocument)

IAM action: org:SubmitIdDocument

ParameterInTypeDescription
organization_id requiredpathstring

Request body (JSON, IdDocumentIn)

FieldTypeDescription
content_base64 requiredstring
content_type required"image/jpeg" | "image/png" | "application/pdf"
country requiredstring
kind required"national_id" | "passport" | "alien_id" | "driving_licence" | "company_registration"

Responses

  • 201 Created (IdDocumentOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of IdDocumentOut
FieldTypeDescription
content_typestring
countrystring
idstring
kindstring
review_reasonstring
reviewed_atstring (date-time) (nullable)
size_bytesinteger
statestring
submitted_atstring (date-time)
trnstring

GET/api/v1/orgs/{organization_id}/verification

Get Verification (getVerification)

IAM action: org:GetVerification

ParameterInTypeDescription
organization_id requiredpathstring

Responses

  • 200 OK (VerificationOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of VerificationOut
FieldTypeDescription
id_verifiedboolean
id_verified_atstring (date-time) (nullable)
limitsTierLimitsOut
next_stepstring
organization_idstring
phone_maskedstring
phone_verifiedboolean
phone_verified_atstring (date-time) (nullable)
tierstring

GET/api/v1/signup/config

Signup Config (signupConfig)

IAM action: none (public, no sign-in)

Responses

  • 200 OK (SignupConfigOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SignupConfigOut
FieldTypeDescription
countriesarray of CountryOut
signup_openboolean
turnstile_site_keystring