Authorization

❗️

Internal Use Only!!

This API is meant only for internal use by Cofor.io and this is only a reference for developers.

The User REST API is used for users on Cofor.io to access various functions.

👍

API URL

All user REST API routes go to: https://api.cofor.io/u/

To authorize a user, include the following headers in all of your request:

{
    "X-User-Id": "{USER_ID}",
    "X-User-Token": "{USER_AUTH_TOKEN}"
}

Error Messages

400 Bad Request

Missing input arguments, bad request headers, or bad syntax.

401 Unauthorized

Product ID or Key is missing or invalid.

402 Payment Required

Product plan has expired because provided credit card declined a charge.

429 Too Many Requests

API rate-limit has been exceeded.