Skip to content
Proud to collaborate with Microsoft for Startups

wasender.contacts.get_picture ​

Read-only: fetch a Wasender contact's profile-picture URL; no database writes

Fetch a WhatsApp contact's profile-picture URL (GET /contacts/{phone}/picture).

Inputs:

  • cloud_connection_uuid: UUID — the cloud connection holding the Wasender token.
  • phone: str — contact phone number (path param).

Outputs (terminal state_data):

  • image_url: str — contact profile-picture URL
  • success: bool — provider success flag

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Cloud connection holding the Wasender credential
phonestringYes—Contact phone number (path param)

Output Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidNo——
phonestringNo——
image_urlstringNo—Contact profile-picture URL
successbooleanNo—Provider success flag
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "wasender.contacts.get_picture",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "phone": "value"
  }
}