University of Wisconsin-Madison Phone Numbers API
The Phone Numbers API from University of Wisconsin-Madison — 1 operation(s) for phone numbers.
The Phone Numbers API from University of Wisconsin-Madison — 1 operation(s) for phone numbers.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/university-of-wisconsin-madison:university-of-wisconsin-madison-phone-numbers-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Mock Person Phone Numbers API
version: 1.0.0
contact:
name: DoIT Enterprise Integration API Team
email: api@doit.wisc.edu
url: https://go.wisc.edu/k701y6
description: A mock implementation of the Person API.
servers:
- url: https://mock.api.wisc.edu
security:
- OAuth2ClientCredentials: []
tags:
- name: Phone Numbers
paths:
/people/{id}/phoneNumbers:
get:
description: 'Get a person''s phone numbers, split into separate resource objects depending on the type and source of phone number. Home and mobile phone numbers are only available if requested and granted during the request process.
The following combinations of phoneNumberType and source are available:
Types for source: SIS
mobile
home
Types for source: UW Hospital and Clinics
office
home
Types for source: UW Medical Foundation
office
home
Types for source: UW-Madison Special Populations
office
home
Types for source: Workday
office
home
mobile'
summary: Get phone numbers
operationId: get_person_phone_numbers
tags:
- Phone Numbers
parameters:
- name: id
description: 'ID of a person. This parameter should not be manually built/concatenated, but instead be used by following the fully-formed links returned in an API response. To get a person by an ID, use query parameters to search by a specific identifier. Example: /people?filter[identifiers.name]=netId&filter[identifiers.value]=bbadger'
in: path
example: e2118c5a-aae2-4475-a661-bb0592effefa
required: true
schema:
type: string
description: An ephemeral identifier used only in the Person API to adhere to the [JSON:API specification](https://jsonapi.org/format/#document-resource-object-identification). This ID may change if a person is split into two people or two people are merged into one person. This ID is used for paginating results or following other links returned in the API response. This ID should not be stored in a consuming system. Concatenating parts of the URL to form a link is discouraged. Instead, use the fully-formed links returned in an API response.
- name: fields
in: query
description: Specify the list of fields you would like to return for each resource type. For example, `fields[people]=firstName,lastName` will just return the names for people. If you are including related resources with 'includes' you can also specify fields on those resources as well. For example, `includes=jobs&fields[people]=jobs&fields[jobs]=title` will just return titles for jobs. See [Sparse Fieldsets](https://jsonapi.org/format/#fetching-sparse-fieldsets) for more details.
required: false
style: deepObject
explode: true
schema:
type: object
additionalProperties: false
properties:
type:
type: string
example: people
- name: advancedFilter
in: query
description: Filter results of query using the [Advanced Filter](https://kb.wisc.edu/uw-apis/158404#advanced-filters).
required: false
style: deepObject
explode: true
schema:
type: object
additionalProperties: false
properties:
attribute:
type: string
example: and(equals(firstName, "John"), equals(lastName, "Doe"))
- name: filter[phoneNumberType]
in: query
required: false
description: Filter results using the [filter query parameter family](https://jsonapi.org/recommendations/#filtering). Refer to the [Person API Documentation](https://kb.wisc.edu/uw-apis/158404) for more information. Filter `phoneNumbers` resources by `phoneNumberType`.
schema:
type:
- string
- 'null'
- name: filter[phoneNumber]
in: query
required: false
description: Filter results using the [filter query parameter family](https://jsonapi.org/recommendations/#filtering). Refer to the [Person API Documentation](https://kb.wisc.edu/uw-apis/158404) for more information. Filter `phoneNumbers` resources by `phoneNumber`.
schema:
type:
- string
- 'null'
- name: filter[source]
in: query
required: false
description: Filter results using the [filter query parameter family](https://jsonapi.org/recommendations/#filtering). Refer to the [Person API Documentation](https://kb.wisc.edu/uw-apis/158404) for more information. Filter `phoneNumbers` resources by `source`.
schema:
type:
- string
- 'null'
- name: filter[institution]
in: query
required: false
description: Filter results using the [filter query parameter family](https://jsonapi.org/recommendations/#filtering). Refer to the [Person API Documentation](https://kb.wisc.edu/uw-apis/158404) for more information. Filter `phoneNumbers` resources by `institution`.
schema:
type:
- string
- 'null'
responses:
'200':
description: A collection of phone numbers.
content:
application/vnd.api+json:
schema:
type: object
required:
- data
- links
properties:
data:
description: A collection of phone numbers
type: array
items:
description: Details about a phone number associated with a person.
type: object
required:
- type
- id
- attributes
- relationships
properties:
type:
type: string
example: phoneNumbers
id:
type: string
description: Ephemeral ID used to adhere to the JSON:API specification. This ID should not be stored.
attributes:
type: object
required:
- phoneNumberType
- phoneNumber
- source
- institution
properties:
phoneNumberType:
description: The type of phone number for the person.
type: string
enum:
- office
- home
- mobile
example: office
phoneNumber:
description: The phone number for the person.
type: string
minLength: 1
maxLength: 20
example: 123/456-7890
source:
description: The source of the phone number.
type: string
enum:
- SIS
- UW-Madison Special Authorization
- UW Hospital and Clinics
- UW Medical Foundation
- Workday
- UW-Madison Special Populations
example: Workday
institution:
description: The institution associated with the resource.
type: string
example: UW-Madison
enum:
- Shared
- UW-Eau Claire
- UW-Green Bay
- UW-La Crosse
- UW-Madison
- UW-Milwaukee
- UW Oshkosh
- UW-Parkside
- UW-Platteville
- UW-River Falls
- UW-Stevens Point
- UW-Stout
- UW-Superior
- UW-Whitewater
- UW-Extension
- UW System
relationships:
type: object
required:
- person
properties:
person:
description: A generic relationship object
type: object
properties:
links:
type: object
properties:
related:
type: string
example: https://api.wisc.edu/link/to/related/object
data:
type:
- object
- 'null'
properties:
type:
type: string
example: sampleType
id:
type: string
example: sampleId
links:
description: The link to access a resource itself
type: object
properties:
self:
type: string
example: https://api.wisc.edu/link/to/self
examples:
example-phone-numbers:
value:
data:
- attributes:
phoneNumberType: office
phoneNumber: 608/555-5489
source: Workday
institution: UW-Madison
id: 0dd6ebc4-0ba4-4e56-b688-5818a1e34e67
relationships:
person:
data:
id: e2118c5a-aae2-4475-a661-bb0592effefa
type: people
links:
related: https://api.wisc.edu/people/e2118c5a-aae2-4475-a661-bb0592effefa
type: phoneNumbers
links:
self: https://api.wisc.edu/people/e2118c5a-aae2-4475-a661-bb0592effefa/phoneNumbers
'400':
description: A bad request.
content:
application/vnd.api+json:
schema:
description: A JSON:API error response body containing one or more errors.
type: object
properties:
errors:
type: array
items:
description: An error
type: object
properties:
id:
type:
- string
- 'null'
example: 0fd247d9-a93c-4b48-bde8-247ce352ebcb
status:
type: integer
example: 400
title:
type: string
example: Error title
detail:
type: string
example: Additional details about the error
links:
type: object
meta:
type: object
source:
type: object
examples:
application/vnd.api+json:
value:
errors:
- id: 0fd247d9-a93c-4b48-bde8-247ce352ebcb
links: {}
meta: {}
source: {}
status: 400
title: Bad Request
detail: Invalid properties in query parameters - resource type 'people' has no attribute 'invalid'.
'401':
description: Incorrect or expired OAuth token.
content:
application/vnd.api+json:
schema:
description: A JSON:API error response body containing one or more errors.
type: object
properties:
errors:
type: array
items:
description: An error
type: object
properties:
id:
type:
- string
- 'null'
example: 0fd247d9-a93c-4b48-bde8-247ce352ebcb
status:
type: integer
example: 400
title:
type: string
example: Error title
detail:
type: string
example: Additional details about the error
links:
type: object
meta:
type: object
source:
type: object
examples:
unauthorized-response:
value:
errors:
- status: 401
title: Unauthorized
detail: Invalid OAuth authentication - InvalidAccessToken
'403':
description: The API call is authenticated but the client isn't allowed to perform the requested operation. This can occur when trying to update a resource when granted read-only access.
content:
application/vnd.api+json:
schema:
description: A JSON:API error response body containing one or more errors.
type: object
properties:
errors:
type: array
items:
description: An error
type: object
properties:
id:
type:
- string
- 'null'
example: 0fd247d9-a93c-4b48-bde8-247ce352ebcb
status:
type: integer
example: 400
title:
type: string
example: Error title
detail:
type: string
example: Additional details about the error
links:
type: object
meta:
type: object
source:
type: object
examples:
name-update-example:
value:
errors:
- status: 403
title: Forbidden
detail: Client is not allowed to create, update, or delete a person's name.
no-access-example:
value:
errors:
- status: 403
title: Forbidden
detail: Requested method is forbidden for endpoint - GET - /people
disabled-temporarily-example:
value:
errors:
- status: 403
title: Forbidden
detail: Webhook Create/Update/Delete operations are disabled temporarily. Try again later.
'404':
description: Unable to find the specified record
content:
application/vnd.api+json:
schema:
description: A JSON:API error response body containing one or more errors.
type: object
properties:
errors:
type: array
items:
description: An error
type: object
properties:
id:
type:
- string
- 'null'
example: 0fd247d9-a93c-4b48-bde8-247ce352ebcb
status:
type: integer
example: 400
title:
type: string
example: Error title
detail:
type: string
example: Additional details about the error
links:
type: object
meta:
type: object
source:
type: object
examples:
not-found-example:
value:
errors:
- status: 404
title: Not Found
detail: Requested resource not found.
'406':
description: Servers respond with a 406 Not Acceptable status code if a request’s Accept header contains the JSON:API media type and all instances of that media type are modified with media type parameters.
content:
application/vnd.api+json:
schema:
description: A JSON:API error response body containing one or more errors.
type: object
properties:
errors:
type: array
items:
description: An error
type: object
properties:
id:
type:
- string
- 'null'
example: 0fd247d9-a93c-4b48-bde8-247ce352ebcb
status:
type: integer
example: 400
title:
type: string
example: Error title
detail:
type: string
example: Additional details about the error
links:
type: object
meta:
type: object
source:
type: object
examples:
not-acceptable-example:
value:
errors:
- status: 406
title: Not Acceptable
detail: Request's Accept header contained the JSON:API media type and all instances of that media type were modified with media type parameters.
'429':
description: The API quota has been exceeded.
content:
application/vnd.api+json:
schema:
description: A JSON:API error response body containing one or more errors.
type: object
properties:
errors:
type: array
items:
description: An error
type: object
properties:
id:
type:
- string
- 'null'
example: 0fd247d9-a93c-4b48-bde8-247ce352ebcb
status:
type: integer
example: 400
title:
type: string
example: Error title
detail:
type: string
example: Additional details about the error
links:
type: object
meta:
type: object
source:
type: object
examples:
not-found-example:
value:
errors:
- status: 429
title: Too Many Requests
detail: The quota has been exceeded.
'500':
description: An unexpected error.
content:
application/vnd.api+json:
schema:
description: A JSON:API error response body containing one or more errors.
type: object
properties:
errors:
type: array
items:
description: An error
type: object
properties:
id:
type:
- string
- 'null'
example: 0fd247d9-a93c-4b48-bde8-247ce352ebcb
status:
type: integer
example: 400
title:
type: string
example: Error title
detail:
type: string
example: Additional details about the error
links:
type: object
meta:
type: object
source:
type: object
examples:
not-found-example:
value:
errors:
- status: 500
title: Internal Server Error
detail: Something went wrong in the server-side.
components:
securitySchemes:
OAuth2ClientCredentials:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://api.wisc.edu/oauth/token
scopes: {}
externalDocs:
description: Read more about JSON:API here
url: https://jsonapi.org/