TalkJS App metadata API

Operations related to app metadata

GitHub OpenAPI

Operations 2

GET /v1/{appId} Get app metadata #
PUT /v1/{appId} Update app metadata #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/talkjs:talkjs-app-metadata-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

talkjs-app-metadata-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TalkJS App metadata API
  summary: Manage messages, conversations, users, notifications and app metadata
  description: 'The TalkJS REST API allows you to manage messages, conversations, sessions, users and notifications from your backend. The API is REST-based, using HTTP and JSON. The API only accepts authenticated calls over HTTPS, and uses standard HTTP status codes for reporting results. ## Authentication


    Authentication helps keep your chat and user data secure. ### Single-use token authentication


    The TalkJS REST API works with token-based authentication. Because the REST API has read/write access to all data in your TalkJS account, we recommend using single-use tokens. With single-use tokens, your server generates a new token for each REST API request. Single-use tokens allow you to set an extremely short expiry time for a token. That means that even if you accidentally leak a token, the token will expire before anyone can exploit it. The following are example code snippets in different languages to generate a REST API token that expires after 30 seconds.'
  termsOfService: https://talkjs.com/terms/
  contact:
    name: TalkJS team
    url: https://talkjs.com/?chat
    email: hey@talkjs.com
  license:
    name: MIT License
    url: https://mit-license.org
  version: '2024-01-01'
servers:
- url: https://api.talkjs.com
  description: Production server
security:
- JWTAuth: []
- ApiKeyAuth: []
tags:
- name: App metadata
  description: Operations related to app metadata
paths:
  /v1/{appId}:
    summary: Path for operations on app metadata
    description: 'Use this endpoint to get or update app metadata. An _app_ is the test or live environment your TalkJS project. _Metadata_ include the app''s ID, its default locale, and any custom properties.

      '
    get:
      tags:
      - App metadata
      summary: Get app metadata
      description: Gets metadata for your app. _Metadata_ include the app's ID, its default locale, and any custom properties.
      operationId: getAppMetadata
      parameters:
      - $ref: '#/components/parameters/AppID'
      responses:
        '200':
          $ref: '#/components/responses/GetAppMetadataSuccessResponse'
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
        '429':
          $ref: '#/components/responses/TooManyRequestsResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
    put:
      tags:
      - App metadata
      summary: Update app metadata
      description: 'Use this endpoint to update metadata for your app. _Metadata_ include the app''s ID, its default locale, and any custom properties.


        You can''t update the app ID itself. If given, the `id` must correspond to the `appId` path parameter.'
      operationId: updateAppMetadata
      parameters:
      - $ref: '#/components/parameters/AppID'
      requestBody:
        $ref: '#/components/requestBodies/UpdateAppMetadataRequestBody'
      responses:
        '200':
          $ref: '#/components/responses/EmptyResponse'
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
        '415':
          $ref: '#/components/responses/UnsupportedMediaTypeResponse'
        '429':
          $ref: '#/components/responses/TooManyRequestsResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
components:
  responses:
    BadRequestResponse:
      description: Bad request
    EmptyResponse:
      description: Empty response
      content:
        application/json:
          schema:
            description: Empty response
            type: object
    UnauthorizedResponse:
      description: Authorization information is missing or invalid.
    ResourceNotFoundResponse:
      description: Resource not found
    GetAppMetadataSuccessResponse:
      description: App metadata retrieved successfully.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AppMetadata'
    TooManyRequestsResponse:
      description: Too many requests
    InternalServerErrorResponse:
      description: Internal server error
    UnsupportedMediaTypeResponse:
      description: Unsupported media type
  parameters:
    AppID:
      name: appId
      in: path
      description: 'A unique identifier of your TalkJS app. You can find your app ID on the **Settings** page of your [dashboard](https://talkjs.com/dashboard).

        '
      required: true
      schema:
        type: string
        example: abcd1234
  schemas:
    AppMetadata:
      description: 'Metadata for a specific app. _Metadata_ of an app include the app''s ID, its default locale, and any custom properties.

        '
      type: object
      properties:
        id:
          description: 'A unique identifier of your TalkJS app. You can find your app ID on the **Settings** page of your [dashboard](https://talkjs.com/dashboard).

            '
          type: string
          example: abcd1234
        custom:
          description: 'Global custom fields for the entire app. Custom fields can be used in themes and notification settings. For more on custom fields, see: [Custom fields](https://talkjs.com/docs/Features/Themes/Passing_Data_to_Themes/#using-app-custom-fields).

            '
          type:
          - object
          - 'null'
          additionalProperties:
            type:
            - string
            - 'null'
          example:
            website: https://www.example.com
        defaultLocale:
          description: 'An IETF language tag for the app''s default locale, for localization purposes. The default locale must be one of the supported languages. You can override the default locale for each user.

            '
          type: string
          example: ar
          enum:
          - ar
          - bg-BG
          - bs-BA
          - cs-CZ
          - da-DK
          - de-DE
          - el-GR
          - en-US
          - es-ES
          - et-EE
          - fa
          - fi-FI
          - fr-FR
          - he-IL
          - hi-IN
          - hr-HR
          - hu-HU
          - id-ID
          - it-IT
          - ja-JP
          - ka-GE
          - ko-KR
          - nb-NO
          - nl-NL
          - pl-PL
          - pt-BR
          - ro-RO
          - ru-RU
          - sq-AL
          - sr-SP
          - sv-SE
          - tr-TR
          - uk-UA
          - vi-VN
          - zh-CN
          - zh-TW
  requestBodies:
    UpdateAppMetadataRequestBody:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AppMetadata'
  securitySchemes:
    JWTAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: APIKey
externalDocs:
  description: TalkJS documentation
  url: https://talkjs.com/docs