Generate OAuth access token
POST {{baseUrl}}/oauth/token
Generate an OAuth access token by using an authorization code or a refresh token.
IMPORTANT: You need to start the OAuth flow via www.pinterest.com/oauth before calling this endpoint (or have an existing refresh token).
See Authentication for more.
Request Body
[{"name"=>"grant_type", "value"=>"refresh_token", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"access_token":"\u003cstring\u003e","token_type":"bearer","expires_in":"\u003cinteger\u003e","scope":"\u003cstring\u003e","response_type":"authorization_code"}