A prospect's phone number
countryCode | string <= 255 characters The country code (e.g. US) |
createdAt | string <date-time> The date and time the phone number was created. |
extension | string <= 255 characters Phone number extension (e.g. 123) |
number | string <= 255 characters
The phone number (e.g. +18889387356) |
order | integer
Ordered position in list of numbers |
phoneType | string <= 255 characters
Type of phone (mobile, work, home, voip, and other) |
rawNumber | string <= 255 characters Unformatted phone number |
status | string <= 255 characters
The status of the number |
statusChangedAt | string <date-time>
Time the status was updated |
updatedAt | string <date-time>
The date and time the phone number was last updated. |
{- "countryCode": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "extension": "string",
- "number": "string",
- "order": 0,
- "phoneType": "string",
- "rawNumber": "string",
- "status": "string",
- "statusChangedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
data (object) or links (object) (prospect) The owning prospect You can use only the attribute id to filter phoneNumbers by prospect (e.g. filter[prospect][id]=X). |
{- "prospect": {
- "data": {
- "id": 0,
- "type": "prospect"
}
}
}
METADATA NAME | DESCRIPTION | QUERY PARAM |
---|---|---|
canWrite | A boolean value indicating whether the current API user has write access to this resource. | provideAuthorizationMeta |
canDelete | A boolean value indicating whether the current API user has delete access to this resource. | provideAuthorizationMeta |
{- "data": [
- {
- "attributes": {
- "countryCode": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "extension": "string",
- "number": "string",
- "order": 0,
- "phoneType": "string",
- "rawNumber": "string",
- "status": "string",
- "statusChangedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "prospect": {
- "data": {
- "id": 0,
- "type": "prospect"
}
}
}, - "type": "string"
}
]
}
object |
Created
JSON error message
{- "data": {
- "attributes": {
- "countryCode": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "extension": "string",
- "number": "string",
- "order": 0,
- "phoneType": "string",
- "rawNumber": "string",
- "status": "string",
- "statusChangedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "prospect": {
- "data": {
- "id": 0,
- "type": "prospect"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "countryCode": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "extension": "string",
- "number": "string",
- "order": 0,
- "phoneType": "string",
- "rawNumber": "string",
- "status": "string",
- "statusChangedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "prospect": {
- "data": {
- "id": 0,
- "type": "prospect"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "countryCode": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "extension": "string",
- "number": "string",
- "order": 0,
- "phoneType": "string",
- "rawNumber": "string",
- "status": "string",
- "statusChangedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "prospect": {
- "data": {
- "id": 0,
- "type": "prospect"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "countryCode": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "extension": "string",
- "number": "string",
- "order": 0,
- "phoneType": "string",
- "rawNumber": "string",
- "status": "string",
- "statusChangedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "prospect": {
- "data": {
- "id": 0,
- "type": "prospect"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "countryCode": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "extension": "string",
- "number": "string",
- "order": 0,
- "phoneType": "string",
- "rawNumber": "string",
- "status": "string",
- "statusChangedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "prospect": {
- "data": {
- "id": 0,
- "type": "prospect"
}
}
}, - "type": "string"
}
}