List phone numbers
curl --request GET \
--url https://dev-public-api.openphone.dev/v1/phone-numbers \
--header 'Authorization: <api-key>'{
"data": [
{
"id": "PN123bc",
"groupId": "1234",
"portRequestId": "123abc",
"formattedNumber": "+15555555555",
"forward": "+15555555555",
"name": "My phone number",
"number": "+15555555555",
"portingStatus": "completed",
"symbol": "🏡",
"users": [
{
"email": "johndoe@example.com",
"firstName": "John",
"lastName": "Doe",
"id": "US123abc",
"role": "owner",
"groupId": "GRcei8k90o"
}
],
"createdAt": " '2022-01-01T00:00:00Z'",
"updatedAt": " '2022-01-01T00:00:00Z'",
"restrictions": {
"calling": {
"CA": "unrestricted",
"Intl": "unrestricted",
"US": "unrestricted"
},
"messaging": {
"CA": "unrestricted",
"Intl": "unrestricted",
"US": "unrestricted"
}
}
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}Phone Numbers
List phone numbers
Retrieve the list of phone numbers and users associated with your Quo workspace.
GET
/
v1
/
phone-numbers
List phone numbers
curl --request GET \
--url https://dev-public-api.openphone.dev/v1/phone-numbers \
--header 'Authorization: <api-key>'{
"data": [
{
"id": "PN123bc",
"groupId": "1234",
"portRequestId": "123abc",
"formattedNumber": "+15555555555",
"forward": "+15555555555",
"name": "My phone number",
"number": "+15555555555",
"portingStatus": "completed",
"symbol": "🏡",
"users": [
{
"email": "johndoe@example.com",
"firstName": "John",
"lastName": "Doe",
"id": "US123abc",
"role": "owner",
"groupId": "GRcei8k90o"
}
],
"createdAt": " '2022-01-01T00:00:00Z'",
"updatedAt": " '2022-01-01T00:00:00Z'",
"restrictions": {
"calling": {
"CA": "unrestricted",
"Intl": "unrestricted",
"US": "unrestricted"
},
"messaging": {
"CA": "unrestricted",
"Intl": "unrestricted",
"US": "unrestricted"
}
}
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}{
"message": "<string>",
"code": "<string>",
"status": 123,
"docs": "<string>",
"title": "<string>",
"trace": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"schema": {
"type": "<string>"
},
"value": "<unknown>"
}
]
}Was this page helpful?
⌘I