curl "https://api.ideardev.com/api/v1/users/api_token" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
Authentication
Every request carries the account token in the Authorization header. The token opens the account: keep it secret and never publish it.
apihttps://api.ideardev.com/api/v1You can view and rotate the token from your profile or with these endpoints. Rotating it invalidates the previous one.
Authorization: Bearer YOUR_TOKEN
Generates a new token. With never_expire the token does not expire.
api.ideardev.com
never_expirebodycurl -X POST "https://api.ideardev.com/api/v1/users/api_token/regenerate" \
-H "Authorization: Bearer $IDEARDEV_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"never_expire": true
}'curl "https://api.ideardev.com/api/v1/users/me" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
curl "https://api.ideardev.com/api/v1/users/check_api_limit" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
POST/users/sign_in
Signs in with email and password and returns a session token.
api.ideardev.comno token
emailbodypasswordbodycurl -X POST "https://api.ideardev.com/api/v1/users/sign_in" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"password": "••••••••"
}'