Skip to main content
GET
/
oauth
/
token
Get Access Token
curl --request GET \
  --url https://api.domo.com/oauth/token \
  --header 'Authorization: Basic <encoded-value>'
{
  "access_token": "GhX52tNtsnyQQybNBtjrc9KbH4DhKTxPbdHcvfHnX3NYGjBWSzdP9kNxWbwDdNMSYqt3VKSBxVXAMYjBAhtvMpscB9edmSjd8BE3gfpGw8uAZhwAHccekG2yBZMse7CPHQkv8JSKcykz4gbcuWak8RpPkVCc8cCZzAzmE7bXQrAGwmPG6wh7YMmBEB6ZPtz8ZYgBNH7S5MYwsJ295A99Bqz7Jn83U333cfT5JT5s5RSF9sUebAKw5cedBU4kf6qq9pFxJ3pcPKqbtZdzRVz4WtRDXsd87FjSVCFk36TRS6Q9GDdM2WZXJjKpEUtCDpX2GSBwsBJgWdWGe3VnTp9U46Fw5dsbBQwDZ4VSQuk9UKJdqfkR5WrfYueVReUKSjCHS6CXjs5RRBSSAmejE7wtDWfdJ2FGnZ9sBDK4eUgWCz8NXSXtWhQtQdenSM47rbSsWF9r8QwChDdQ93NBWYFfsxKcgBa9J6UyaG3T2GWMvgTHc8vTPMhhsS6ceMfEUJUKpQkuHsgtcC7uWWrYnnJFenR34Dr2GNAxkU3CPjys4M3xQNJRkbXyRwtEsEs275MnKQbyF4bayZKU7uJFQhVSjujmf2KRQrsnKamhNSfhJhyttaG48ZuYnTCnCVUvdJF7ATUh",
  "customer": "acmecompany",
  "expires_in": 3599,
  "jti": "81dece4c-df73-4569-853c-2d1a328897fd",
  "role": "Admin",
  "scope": "data user",
  "token_type": "bearer",
  "userId": 964382593
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

grant_type
string
required

The type of access token you are requesting.

scope
string

Allows you specify a subset of the Client's granted scopes to limit which parts of the API access tokens may interact with. The value is a space separated list of strings containing any of the following scopes: account, audit, buzz, dashboard, data, and user.

Example:

"account, dashboard, data"

Response

200 - application/json

OK

access_token
string
customer
string
expires_in
integer
jti
string
role
string
scope
string
token_type
string
userId
integer