cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
SlaceNerden
Community Member

Making a course by API (C#): Unauthorised

Jump to solution

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 Kudos
1 Solution

Accepted Solutions
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

1 Reply
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