latestOpenAPI 3.1.02026-08-08211046.6 KB

7cbc2a21dd49

Login

Authenticate yourself using your <a href="https://app.curatedforyou.io" target="_blank">CFY App</a> credentials.

The response contains a bearer token, which you will need to provide to the Authorization header to make other requests in the Curation API.

post/api/v2/users/login

Response

Successful Response

access_tokenstring required

Token used to authenticate future API requests

token_typestring

Token type. Currently we only support OAuth 2.0 Bearer tokens

Example response

{
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJPbmxpbmUgSldUIEJ1aWxkZXIiLCJpYXQiOjE2NzMwNDkxNzgsImV4cCI6MTcwNDU4NTE3OCwiYXVkIjoid3d3LmV4YW1wbGUuY29tIiwic3ViIjoianJvY2tldEBleGFtcGxlLmNvbSIsIkdpdmVuTmFtZSI6IkpvaG5ueSIsIlN1cm5hbWUiOiJSb2NrZXQiLCJFbWFpbCI6Impyb2NrZXRAZXhhbXBsZS5jb20iLCJSb2xlIjpbIk1hbmFnZXIiLCJQcm9qZWN0IEFkbWluaXN0cmF0b3IiXX0.Y-KnsQHFu4MV67cBTzf92jbt65ex-gQIXPBSwWz5gBM"
}