Retrieve a short code

    Retrieves the details of the specified short code from the number pool resource.

    API Endpoint

    GET https://api.plivo.com/v1/Account/{auth_id}/NumberPool/{number_pool_uuid}/Shortcode/{shortcode}/

    Arguments

    No arguments need to be passed.

    Returns

    This API call returns the details for the short code identified by the short code specified in the request URL.

    Response

    HTTP Status Code: 200

    {
        "added_on": "2019-10-09T11:10:59.741978Z",
        "api_id": "b42933e8-0a88-11ea-b072-0242ac110007",
        "country_iso2": "US",
        "number_pool_uuid": "{number_pool_uuid}",
        "shortcode": "{your_shortcode}"
    }