Get DID Group Type

Description

Returns a single DID Group Type. A DID Group Type defines a broad category of DID services supported by DIDWW (for example, mobile, local and toll-free).

Request

HTTP Method: GET

URI Path: /v3/did_group_types/

URI Query Parameters:

Name

Type

Is Required?

Description

id

string

Yes

Unique ID number of a DID Group Type.

Example

http

GET /v3/did_group_types/4e057223-2a0a-4707-8b35-4e6ef96c9dd9 HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API Token]

curl

curl -i -X GET https://api.didww.com/v3/did_group_types/4e057223-2a0a-4707-8b35-4e6ef96c9dd9 -H "Accept: application/vnd.api+json" -H "Api-Key: [API Token]" -H "Content-Type: application/vnd.api+json"

response

HTTP/2 200 OK
Content-Type: application/vnd.api+json

{
    "data": {
        "id": "4e057223-2a0a-4707-8b35-4e6ef96c9dd9",
        "type": "did_group_types",
        "attributes": {
            "name": "Local"
           }
     }
}

Other Responses

Code

Success

Description

404

No

Not Found

401

No

Unauthorized