HomeConsoleMy ProjectAPI/CLI
Retrieving Organization ID

Update content

Retrieving your Organization ID

Reviewed on 22 December 2021Published on 08 June 2021

Our system attributes an organization ID to each user.

To retrieve your Organization ID via the API, execute the following request:


Replace the $ACCESS_KEY and $SECRET_KEY values with your generated access key and secret key, respectively.

$ curl https://api.scaleway.com/account/v1/tokens/$ACCESS_KEY -H "X-Auth-Token: $SECRET_KEY"

You will find your Organization ID in the output.

"token": {
"access_key": "FNQQWFG4H14LBB2ULPIT",
"user_id": "4fg6j8li-wr19-13x5-lip8-qacg67bnjdgv",
"expires": null,
"creation_date": "2020-09-16T14:12:37.273736+00:00",
"creation_ip": "XXX.XXX.XXX.XX",
"category": "user_created",
"deletion_date": null,
"inherits_user_perms": false,
"roles": {
"role": null, "organization": null
"description": "my_project",
"project_id": "a1543bb6-d9f8-8955-079f4-7f777bea2f7f",
"organization_id": "a1543bb6-d9f8-8955-079f4-7f777bea2f7f",
"use_role_key": true

In the example above, the Organization ID is a1543bb6-d9f8-8955-079f4-7f777bea2f7f.