Skip to main content

Get the current API key

GET 

/v2/me/apikey

Get information about the API key used for this request

Request

Header Parameters

    User-Agent stringrequired

    Custom User-Agent for your application, see user-agent.dev for implementation examples. Alternatively you can also use the 'MineSkin-User-Agent' header.

    Example: ExampleApp/v1.0
    Authorization string
    Example: Bearer da84de82e960d6c0510088279878c79365ad5118d350d619f20324a5494f156b

Responses

API Key Info

Schema

    key

    object

    required

    API Key information

    id string

    API Key ID

    Example: 21702ac21ab744d32b004fe0
    name string

    API Key name

    Example: Test Key
    user string

    User ID

    Example: ef4c52b01fea4715982d8e67fd93ef2d
    createdAt string

    Creation date

    Example: 2022-11-01T18:06:58.634Z
    allowedOrigins string[]

    Allowed origins for this API key

    allowedIps string[]

    Allowed IPs for this API key

    allowedAgents string[]

    Allowed User-Agents for this API key

    useCredits boolean

    Whether this API key uses paid credits

    Example: true
Loading...