---
updatedAt: 2026-10-30T08:58:10.000Z
agentTools:
  projectIndex: https://docs.wati.io/llms.txt
---

# Get message by phoneNumber and localMessageId

Retained legacy exception: Look up the caller-supplied local message ID; V3 message IDs are a different identifier.

Get message by phoneNumber and localMessageId. GET /{tenantId}/api/v1/whatsApp/messages/{phoneNumber}/{localMessageId}.

### Permissions

For API access tokens and OIDC tokens, satisfy **at least one** of: `api`, `conversations:read`. API access tokens may satisfy a listed scope through the configured scope hierarchy; OIDC tokens are checked against their scope claims. Legacy JWT authentication does not use this scope check. Authentication, role, tenant, and applicable feature or plan checks still apply. For HTTP 403, check the credential type, applicable scopes, roles, and workspace access; 403 does not always mean a missing scope. Authentication/authorization failures do not guarantee a JSON response body.

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "WATI API",
    "version": "2.6",
    "description": "Documentation contract version 2.6. Use V3 for supported business operations, adopting its request, response, defaults and pagination. Retain V1/V2 only for the business exceptions listed in Introduction. API route versions are independent of this artifact version.\n\nSend Authorization: Bearer <your-token> with the workspace credential and regional API host. API route version does not select the authentication mechanism. Endpoint scopes, roles, account availability and channel access still apply; consult Authentication and each operation.\n\nChannel support is operation-specific. GET /api/ext/v3/channels lists additional connected channels and may exclude the default WhatsApp number; do not infer full channel coverage or permission to send from discovery alone.\n\nInspect HTTP status and business result separately. Some operations report business failure or partial recipient failure in HTTP 200. Authorization errors may have no JSON body. A 429 can indicate a rate or usage limit. For unknown write outcomes, reconcile state before retrying; do not assume idempotency.\n\nCreate webhook subscriptions through the documented V2 exception or the dashboard, then manage them through V3. Use supported event types for the workspace and distinguish request acceptance from final message delivery.",
    "contact": {
      "name": "WATI Support",
      "url": "https://docs.wati.io"
    }
  },
  "servers": [
    {
      "url": "https://live-mt-server.wati.io",
      "description": "WATI API host. Legacy v1 and v2 endpoints require tenantId in the path; v3 endpoints do not."
    }
  ],
  "paths": {
    "/{tenantId}/api/v1/whatsApp/messages/{phoneNumber}/{localMessageId}": {
      "get": {
        "tags": [
          "Messaging"
        ],
        "summary": "Get message by phoneNumber and localMessageId",
        "responses": {
          "200": {
            "description": "Get message by phoneNumber and localMessageId success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean",
                      "description": "Indicates whether the request was successful."
                    },
                    "result": {
                      "type": "object",
                      "description": "Detailed information about the message and its associated template.",
                      "properties": {
                        "template": {
                          "type": "object",
                          "description": "Template metadata used for this broadcast message."
                        },
                        "reactions": {
                          "description": "Reactions associated with this message, if any."
                        },
                        "eventDescription": {
                          "type": "string",
                          "description": "Description of the event that generated this message."
                        },
                        "finalText": {
                          "type": "string",
                          "description": "Final text content sent to the user after parameter substitution."
                        },
                        "thumbnailProduct": {
                          "description": "Thumbnail product information if this is a product-related template, otherwise null."
                        },
                        "mediaHeaderLink": {
                          "type": "string",
                          "description": "Media header link associated with the message, if any."
                        },
                        "statusString": {
                          "type": "string",
                          "description": "Status of the message (e.g. READ, SENT)."
                        },
                        "failedDetail": {
                          "type": "string",
                          "description": "Failure details if message delivery failed, empty when successful."
                        },
                        "localMessageId": {
                          "type": "string",
                          "description": "Local identifier used by the client to track this message."
                        },
                        "limitedTimeOfferIsCustom": {
                          "type": "boolean",
                          "description": "Indicates whether the limited time offer is a custom configuration."
                        },
                        "limitedTimeOfferExpirationTime": {
                          "type": "string",
                          "description": "Expiration time of the limited time offer, if configured."
                        },
                        "ctwaFollowUpCount": {
                          "type": "integer",
                          "description": "Number of follow-up messages sent for Click-to-WhatsApp ads."
                        },
                        "id": {
                          "type": "string",
                          "description": "Internal identifier of the message event."
                        },
                        "created": {
                          "type": "string",
                          "description": "Timestamp when this message event was created."
                        },
                        "conversationId": {
                          "type": "string",
                          "description": "Conversation ID that this message belongs to."
                        },
                        "ticketId": {
                          "description": "Ticket ID linked to this message, if any."
                        },
                        "eventType": {
                          "type": "string",
                          "description": "Type of the event (e.g. 'broadcastMessage')."
                        }
                      }
                    }
                  }
                },
                "example": {
                  "ok": true,
                  "result": {
                    "template": {
                      "id": "69294708d05a227583be91fb",
                      "tenantId": "100011",
                      "clareTemplateId": null,
                      "status": {
                        "clareTemplateId": null,
                        "waTemplateId": "1192468339515820",
                        "newStatus": 2,
                        "feedback": "",
                        "submittedAt": "2025-11-28T06:54:11.889Z",
                        "currencyMigration": false
                      },
                      "templateParamMapping": [],
                      "waTemplateId": "1192468339515820",
                      "elementName": "test_jm4",
                      "category": "MARKETING",
                      "subCategory": "STANDARD",
                      "catalogInfo": null,
                      "language": "en_US  ",
                      "customParams": [],
                      "hsm": null,
                      "hsmOriginal": null,
                      "localizableParams": null,
                      "lastModified": "11-28-2025",
                      "created": "11-28-2025",
                      "lastSynchronized": "12-04-2025",
                      "type": 1,
                      "header": null,
                      "body": "Make your messages personal using variables like name and get more replies!",
                      "bodyOriginal": "Make your messages personal using variables like name and get more replies!",
                      "footer": "Powered by wati.io",
                      "buttons": [],
                      "carouselCards": null,
                      "buttonsType": 0,
                      "lastSubmitAttemptDate": "2025-11-28T06:54:11.889Z",
                      "submittedUserId": "65a109075665615b5cf65262",
                      "wabaCheckPendingStatusTimes": 0,
                      "lastWABACheckStatusDate": null,
                      "expiresIn": 0,
                      "includeExpiryTime": false,
                      "addSecurityRecommendation": false,
                      "isUrlBtnClickTrackingEnabled": false,
                      "limitedTimeOffer": null,
                      "quality": 0,
                      "creationMethod": 0
                    },
                    "reactions": null,
                    "eventDescription": "Broadcast message with using \"test_jm4\" template was received 03|12|2025",
                    "finalText": "Make your messages personal using variables like name and get more replies!",
                    "thumbnailProduct": null,
                    "mediaHeaderLink": "",
                    "statusString": "READ",
                    "failedDetail": "",
                    "localMessageId": "ba65a768-5148-6172-812c-b01877a8c818",
                    "limitedTimeOfferIsCustom": false,
                    "limitedTimeOfferExpirationTime": "0001-01-01T00:00:00Z",
                    "ctwaFollowUpCount": 0,
                    "id": "692f911eff4cde246481f377",
                    "created": "2025-12-03T01:23:40.872Z",
                    "conversationId": "68ef0192b1d6e7a4fb686d70",
                    "ticketId": null,
                    "eventType": "broadcastMessage"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Authorization failed. Check the Permissions section for the credential-specific scope rules, and check roles and workspace access. The response may have no body; do not require a JSON error envelope."
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "phoneNumber",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "channel phone number with country code. Example, 85264318721"
          },
          {
            "in": "path",
            "name": "localMessageId",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "Message Unique Identifier"
          },
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "description": "Your WATI workspace (tenant) ID. This required path segment identifies the WATI account for legacy v1 and v2 API requests.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "getWhatsAppMessageByLocalMessageIdV1",
        "description": "Retained legacy exception: Look up the caller-supplied local message ID; V3 message IDs are a different identifier.\n\nGet message by phoneNumber and localMessageId. GET /{tenantId}/api/v1/whatsApp/messages/{phoneNumber}/{localMessageId}.\n\n### Permissions\n\nFor API access tokens and OIDC tokens, satisfy **at least one** of: `api`, `conversations:read`. API access tokens may satisfy a listed scope through the configured scope hierarchy; OIDC tokens are checked against their scope claims. Legacy JWT authentication does not use this scope check. Authentication, role, tenant, and applicable feature or plan checks still apply. For HTTP 403, check the credential type, applicable scopes, roles, and workspace access; 403 does not always mean a missing scope. Authentication/authorization failures do not guarantee a JSON response body.",
        "x-wati-permissions": {
          "scopeRequirementGroups": [
            {
              "anyOf": [
                "api",
                "conversations:read"
              ]
            }
          ],
          "groupOperator": "allOf",
          "appliesTo": [
            "ApiAccessToken",
            "OIDC"
          ],
          "legacyJwtScopeCheck": "skipped",
          "apiAccessTokenHierarchy": "configured-by-identity-provider",
          "oidcFallbackWhenNoEndpointScope": null,
          "sourceCommit": "03c6d4bc1590408c569e65602f969c6a596672e3"
        },
        "x-wati-documentation": {
          "discovery": "legacy-exception",
          "reason": "Look up the caller-supplied local message ID; V3 message IDs are a different identifier."
        },
        "x-internal": false
      },
      "parameters": [
        {
          "name": "tenantId",
          "in": "path",
          "required": true,
          "description": "Your WATI workspace (tenant) ID. This required path segment identifies the WATI account for legacy v1 and v2 API requests.",
          "schema": {
            "type": "string"
          }
        }
      ]
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "API token from your WATI Dashboard > API Settings. Pass as `Authorization: Bearer <token>`."
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ]
}
```