How to retrieve my organization ID through the API

This page shows you how to retrieve your organization ID through the API.


API tokens are unique identifiers associated with your Scaleway account and consist of an Access Key (--o or -organisation in the Scaleway CLI) and a Secret Key (--t or -token in the Scaleway CLI). The Secret key is required to authenticate against our API and will only be displayed when you create the token. Make sure to take a note of it and to keep it secret.

Our system attributes an organization ID to each user. The API requires your organization ID for many actions, for instance:

  • Server creation
  • Volume creation
  • Image creation
  • Snapshot creation
  • Etc.

Retrieve your organization ID

To retrieve your organization ID, execute the following request.

N.B.: Replace the $ACCESS_KEY and $SECRET_KEY values respectively with your generated access key and secret key.

% curl$ACCESS_KEY -H "X-Auth-Token: $SECRET_KEY"

  "token": {
->  "organization_id": "000a115d-2852-4b0a-9ce8-47f1134ba95a",

In the above example, the organization ID is 000a115d-2852-4b0a-9ce8-47f1134ba95a.

Discover a New Cloud Experience

Deploy SSD Cloud Servers in seconds.