Get API Key of User

This endpoint returns an API key owned by a user.

Request

GET https://v2.api.uberflip.com/users/{userId}/api-keys/{keyId}
Path Parameters Description
userId The unique identifier of the user
keyId The unique identifier of the API key

Response

Body Parameters Type Description
id Integer The unique API key identifier
name String The API key name
key String The API key
secret String The API key secret
created_at DateTime The API key creation time
modified_at DateTime The API key last updated time

Examples

curl -H "Authorization: Bearer [Token]" \
-i https://v2.api.uberflip.com/users/{userId}/api-keys/{keyId}

Sample response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "id": 1,
    "name": "",
    "key": "[key]",
    "secret": "[secret]",
    "created_at": "2018-07-09T20:22:24-0400",
    "modified_at": "-0001-11-30T00:00:00-0500"
}