Making a course by API (C#): Unauthorised

Jump to solution
SlaceNerden
Community Member

I sent the request to https://{domain}/api/v1/accounts/1/courses?access_token={token} because I did not know what Account ID to put in. I have a free account and can make courses via the browser. How can I get the account ID that I can use?

0 Likes
1 Solution
James
Community Champion

@SlaceNerden 

In many cases, you can use self instead of an account ID and then you don't need the ID. self refers the root account.

You can find the ID for an account by using GET /api/v1/accounts/self

View solution in original post