POST /token
Gets or refreshes an access token, as part of the OAuth process.
Servers
- https://api.smartsheet.com/2.0
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | No |
Required for POST and PUT requests. Defines the structure for the response. Possible values:
|
Query parameters
Name | Type | Required | Description |
---|---|---|---|
hash |
String | No |
(Optional) Must use either this value or client_secret. SHA-256 hash of your app secret concatenated with a pipe and the authorization code. For example, hash={SHA_256(app_secret|code)}. |
redirect_url |
String | No |
Deprecated. If supplied, must match the redirect URI you registered for your app. |
client_id |
String | Yes |
The client Id you obtained when you registered your app. |
client_secret |
String | No |
(Optional) Must use either this value or hash. Plain text method for sending this value. For example, client_secret={app_secret}. Encryption occurs at the HTTPS level. |
grant_type |
String | Yes |
Must be set to "authorization_code". Possible values:
|
code |
String | No |
Authorization code acquired after user selects "Allow" in the Web login UI. |
refresh_token |
String | No |
refresh_token value that came with the access token. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.