Brand2Social API Documentation

Comprehensive guide to Brand2Social API endpoints

Get All Brands from Customer API

This API endpoint retrieves all brands associated with a specific customer. Requires authentication and the customer ID. On success, returns a list of brands for the customer.

  • Method: GET
  • Endpoint: /api/api-services/v1/brand-service/get-all-brands-from-customer
  • Returns: List of brands for the customer

Get All Brands from Customer

GET https://app.brand2social.com/api/api-services/v1/brand-service/get-all-brands-from-customer

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token
customer_idstringYesID of the customer
curl --location 'https://app.brand2social.com/api/api-services/v1/brand-service/get-all-brands-from-customer' \
    --header 'Authorization: Bearer B2S_dummyToken' \
    --data-raw '{
      "customer_id": "cust_123"
    }'

Response

{
  "status": "SUCCESS",
  "http_code": 200,
  "message": "Fetched brands for customer",
  "data": [
    {
      "brand_id": "brand_123",
      "brand_name": "DemoBrand",
      "timezone": "Asia/Kolkata"
    }
  ]
}