Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
country_code
string
required

ISO alpha 2 country code

Example:

"US"

phone_number_type
enum<string>
required
Available options:
local,
toll_free,
mobile,
national,
shared_cost
Example:

"local"

action
enum<string>
required
Available options:
ordering,
porting
Example:

"ordering"

customer_reference
string
Example:

"My Requirement Group"

regulatory_requirements
object[]

Response

Requirement group created

id
string
country_code
string
phone_number_type
string
status
enum<string>
Available options:
approved,
unapproved,
pending-approval,
declined,
expired
action
string
customer_reference
string
created_at
string<date-time>
updated_at
string<date-time>
record_type
string
Example:

"requirement_group"

regulatory_requirements
object[]