Skip to main content
PATCH
/
resume
Resume URL
curl --request PATCH \
  --url https://api.example.com/resume
{
  "message": "<string>"
}
This endpoint resumes a paused short URL by setting its url_state to true. After resuming, the short URL will redirect normally to its destination.
This endpoint requires authentication. Include a valid Bearer token in the Authorization header.

Authentication

This endpoint uses HTTPBearer security. Include the access token obtained from the /login endpoint:
Authorization: Bearer <access_token>
The URL code is automatically extracted from the authenticated token, so no additional parameters are required.

Response

message
string
Success message confirming the URL has been resumed

Status Codes

  • 200: URL successfully resumed
  • 404: URL not found
  • 403: Invalid or expired token

Behavior

When a URL is resumed:
  • The short URL will redirect normally to the destination URL
  • Hit counts will increment as usual
  • This reverses the effect of the /pause endpoint
curl -X PATCH https://api.example.com/resume \
  -H "Authorization: Bearer <access_token>"

Build docs developers (and LLMs) love