Start
Guides
Concepts
API endpoints
POST
Create link map
https://linkshift.app/api/v1/link-mapsCreates a link map that can be referenced by redirect rules for key-based resolution.
Operation ID:
createLinkMapTags: Link MapsSecurity
- ApiKeyAuth: apiKey | header:X-API-Key | API key generated in LinkShift dashboard (`Organization -> Manage API keys`).
Parameters
This endpoint has no parameters.
Request body schema
requestBodyobjectrequired
Payload for creating a link map.
caseSensitiveboolean
Whether key matching is case sensitive.
domainGroupIdstringrequired
Parent domain-group ID.
fallbackDestinationstring
Fallback destination URL used when key lookup misses.
namestringrequired
Link-map display name.
queryMatchstring
Query matching strategy for key resolution requests.
Response schema
Created link map
Content type:
application/jsonresponse 200objectrequired
Link map used to resolve short keys to destinations.
caseSensitivebooleanrequired
Controls key matching case sensitivity.
createdAtstringrequired
Creation timestamp (UTC).
deletedAtstring | nullnullable
Soft-delete timestamp in UTC when deleted.
domainGroupIdstringrequired
Parent domain-group ID.
fallbackDestinationstring | nullnullable
Optional destination used when no key matches.
idstringrequired
Link-map ID.
namestringrequired
Human-readable link-map name.
queryMatchstringrequired
Query-string matching strategy for key resolution requests.
updatedAtstringrequired
Last update timestamp (UTC).
