Firstly, we'll GET the interest_category
to demonstrate the api_key
is OK:
- Method:
GET
- URL:
https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/bc914b7356/interests
- Request headers:
Authorization: apikey df8658fb18403e29ef4a8437a8eb3705-us11
Response:
{
"interests": [
{
"category_id": "bc914b7356",
"list_id": "e73f5910ca",
"id": "ca7ab24b53",
"name": "Monday",
"display_order": 1,
"_links": [
{
"rel": "self",
"href": "https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/bc914b7356/interests/ca7ab24b53",
"method": "GET",
"targetSchema": "https://us11.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"
},
{
"rel": "parent",
"href": "https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/bc914b7356/interests",
"method": "GET",
"targetSchema": "https://us11.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json"
},
{
"rel": "update",
"href": "https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/bc914b7356/interests/ca7ab24b53",
"method": "PATCH",
"targetSchema": "https://us11.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json",
"schema": "https://us11.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"
},
{
"rel": "delete",
"href": "https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/bc914b7356/interests/ca7ab24b53",
"method": "DELETE"
}
]
}
],
"list_id": "e73f5910ca",
"category_id": "bc914b7356",
"_links": [
{
"rel": "self",
"href": "https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/bc914b7356/interests",
"method": "GET",
"targetSchema": "https://us11.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json"
},
{
"rel": "parent",
"href": "https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/bc914b7356",
"method": "GET",
"targetSchema": "https://us11.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Instance.json"
},
{
"rel": "create",
"href": "https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/bc914b7356/interests",
"method": "POST",
"targetSchema": "https://us11.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json",
"schema": "https://us11.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"
}
],
"total_items": 1
}
I got this from a MailChimp support agent: "What you are seeing with that POST is related to some unexpected behavior that we are aware of on our end at this time. This is something that our developers are aware of and are working toward a fix for. This should only be an error in messaging though and it sounds like you were able to confirm that group was created."