Skip to content

Zalo — Cuộc gọi ​

Ask a user (by phone) for permission to call. Charged per request.

Tác độngRủi roCần duyệtIdempotentScopes
WRITEhighcókhông—

Input

FieldNhãnKiểuBắt buộcMô tả
phoneSố điện thoạistringcóPhone number. Pattern: ^\+?[0-9]{9,15}$.
call_typeLoại cuộc gọistringcóCall type as named in the Zalo call docs.
reason_codeMã lý dostringcóReason code from the Zalo call docs.

Field thêm: bỏ qua.

Output

FieldNhãnKiểuMô tả
dataKết quảobjectZalo response data.

Check whether a phone number has allowed the OA to call.

Tác độngRủi roCần duyệtIdempotentScopes
NONElowkhôngcó—

Input

FieldNhãnKiểuBắt buộcMô tả
phoneSố điện thoạistringcóPhone number. Pattern: ^\+?[0-9]{9,15}$.

Field thêm: bỏ qua.

Output

FieldNhãnKiểuMô tả
dataKết quảobjectZalo response data.

Thông tin tổng đài (Get call center info) — zalo.get_call_center_info ​

Get the OA's connected call-center branches and agents.

Tác độngRủi roCần duyệtIdempotentScopes
NONElowkhôngcó—

Input

Không có input.

Field thêm: bỏ qua.

Output

FieldNhãnKiểuMô tả
dataKết quảobjectZalo response data.

Create a link a user can open to call the OA's call center.

Tác độngRủi roCần duyệtIdempotentScopes
WRITEmediumcókhông—

Input

FieldNhãnKiểuBắt buộcMô tả
branch_idMã chi nhánhstringkhông
agent_idMã nhân viênstringkhôngCall-center agent ID.
call_typeLoại cuộc gọistringcóCall type as named in the Zalo call docs.

Field thêm: bỏ qua.

Output

FieldNhãnKiểuMô tả
dataKết quảobjectZalo response data.

Create a link for a call-center agent to call a user.

Tác độngRủi roCần duyệtIdempotentScopes
WRITEmediumcókhông—

Input

FieldNhãnKiểuBắt buộcMô tả
user_idMã người dùngstringcóZalo user ID of the OA follower.
agent_idMã nhân viênstringkhôngCall-center agent ID.
call_typeLoại cuộc gọistringcóCall type as named in the Zalo call docs.

Field thêm: bỏ qua.

Output

FieldNhãnKiểuMô tả
dataKết quảobjectZalo response data.