Skip to content
Myra DataHub SOC Manual (Versatel) Updated · 18 Aug 2026

Request to the API using a bearer token

Proceed as follows to send a request to the API using a bearer token:

  • Open the program you want to use to send the request.
  • Add the method for the request.
  • Add the API address together with the URI.

    Example

    https://versatel.myracloud.com/domains/1234

  • Add the token as a bearer token to the header as the authentication method.

    Example

    -H „Authorization: Bearer MY_API_TOKEN“

  • For PUT and POST requests, include a body in JSON format with the required information for the request.

  • The request should look like this:

    curl -X GET "https://versatel.myracloud.com/domains/1234"
    -H "Authorization: Bearer MY_API_TOKEN"