Can't see my brandfolder via the APIs
Hi,
I am investigating integrating Brandfolder via its APIs. Despite having admin access and access to our brandfolder, when using the API I get nothing. What am I missing?
Answers
-
Hi @andrewdos,
What exact API call(s) are you making when you get nothing back? And are you getting an error message, or simply a blank response? Are you seeing a response code such as 200 or a 400/500 error code?
I’m wondering if something isn’t quite right in your API call setup. Would you be able to provide some screenshots of your setup and the API calls and responses to help us provide some suggestions on this issue?
In the meantime, the Brandfolder API documentation can be found here, and information on getting organisations can be found here.
Thanks,
Georgie
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi @Georgie
It seems I am getting a response code of 200.
=== STEP 1: List Brandfolders you have access to ===def list_brandfolders():
print("Fetching available Brandfolders...\n")
url = "https://brandfolder.com/api/v4/brandfolders"
response = requests.get(url, headers=headers)if response.status_code == 200:
brandfolders = response.json().get("brandfolders", [])
if not brandfolders:
print("No Brandfolders found for your API key.")
returnReturns:
{'data': [], 'meta': {'current_page': 1, 'next_page': None, 'prev_page': None, 'total_pages': 1, 'total_count': 0}}
Fetching available Brandfolders...No Brandfolders found for your API key.
-
Hi @andrewdos ,
I wonder if the API key you’re using is one that’s associated with your Smartsheet account - could it be that the API key was generated from another user account? I’d recommend generating a new API key and trying with that.
I also noticed that you also have a Support case open regarding this issue and they have recently responded - please continue to work with them to resolve this if the above suggestion does not help.
Thanks,
Georgie
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions