Skip to main content

Sending Image

Method#

/send-image#

POST https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/send-image

Header#

KeyValue
Client-TokenACCOUNT SECURITY TOKEN

Concept#

This method is responsible for sending images for your chats, you can work with two types of images which are:

  • By link, this means that if you have an image that is being hosted somewhere on the internet you can simply just send the link.

  • By base64, if you opted for this option you will need to have a method in your application to convert an image to base64. To make sure that your conversion worked, copy the generated Base64 and paste it in your browser's address bar, if it's a valid image your browser will be able to render it, if the browser can't, check your method :)

    IMPORTANT if you opt for a base64 before binary you will need to add the following expression data:image/png;base64, * your base64 code *

You can test this type with this type of submission by using an online converter of images to base64.

Examples:

conversor 1

conversor 2

Sizes and formats#

WhatsApp limits the sizes of files and its politics constantly changes and because of that we always recommend that you verify directly on WhatsApp’s website.

In this link you can find everything that you need to know about formatting and file sizing.

image


Attributes#

Required#

AttributesTypeDescription
phonestringRecipient (or group ID in case you want to send it to a group) telephone number in the format DDI DDD NUMERS Ex: 551199999999. IMPORTANT only send numbers without formatting or a mask
imagestringImage’s link or its Base64

Opcionais#

AttributesTypeDescription
captionstringImage's title
messageIdStringAttribute used to answer a chat message. All you have to do is add the messageID of the message that you want to respond to this attribute
delayMessagenumberIn this attribute a delay is added to the message. You can decide between a range of 1 - 15 secs (this is for how many seconds it will wait to send the next message EX: “delayMessage”:5,). The default delay is between 1 - 3 secs.
viewOncebooleanDefines wether it will be a view once message or not

Request Body#

URL

{
"phone": "5511999999999",
"image": "https://www.z-api.io/wp-content/themes/z-api/dist/images/logo.svg",
"caption": "Logo"
}

BASE64

{
"phone": "5511999999999",
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAMgCAIAAABUEpE/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAALhRJREFUeNrs3U9sXPdh4HGqDdY5hMNDm8ARyGKLzZoAqRZpxASaWaAQF4ZJw7CwsEPRELsoVGosb9GuJZKHXSwghjoseiBFabFZmBl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AAQWAAACCwBAYAEACCwAAIEFAIDAAgAQWAAAAgsAAIEFACCwAAAEFgAAAgsAQGABAAgsAAAEFgCAwAIAEFgAAAILAACBBQAgsAAABBYAAAILAEBgAQAILAAABBYAgMACABBYAAAILAAAgQUAILAAAAQWAAACCwBAYAEACCwAAAQWAIDAAgAQWAAACCwAAIEFACCwAAAQWAAAAgsAQGABAAgsAAAEFgCAwAIAEFgAAAgsAACBBQAgsAAAEFgAAAILAEBgAQAILAAABBYAgMACABBYAAAILAAAgQUAILAAABBYAAACCwBAYAEAILAAAAQWAIDAAgAQWAAACCwAAIEFACCwAAAQWAAAAgsAQGABACCwAAAO1P8XYADmRFXD2XNv4QAAAABJRU5ErkJggg==",
"caption": "Logo",
"viewOnce": true
}

Response#

200#

AttributesTypeDescription
zaapIdstringid on z-api
messageIdstringid on whatsapp

Example

{
"zaapId": "3999984263738042930CD6ECDE9VDWSA",
"messageId": "D241XXXX732339502B68"
}

405#

In this case certify that you are sending the correct specification of the method. This means, verify if you sent a POST or GET as specified at the beginning of this topic.

415#

In case you receive 415 error, make sure to add the “Content-Type” of the object you are sending in the request headers, mostly “application/json”


Webhook Response#

Link for webhooks response (upon receiving)

Webhook


Code#