LateLate API
Core

Account Settings


Get Facebook persistent menu

Get the persistent menu configuration for a Facebook Messenger account.

GET
/v1/accounts/{accountId}/messenger-menu
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring

Response Body

application/json

application/json

curl -X GET "https://getlate.dev/api/v1/accounts/string/messenger-menu"
{
  "data": [
    {}
  ]
}
Empty
{
  "error": "Unauthorized"
}

Delete Facebook persistent menu

DELETE
/v1/accounts/{accountId}/messenger-menu
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring

Response Body

application/json

curl -X DELETE "https://getlate.dev/api/v1/accounts/string/messenger-menu"
Empty
{
  "error": "Unauthorized"
}

Set Facebook persistent menu

Set the persistent menu for a Facebook Messenger account. Max 3 top-level items, max 5 nested items.

PUT
/v1/accounts/{accountId}/messenger-menu
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring
persistent_menu

Persistent menu configuration array (Meta format)

Response Body

application/json

curl -X PUT "https://getlate.dev/api/v1/accounts/string/messenger-menu" \  -H "Content-Type: application/json" \  -d '{    "persistent_menu": [      {}    ]  }'
Empty
Empty
{
  "error": "Unauthorized"
}

Get Instagram ice breakers

Get the ice breaker configuration for an Instagram account.

GET
/v1/accounts/{accountId}/instagram-ice-breakers
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring

Response Body

application/json

application/json

curl -X GET "https://getlate.dev/api/v1/accounts/string/instagram-ice-breakers"
{
  "data": [
    {}
  ]
}
Empty
{
  "error": "Unauthorized"
}

Delete Instagram ice breakers

DELETE
/v1/accounts/{accountId}/instagram-ice-breakers
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring

Response Body

application/json

curl -X DELETE "https://getlate.dev/api/v1/accounts/string/instagram-ice-breakers"
Empty
{
  "error": "Unauthorized"
}

Set Instagram ice breakers

Set ice breakers for an Instagram account. Max 4 ice breakers, question max 80 chars.

PUT
/v1/accounts/{accountId}/instagram-ice-breakers
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring
ice_breakers
Itemsitems <= 4

Response Body

application/json

curl -X PUT "https://getlate.dev/api/v1/accounts/string/instagram-ice-breakers" \  -H "Content-Type: application/json" \  -d '{    "ice_breakers": [      {        "question": "string",        "payload": "string"      }    ]  }'
Empty
Empty
{
  "error": "Unauthorized"
}

Get Telegram bot commands

Get the bot commands configuration for a Telegram account.

GET
/v1/accounts/{accountId}/telegram-commands
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring

Response Body

application/json

application/json

curl -X GET "https://getlate.dev/api/v1/accounts/string/telegram-commands"
{
  "data": [
    {
      "command": "string",
      "description": "string"
    }
  ]
}
Empty
{
  "error": "Unauthorized"
}

Delete Telegram bot commands

DELETE
/v1/accounts/{accountId}/telegram-commands
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring

Response Body

application/json

curl -X DELETE "https://getlate.dev/api/v1/accounts/string/telegram-commands"
Empty
{
  "error": "Unauthorized"
}

Set Telegram bot commands

Set bot commands for a Telegram account.

PUT
/v1/accounts/{accountId}/telegram-commands
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring
commands

Response Body

application/json

curl -X PUT "https://getlate.dev/api/v1/accounts/string/telegram-commands" \  -H "Content-Type: application/json" \  -d '{    "commands": [      {        "command": "string",        "description": "string"      }    ]  }'
Empty
Empty
{
  "error": "Unauthorized"
}