Up - API Reference - Home
Requires JWT.
Get the API key for an API user.
With this key you can programmatically perform any action a logged in user can. Don't give out these keys lightly!
To use the API, you need both the project gid and the API key.
If you give the API key to someone else, please do so securely.
POST /api/p/<project gid>/apikeys/get
Authorization: Bearer <JWT>
{
"user": "b76f701d-3d34-4f39-8eeb-fafe294ab01e",
}
user
an API user's gid for this project.
Authorization: <JWT>
{
"success": true,
"result": {
"apikey": "b76f701d-3d34-4f39-8eeb-fafe294ab01e",
},
"data": {}
}
apikey
is the API key for the API user.
401
Unauthorized - missing or expired JWT
403
Forbidden - not the owner of this project
422
Unprocessable entity - not an API user