WarpLink
API Reference

API Keys

Create and manage API keys for authentication.

Create an API Key

POST/keys

Create an API key

Request Body

FieldTypeDescription
name*string
scopes*"links:read" | "links:write" | "apps:read" | "apps:write" | "analytics:read" | "attribution:write"[]
expires_atstringMust be in the future.

Responses

201API key created. The `raw_key` field is only returned once.
400Validation error
FieldTypeDescription
error*object

List API Keys

GET/keys

List API keys

Responses

200List of API keys
FieldTypeDescription
dataobject[]

Get an API Key

GET/keys/{id}

Get an API key

Parameters

NameTypeInDescription
id*stringpath

Responses

200API key details
FieldTypeDescription
idstring
key_prefixstringe.g. wl_live_
namestring
scopesstring[]
last_used_atstring | null
expires_atstring | null
created_atstring
updated_atstring
404Not found
FieldTypeDescription
error*object

Delete an API Key

DELETE/keys/{id}

Delete an API key

Parameters

NameTypeInDescription
id*stringpath

Responses

204Deleted
404Not found
FieldTypeDescription
error*object

On this page