---
updatedAt: 2026-04-21T09:18:29.000Z
agentTools:
  projectIndex: https://docs.esputnik.com/llms.txt
---

# Add/update translated App Inbox message

The method is used for updating or adding language versions for the basic App Inbox message.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "esputnik.com",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://esputnik.com"
    }
  ],
  "security": [
    {
      "basicAuth": []
    }
  ],
  "tags": [
    {
      "name": "Messages"
    }
  ],
  "paths": {
    "/api/v1/messages/appinbox/{id}/{language}": {
      "put": {
        "tags": [
          "Messages"
        ],
        "summary": "Add/update translated App Inbox message",
        "description": "The method is used for updating or adding language versions for the basic App Inbox message.",
        "operationId": "updateTranslatedAppInboxMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "App inbox message ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "example": 1234567
          },
          {
            "name": "language",
            "in": "path",
            "description": "App inbox message language code",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "uk"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BaseAppInboxMessage"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json; charset=UTF-8": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AppInboxMessage": {
        "required": [
          "name",
          "text",
          "title"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Message ID.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Message name."
          },
          "languageCode": {
            "type": "string",
            "description": "Language code."
          },
          "tags": {
            "type": "array",
            "description": "List of tags.",
            "items": {
              "type": "string",
              "description": "List of tags."
            }
          },
          "subscriptionsKeys": {
            "type": "array",
            "description": "Subscription categories keys, assigned to a message.",
            "items": {
              "type": "string",
              "description": "Subscription categories keys, assigned to a message."
            }
          },
          "languages": {
            "type": "array",
            "description": "An array with the language codes for multilingual messages. Available for the GET method only.",
            "items": {
              "type": "string",
              "description": "An array with the language codes for multilingual messages. Available for the GET method only."
            }
          },
          "title": {
            "type": "string",
            "description": "Message title.",
            "example": "Account created"
          },
          "text": {
            "type": "string",
            "description": "Message text.",
            "example": "Thank you for signing up!"
          },
          "link": {
            "type": "string",
            "description": "The link that will open after the click on the message body.",
            "example": "https://www.example.com"
          },
          "imageSource": {
            "type": "string",
            "description": "The logo image in JPEG, PNG or GIF format."
          },
          "customData": {
            "type": "string",
            "description": "Additional parameters in JSON format to be used in the message."
          },
          "ttlSec": {
            "type": "integer",
            "description": "Time-to-live for the message, in seconds.",
            "format": "int32",
            "example": 3600
          }
        },
        "description": "The array of the language versions for the current message. Available for the GET method only."
      },
      "BaseAppInboxMessage": {
        "required": [
          "name",
          "text",
          "title"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Message ID.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Message name."
          },
          "languageCode": {
            "type": "string",
            "description": "Language code."
          },
          "tags": {
            "type": "array",
            "description": "List of tags.",
            "items": {
              "type": "string",
              "description": "List of tags."
            }
          },
          "subscriptionsKeys": {
            "type": "array",
            "description": "Subscription categories keys, assigned to a message.",
            "items": {
              "type": "string",
              "description": "Subscription categories keys, assigned to a message."
            }
          },
          "languages": {
            "type": "array",
            "description": "An array with the language codes for multilingual messages. Available for the GET method only.",
            "items": {
              "type": "string",
              "description": "An array with the language codes for multilingual messages. Available for the GET method only."
            }
          },
          "title": {
            "type": "string",
            "description": "Message title.",
            "example": "Account created"
          },
          "text": {
            "type": "string",
            "description": "Message text.",
            "example": "Thank you for signing up!"
          },
          "link": {
            "type": "string",
            "description": "The link that will open after the click on the message body.",
            "example": "https://www.example.com"
          },
          "imageSource": {
            "type": "string",
            "description": "The logo image in JPEG, PNG or GIF format."
          },
          "customData": {
            "type": "string",
            "description": "Additional parameters in JSON format to be used in the message."
          },
          "ttlSec": {
            "type": "integer",
            "description": "Time-to-live for the message, in seconds.",
            "format": "int32",
            "example": 3600
          },
          "translations": {
            "type": "array",
            "description": "The array of the language versions for the current message. Available for the GET method only.",
            "items": {
              "$ref": "#/components/schemas/AppInboxMessage"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  }
}
```