Skip to content

Zalo — Calls ​

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

Side effectRiskNeeds approvalIdempotentScopes
WRITEhighyesno—

Input

FieldTypeRequiredDescription
phonestringyesPhone number. Pattern: ^\+?[0-9]{9,15}$.
call_typestringyesCall type as named in the Zalo call docs.
reason_codestringyesReason code from the Zalo call docs.

Extra fields: ignored.

Output

FieldTypeDescription
dataobjectZalo response data.

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

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyes—

Input

FieldTypeRequiredDescription
phonestringyesPhone number. Pattern: ^\+?[0-9]{9,15}$.

Extra fields: ignored.

Output

FieldTypeDescription
dataobjectZalo response data.

Get call center info — zalo.get_call_center_info ​

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

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyes—

Input

No input.

Extra fields: ignored.

Output

FieldTypeDescription
dataobjectZalo response data.

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

Side effectRiskNeeds approvalIdempotentScopes
WRITEmediumyesno—

Input

FieldTypeRequiredDescription
branch_idstringno
agent_idstringnoCall-center agent ID.
call_typestringyesCall type as named in the Zalo call docs.

Extra fields: ignored.

Output

FieldTypeDescription
dataobjectZalo response data.

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

Side effectRiskNeeds approvalIdempotentScopes
WRITEmediumyesno—

Input

FieldTypeRequiredDescription
user_idstringyesZalo user ID of the OA follower.
agent_idstringnoCall-center agent ID.
call_typestringyesCall type as named in the Zalo call docs.

Extra fields: ignored.

Output

FieldTypeDescription
dataobjectZalo response data.