Ejemplos
Last update: 7 months ago by Irais Aguirre
Actualizar perfil
Petición HTTP actualizar perfil
curl -X POST "https://{{url}}/whatsapp-bsp-admin-ext-endpoint-ws/services/v1/profile" \-H 'Content-Type: application/json' \-H 'Authorization: Bearer {{wa-msg-api-token}}' \-H 'phone_number_id: 5215500000000'
Body actualizar perfil
{"address": "<Business Profile Address>","description": "<Business Profile Description>","email": "<Business Profile Email>","vertical": "<Business Profile Vertical>","websites": ["https://www.whatsapp.com", "https://www.facebook.com"]}
Actualizar foto
Petición HTTP actualizar foto
curl -X POST "https://{{url}}/whatsapp-bsp-admin-ext-endpoint-ws/services/v1/upload/photo" \-H 'Content-Type: application/octet-stream' \-H 'Authorization: Bearer {{wa-msg-api-token}}' \-H 'phone_number_id: 5215500000000'--data-binary @imagenPerfil.png