MylinkAPI (0.0.1)

License: Copyright

Description

The Mylink API allows you to generate customizable redirect links, organized into your own link groups. Each redirect will be tracked, and the data will be available for retrieval.

Authentication

To use this API, you must have a bearer token with a “mylink” scope to be valid. The token must be generated using the AuthAPI.

List of internal error codes

Here is a list of internal error codes, these errors only appear in the context of an HTTP 500 status.

Code HTTP Status
MYL-1 500
MYL-4 500
MYL-10 500
MYL-11 500
MYL-13 500

List of other error codes

Code Description HTTP Status
MYL-2 Invalid route 404
MYL-3 A parameter is missing or invalid in the request body (e.g., parameter sent as a string instead of an integer) 422
MYL-5 Missing token 401
MYL-6 Invalid token signature 400
MYL-7 Expired token 400
MYL-8 Invalid token 400
MYL-9 Unauthorized access to the service (invalid token) 403
MYL-12 No result found 404
MYL-14 No redirection link found 400

Get a link by tag

Retrieve a specific link by his tag

Authorizations:
BearerToken
path Parameters
tag
required
integer

Tag of the link to retrieve

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "link_group_id": 0,
  • "tag": "string",
  • "domain": "string",
  • "external_ref": "string",
  • "redirect_url": "string"
}