POSTapi.synup.com/api/v4/social/brands
Create a brand
Requires an API key. Send it as
Authorization: API <your-key> — see Getting started.Parameters
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type | string | required |
Body
| Name | Type | Required | Description |
|---|---|---|---|
input | object | required | |
input.name | string | required | |
input.businessIntent | string | required | |
input.categories | array of string | required | |
input.website | string | required | |
input.phone | string | required | |
input.description | string | required |
Request
Request
curl -X POST 'https://api.synup.com/api/v4/social/brands' \
-H 'Authorization: API YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"input": {
"name": "Acme Coffee Co.",
"businessIntent": "LOCAL_BUSINESS",
"categories": [
"FOOD_AND_BEVERAGE",
"CAFE"
],
"website": "https://acmecoffee.com",
"phone": "+1-555-000-1234",
"description": "Specialty coffee roasters since 2010"
}
}'const res = await fetch('https://api.synup.com/api/v4/social/brands', {
method: 'POST',
headers: {
Authorization: 'API YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"input": {
"name": "Acme Coffee Co.",
"businessIntent": "LOCAL_BUSINESS",
"categories": [
"FOOD_AND_BEVERAGE",
"CAFE"
],
"website": "https://acmecoffee.com",
"phone": "+1-555-000-1234",
"description": "Specialty coffee roasters since 2010"
}
}),
});
const data = await res.json();import requests
res = requests.post(
"https://api.synup.com/api/v4/social/brands",
headers={
"Authorization": "API YOUR_API_KEY",
"Content-Type": "application/json",
},
json={
"input": {
"name": "Acme Coffee Co.",
"businessIntent": "LOCAL_BUSINESS",
"categories": [
"FOOD_AND_BEVERAGE",
"CAFE"
],
"website": "https://acmecoffee.com",
"phone": "+1-555-000-1234",
"description": "Specialty coffee roasters since 2010"
}
},
)
data = res.json()req, _ := http.NewRequest("POST", "https://api.synup.com/api/v4/social/brands", bytes.NewBufferString(payload))
req.Header.Set("Authorization", "API YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)Responses
| Status | Description |
|---|---|
200 |
Example response (generated from the schema)
{}