Skip to content

Commit 2c8d4d2

Browse files
jpjeannefbfacebook-github-bot
authored andcommitted
Add typing indicators request
Reviewed By: govindat Differential Revision: D75157934 fbshipit-source-id: fc75dc8e94c2c4235f76681f2f9232222cdfd05f
1 parent 7a2e20c commit 2c8d4d2

File tree

1 file changed

+149
-1
lines changed

1 file changed

+149
-1
lines changed

postman/v1/whatsapp-cloud-api.postman_collection.json

Lines changed: 149 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7783,9 +7783,157 @@
77837783
}
77847784
],
77857785
"description": "**These APIs are in beta. Please reach out to Meta Business Engineering teams with your WABA ID to gain access.**\n\nGuide: [Payments API - IN](https://developers.facebook.com/docs/whatsapp/cloud-api/payments-api/payments-in)"
7786+
},
7787+
{
7788+
"name": "Typing indicators",
7789+
"item": [
7790+
{
7791+
"name": "Send typing indicator and read receipt",
7792+
"request": {
7793+
"method": "POST",
7794+
"header": [],
7795+
"body": {
7796+
"mode": "raw",
7797+
"raw": "{\n \"messaging_product\": \"whatsapp\",\n \"status\": \"read\",\n \"message_id\": \"<WHATSAPP_MESSAGE_ID>\",\n \"typing_indicator\": {\n \"type\": \"text\"\n }\n}",
7798+
"options": {
7799+
"raw": {
7800+
"language": "json"
7801+
}
7802+
}
7803+
},
7804+
"url": {
7805+
"raw": "https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/messages",
7806+
"protocol": "https",
7807+
"host": [
7808+
"graph",
7809+
"facebook",
7810+
"com"
7811+
],
7812+
"path": [
7813+
"{{Version}}",
7814+
"{{Phone-Number-ID}}",
7815+
"messages"
7816+
]
7817+
},
7818+
"description": "- Guide: [Typing indicators](https://developers.facebook.com/docs/whatsapp/cloud-api/typing-indicators)\n \n- Endpoint reference: [WhatsApp Business Phone Number &gt; Messages](https://developers.facebook.com/docs/graph-api/reference/whats-app-business-account-to-number-current-status/messages/#Creating)"
7819+
},
7820+
"response": [
7821+
{
7822+
"name": "Send typing indicator and read receipt",
7823+
"originalRequest": {
7824+
"method": "POST",
7825+
"header": [],
7826+
"body": {
7827+
"mode": "raw",
7828+
"raw": "{\n \"messaging_product\": \"whatsapp\",\n \"status\": \"read\",\n \"message_id\": \"wamid.HBgLMTY1MDM4Nzk0MzkVAgASGBQzQUYzMjEzNDM2RTZGQ0MzMDJBRgA=\",\n \"typing_indicator\": {\n \"type\": \"text\"\n }\n}",
7829+
"options": {
7830+
"raw": {
7831+
"language": "json"
7832+
}
7833+
}
7834+
},
7835+
"url": {
7836+
"raw": "https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/messages",
7837+
"protocol": "https",
7838+
"host": [
7839+
"graph",
7840+
"facebook",
7841+
"com"
7842+
],
7843+
"path": [
7844+
"{{Version}}",
7845+
"{{Phone-Number-ID}}",
7846+
"messages"
7847+
]
7848+
}
7849+
},
7850+
"status": "OK",
7851+
"code": 200,
7852+
"_postman_previewlanguage": "json",
7853+
"header": [
7854+
{
7855+
"key": "Content-Type",
7856+
"value": "application/json; charset=UTF-8"
7857+
},
7858+
{
7859+
"key": "Vary",
7860+
"value": "Origin"
7861+
},
7862+
{
7863+
"key": "x-business-use-case-usage",
7864+
"value": "{\"102290129340398\":[{\"type\":\"whatsapp\",\"call_count\":0,\"total_cputime\":0,\"total_time\":0,\"estimated_time_to_regain_access\":0}]}"
7865+
},
7866+
{
7867+
"key": "Access-Control-Allow-Origin",
7868+
"value": "*"
7869+
},
7870+
{
7871+
"key": "facebook-api-version",
7872+
"value": "v22.0"
7873+
},
7874+
{
7875+
"key": "Strict-Transport-Security",
7876+
"value": "max-age=15552000; preload"
7877+
},
7878+
{
7879+
"key": "Pragma",
7880+
"value": "no-cache"
7881+
},
7882+
{
7883+
"key": "Cache-Control",
7884+
"value": "private, no-cache, no-store, must-revalidate"
7885+
},
7886+
{
7887+
"key": "Expires",
7888+
"value": "Sat, 01 Jan 2000 00:00:00 GMT"
7889+
},
7890+
{
7891+
"key": "x-fb-request-id",
7892+
"value": "A_xHw226CwK1JmTNs0vg6H7"
7893+
},
7894+
{
7895+
"key": "x-fb-trace-id",
7896+
"value": "HI+8wJKxeVw"
7897+
},
7898+
{
7899+
"key": "x-fb-rev",
7900+
"value": "1023054691"
7901+
},
7902+
{
7903+
"key": "X-FB-Debug",
7904+
"value": "lv4tuvFRJpqMrYs/DgGn3j5JDX8U1npjw9IK3Wq4ZK9SBhiBtL99ztZj5d/YLhsgoaBRNR0/FKJ1swL3oLYvMg=="
7905+
},
7906+
{
7907+
"key": "Date",
7908+
"value": "Wed, 21 May 2025 17:38:00 GMT"
7909+
},
7910+
{
7911+
"key": "X-FB-Connection-Quality",
7912+
"value": "EXCELLENT; q=0.9, rtt=7, rtx=0, c=10, mss=1380, tbw=3403, tp=-1, tpl=-1, uplat=552, ullat=0"
7913+
},
7914+
{
7915+
"key": "Alt-Svc",
7916+
"value": "h3=\":443\"; ma=86400"
7917+
},
7918+
{
7919+
"key": "Connection",
7920+
"value": "keep-alive"
7921+
},
7922+
{
7923+
"key": "Content-Length",
7924+
"value": "16"
7925+
}
7926+
],
7927+
"cookie": [],
7928+
"body": "{\n \"success\": true\n}"
7929+
}
7930+
]
7931+
}
7932+
],
7933+
"description": "Guide: [Typing indicators](https://developers.facebook.com/docs/whatsapp/cloud-api/typing-indicators)"
77867934
}
77877935
],
7788-
"description": "This section explores the full list of WhatsApp Business Cloud API reference. *At this time, this API is only available to Business Solution Providers (BSPs) and existing direct developers.*\n\nThis is a list of root nodes and edges available for the WhatsApp Business API. See [Using the Graph API:Nodes](https://developers.facebook.com/docs/graph-api/overview#nodes) for more information on how the API is structured.\n\n## Main Root Nodes\n\n| Node | Description |\n| --- | --- |\n| **`/PHONE_NUMBER_ID`** | Represents a specific phone number. This endpoint is used to [set up two-factor authentication](#fc57a30c-97e0-4e06-b74b-89fd7fc5f783). |\n| **`/MEDIA_ID`** | Represents a specific media object. Use this endpoint to get and delete media objects. |\n| **`/MEDIA_URL`** | Represents a specific media URL. Use this endpoint to download media from a URL. |\n\n## Phone Number ID\n\nThe **`/PHONE_NUMBER_ID`** endpoint has the following edges:\n\n| Edge | Description |\n| --- | --- |\n| **`/PHONE_NUMBER_ID/register`** | Used to [register a phone number](#149d8034-dca8-4bce-827e-06244127b4b7) or to migrate WhatsApp Business Accounts from a current On-Premises deployment to the new Cloud-Based API. |\n| **`/PHONE_NUMBER_ID/deregister`** | Used to [deregister a phone number](#8f0c509c-ec45-44fb-bfcc-38417ce88e97). |\n| **`/PHONE_NUMBER_ID/whatsapp_business_profile`** | Used to [get and update a business' profile](#9bfce27c-ed1f-44b5-82df-b0508210e6be). |\n| **`/PHONE_NUMBER_ID/media`** | Used to [upload media](#39a02bc0-ede1-4848-b24e-4ac3d501aaea). |\n| **`/PHONE_NUMBER_ID/messages`** | Used to [send messages](#1f4f7644-cc97-40b5-b8e4-c19da268fff1). |\n| **`/PHONE_NUMBER_ID/request_code`** | Used to [request a code to verify a phone](#6d413167-648e-40d0-823a-479ec98a2e33) number's ownership. |\n| **`/PHONE_NUMBER_ID/verify_code`** | Used to [verify a phone number's ownership](#1426eb2d-3ff2-4cc7-9021-c8782672e151). |"
7936+
"description": "This is a list of root nodes and edges available for the WhatsApp Cloud API. See [Using the Graph API:Nodes](https://developers.facebook.com/docs/graph-api/overview#nodes) for more information on how the API is structured.\n\n## Main Root Nodes\n\n| Node | Description |\n| --- | --- |\n| **`/PHONE_NUMBER_ID`** | Represents a specific phone number. This endpoint is used to [set up two-factor authentication](#fc57a30c-97e0-4e06-b74b-89fd7fc5f783). |\n| **`/MEDIA_ID`** | Represents a specific media object. Use this endpoint to get and delete media objects. |\n| **`/MEDIA_URL`** | Represents a specific media URL. Use this endpoint to download media from a URL. |\n\n## Phone Number ID\n\nThe **`/PHONE_NUMBER_ID`** endpoint has the following edges:\n\n| Edge | Description |\n| --- | --- |\n| **`/PHONE_NUMBER_ID/register`** | Used to [register a phone number](#149d8034-dca8-4bce-827e-06244127b4b7) or to migrate WhatsApp Business Accounts from a current On-Premises deployment to the new Cloud-Based API. |\n| **`/PHONE_NUMBER_ID/deregister`** | Used to [deregister a phone number](#8f0c509c-ec45-44fb-bfcc-38417ce88e97). |\n| **`/PHONE_NUMBER_ID/whatsapp_business_profile`** | Used to [get and update a business' profile](#9bfce27c-ed1f-44b5-82df-b0508210e6be). |\n| **`/PHONE_NUMBER_ID/media`** | Used to [upload media](#39a02bc0-ede1-4848-b24e-4ac3d501aaea). |\n| **`/PHONE_NUMBER_ID/messages`** | Used to [send messages](#1f4f7644-cc97-40b5-b8e4-c19da268fff1). |\n| **`/PHONE_NUMBER_ID/request_code`** | Used to [request a code to verify a phone](#6d413167-648e-40d0-823a-479ec98a2e33) number's ownership. |\n| **`/PHONE_NUMBER_ID/verify_code`** | Used to [verify a phone number's ownership](#1426eb2d-3ff2-4cc7-9021-c8782672e151). |"
77897937
},
77907938
{
77917939
"name": "Examples",

0 commit comments

Comments
 (0)