Skip to main content
POST
/
oauth
/
token
cURL
curl --request POST \
  --url https://api.feedspace.io/v3/oauth/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'grant_type=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>' \
  --data 'username=<string>' \
  --data 'password=<string>' \
  --data 'refresh_token=<string>'
{
  "token_type": "Bearer",
  "expires_in": 31536000,
  "access_token": "<access_token>",
  "refresh_token": "<refresh_token>"
}

Body

application/x-www-form-urlencoded

Login or refresh parameters.

grant_type
string
required

Required, either 'password' or 'refresh_token'

client_id
string
required

Required, will be provided by feedspace team.

client_secret
string
required

Required, will be provided by feedspace team.

username
string

Required, your feedspace.io account's email

password
string

Required, feedspace.io account's password

refresh_token
string

Required if grant_type is 'refresh_token'

Response

200 - application/json

Successful authentication response.

token_type
string
expires_in
integer
access_token
string
refresh_token
string