Cloud contact center | Cloud contact center | Build conversational scenario

Sandbox

Sandbox is a multipurpose HTML5 template with various layouts which will be a great solution for your business.

Contact Info

Moonshine St. 14/05
Light City, London

info@email.com
00 (123) 456 78 90

Learn More

Follow Us

Getting Groups/Segments

This page contains the API documentation for the getting all groups/segments in customers account.

Get Segments/Groups

This API endpoint allows you to retrieve segments for your BotPenguin application.

Endpoint URL:https://api.v7.botpenguin.com/inbox/segments
HTTP Method: GET

Request Headers

  • Authorization: A bearer token is required for authentication. Replace [MASKED_TOKEN] with your valid API token. This token is used to authenticate and authorize the request.

You can get detailed know-how by navigating to the below section.

Sample Request

sample
JavaScript
curl 'https://api.v7.botpenguin.com/inbox/segments' \
  -H 'Authorization: Bearer [MASKED_TOKEN]' \
  -H 'Content-Type: application/json' \
  --compressed

Replace [MASKED_TOKEN] in the request with your actual API token.

Response

The API will respond with a JSON object containing the segments available in your BotPenguin application. The response format may vary depending on the segments you have configured.

Please replace [MASKED_TOKEN] in the request with your actual API token for actual usage.