Foxly

System Maintenance Underway: Experience Our Mega Upgrade Soon!

Lifetime Offer Now Live! Don't Miss Out!

Foxly Branded Links, URL Shortener, Custom Domain Links

Space Management with Foxly Support

Space is the designated name for your group or folder, allowing you to organize URLs efficiently. If you’re curious to learn more about creating a space, refer to this article.

Create a Space #

POST /api/user/v1/space

curl --location --request POST 'https://apiv2.foxlyme.com/api/user/v1/space' \
--header 'api-key: API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "space_name": "YOUR_SPACE_NAME"
}'

Request Schema:

  • space_name (string)

Response Body:

{
    "error": false,
    "message": "string",
    "data": {
        "space_name": "string",
        "space_id": "string",
        "user_id": "string",
        "created_at": "date"
    }
}

Update a Space #

Update specific fields in a space.

PUT /api/user/v1/space/update

curl --location --request PUT 'https://apiv2.foxlyme.com/api/user/v1/space/update?space_id=string' \
--header 'api-key: API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "space_name": "YOUR_SPACE_NAME"
}'

Request Schema:

  • space_name (string)
  • space_id (query, string)

Response Body:

{
    "error": false,
    "message": "space updated successfully",
    "data": {
        "space_name": "YOUR_SPACE_NAME",
        "space_id": "string",
        "user_id": "string",
        "updated_at": "date"
    }
}

Get Space Details #

Retrieve specific space information.

GET /api/user/v1/space/detail

curl --location --request GET 'https://apiv2.foxlyme.com/api/user/v1/space/detail?space_id=string' \
--header 'api-key: API_KEY'

Request Schema:

  • space_id (query, string)

Response Body:

{
    "error": false,
    "message": "space detail fetched successfully",
    "data": {
        "space_name": "YOUR_SPACE_NAME",
        "space_id": "string",
        "user_id": "string",
        "created_at": "date"
    }
}

List Space URLs #

Retrieve all URLs for a specific space.

GET /api/user/v1/space/urls

curl --location --request GET 'https://apiv2.foxlyme.com/api/user/v1/space/urls?space_id=string&page=1&limit=5' \
--header 'api-key: API_KEY'

Request Schema:

  • space_id (query, string)

Response Body:

{
    "message": "space's all urls successfully",
    "count": "number",
    "data": [
        {
            "long_url": "string",
            "space_id": "string",
            "short_code": "string",
            "url_shortner_id": "string",
            "space_name": "string",
            "status": "number",
            "created_at": "date"
        }
    ]
}

Response Values:

  • status (number)
  • user_id (string)
  • long_url (string)
  • short_code (string)
  • short_url (string)
  • space_id (string)
  • url_shortner_id (string)
  • space_name (string)

Delete a Space #

Remove a specific space.

DELETE /api/user/v1/space/delete

curl --location --request DELETE 'https://apiv2.foxlyme.com/api/user/v1/space/delete?space_id=string' \
--header 'api-key: API_KEY'

Request Schema:

  • space_id (query, string)