Get DID Group Types

Description

Returns a list of DID Group Types. 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

filter[<filter_name>]

string

Optional

Filtering

sort

string

Optional

Sorting

Filters:

Filter Name

Type

Allow Blank

Allow Array

Filters by:

id

string

No

Yes

Group Type id field.

name

string

Yes

Yes

Group Type name field.

Sorting:

Value

Sorts by:

name

DID Group Type name field.

Fielding:

Value

Returns:

name

DID Group Type name attribute.

Example

http

GET /v3/did_group_types 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 -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"

response

GET /v3/did_group_types HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]

Other Responses

Code

Success

Description

404

No

Not Found

401

No

Unauthorized