chats
group

Refresh Invite

Generate a new invite link for a chat

post/chats/{chat_id}/invite

Request

  • Base URL
    https://api.periskope.app/v1
  • URL
    https://api.periskope.app/v1/chats/{chat_id}/invite
  • Auth
    HTTP bearer

Path parameters

chat_idstring required

ID of the chat

Headers

x-phonestring
Example:{{orgPhone}}

Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header

Response

Successful operation

invite_linkstring

WhatsApp invite link

Example response

{
  "invite_link": "https://chat.whatsapp.com/invite/IzKhJSOewu2MwBxYVGofA"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.