TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Get the profile in the current v2 shape

GEThttps://api.testingapis.com/api/v2/profileSign in to see this endpoint's URL

Get the profile in the current v2 shape (selected by URL path).

v2 uses nested contact, address and preferences objects.

Responses

200
v2 profile.

Example

Request
curl -X GET "https://api.testingapis.com/api/v2/profile" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
X-API-Version: 2

{
  "id": 101,
  "firstName": "Ava",
  "lastName": "Thompson",
  "displayName": "Ava T.",
  "contact": {"email": "ava.thompson@example.com", "phone": {"countryCode": "+1", "number": "555-0101"}},
  "address": {
    "street": "742 Evergreen Terrace",
    "city": "Springfield",
    "state": "IL",
    "postalCode": "62704",
    "country": "US"
  },
  "preferences": {"language": "en-US", "timezone": "America/Chicago", "newsletter": true},
… (3 more lines)

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.