Account
Create an API key
Create a new API key in the workspace. The raw key is returned once.
POST
https://api.rankparse.com/v1/keysFreeAPI keyCreates a new API key in the workspace of the calling key, attributed to the person the calling key acts as. The raw key is returned once and cannot be retrieved again. Store it immediately.
Body parameters
namestringdefault DefaultLabel for the key. A missing or empty value, or a body that is not JSON, uses Default.
Response
Responds 201 Created.
idstringKey identifier (the SHA-256 hash of the key), as returned by List API keys.
keystringThe raw key: rp_ followed by 32 random characters. Shown only in this response.
namestringThe label.
created_atintegerCreation time, Unix milliseconds.
Behavior
- RankParse stores only the hash and the last four characters.
- A notification email goes to the creator's account email.
Errors
| HTTP | Code | When |
|---|---|---|
| 401 | invalid_api_key | Missing, invalid or revoked API key. |
| 403 | capability_missing | Client roles may not manage keys. |