탐색으로 건너뛰기

리셀러 워크스페이스 생성

Create a workspace for one of your customers, optionally with a tier, a phone number and team invites.

헤더

xi-api-keystring선택 사항

요청

This endpoint expects an object.
business_namestring필수1-100 characters
verticalenum or null선택 사항

complete_onboarding과 함께 사용하는 비즈니스 업종입니다. 지정하지 않으면 온보딩이 일반적인 방식으로 업종을 선택합니다.

charge_customerboolean선택 사항기본값 false

리셀러 대신 워크스페이스의 자체 고객에게 청구합니다. 고객이 직접 결제하고 청구 정보를 확인하며, 리셀러는 수수료를 받습니다. 표준 청구 방식을 사용하는 리셀러에만 적용됩니다.

subscriptionobject or null선택 사항

구독할 유료 요금제입니다. 생략하면 워크스페이스는 구독 없이 유지됩니다.

phone_numberstring or null선택 사항
A free number from the reseller's phone pool, reserved for the workspace until onboarding binds it to the receptionist.
memberslist of objects선택 사항기본값 []

워크스페이스가 생성된 후 초대할 사람입니다. 요금제의 팀 규모 제한이 적용됩니다. 최선 노력 방식으로 처리되며, 각 결과는 member_results에 포함됩니다.

complete_onboardingboolean선택 사항기본값 false

POST /v1/reception/reseller/workspaces/{workspace_id}/complete-onboarding처럼 즉시 설정을 완료합니다. 최선의 노력으로 수행되며, 실패 시 onboarding_completed_at_unix는 null로 유지되고 해당 호출을 재시도할 수 있습니다.

metadatamap from strings to strings선택 사항기본값 {}

고객 또는 계약 ID와 같은 워크스페이스용 사용자 지정 키-값 쌍입니다. . 또는 $ 없이 최대 40자 키 20개와 최대 500자 값을 사용할 수 있습니다. 워크스페이스 구성원에게는 표시되지 않습니다.

idempotency_keystring or null선택 사항<=255 characters

Client-generated key that makes a retry safe. The same key and body within 24 hours returns the first result without running again. While that first request is still running, a retry gets 409 idempotency_key_in_progress; a different body with the same key gets 400 idempotency_key_reused. A request that fails is not saved, so it can be retried with the same key.

응답

성공 응답

workspace_idstring
business_namestring
billing_tierstring or null
receptionist_countinteger
calls_last_30_daysinteger
created_at_unixinteger
subscriptionobject or null선택 사항

이 워크스페이스에 리셀러 관리 구독이 있는 경우 해당 구독입니다. None은 리셀러가 여기에서 판매하는 항목이 없음을 의미합니다. 아직 티어가 할당되지 않았거나 워크스페이스가 자체 구독료를 지불하는 경우입니다(charge_customer 참고).

charge_customerboolean선택 사항기본값 false

워크스페이스가 자체 구독료를 지불하므로 여기에서 티어를 할당하거나 변경할 수 없습니다.

has_payment_issueboolean선택 사항기본값 false
A charge for this workspace is unpaid. Assigning or changing a tier is refused until it clears, so surface it rather than letting it fail.
onboarding_completed_at_unixinteger or null선택 사항

온보딩이 완료된 시점입니다. 그때까지 온보딩 마법사는 워크스페이스의 비즈니스 데이터를 교체하거나 제거할 수 있습니다.

metadatamap from strings to strings선택 사항기본값 {}

워크스페이스용 사용자 지정 키-값 쌍입니다.

member_resultslist of objects선택 사항기본값 []

오류

422
Unprocessable Entity Error