POST
/
v3
/
order
/
{order_id}
/
phlebotomy
/
appointment
/
request
curl --request POST \
     --url '{{BASE_URL}}/v3/order/413d7205-f8a9-42ed-aa4a-edb99e481ca0/phlebotomy/appointment/request' \
     --header 'accept: application/json' \
     --header 'x-vital-api-key: {YOUR_KEY}' \
     --data '
{
    "address":
    {
        "first_line": "256 West Lincoln Street",
        "second_line": "14",
        "city": "Phoenix",
        "state": "AZ",
        "zip_code": "85004",
    }
    "provider": "phlebfinders"
}
'
{
    "id": "413d7205-f8a9-42ed-aa4a-edb99e481ca0",
    "user_id": "202b2c2f-fb4c-44dc-a4f8-621186fde227",
    "address": {
        "first_line": "West Lincoln Street",
        "second_line": "",
        "city": "Phoenix",
        "state": "AZ",
        "zip_code": "85004",
        "unit": "14"
    },
    "location": {
        "lng": -112.0772235,
        "lat": 33.4421912
    },
    "type": "phlebotomy",
    "provider": "phlebfinders",
    "status": "pending",
    "provider_id": "e89eb489-7382-4966-bb14-7ab4763eba6c",
    "can_reschedule":false
}
curl --request POST \
     --url '{{BASE_URL}}/v3/order/413d7205-f8a9-42ed-aa4a-edb99e481ca0/phlebotomy/appointment/request' \
     --header 'accept: application/json' \
     --header 'x-vital-api-key: {YOUR_KEY}' \
     --data '
{
    "address":
    {
        "first_line": "256 West Lincoln Street",
        "second_line": "14",
        "city": "Phoenix",
        "state": "AZ",
        "zip_code": "85004",
    }
    "provider": "phlebfinders"
}
'
{
    "id": "413d7205-f8a9-42ed-aa4a-edb99e481ca0",
    "user_id": "202b2c2f-fb4c-44dc-a4f8-621186fde227",
    "address": {
        "first_line": "West Lincoln Street",
        "second_line": "",
        "city": "Phoenix",
        "state": "AZ",
        "zip_code": "85004",
        "unit": "14"
    },
    "location": {
        "lng": -112.0772235,
        "lat": 33.4421912
    },
    "type": "phlebotomy",
    "provider": "phlebfinders",
    "status": "pending",
    "provider_id": "e89eb489-7382-4966-bb14-7ab4763eba6c",
    "can_reschedule":false
}

Authorizations

x-vital-api-key
string
headerrequired

Vital Team API Key

Path Parameters

order_id
string
required

Your Order ID.

Body

application/json
address
object
required

At-home phlebotomy appointment address.

provider
enum<string>
required
Available options:
getlabs,
axlehealth,
phlebfinders

Response

200 - application/json
id
string
required
user_id
string
required
order_id
string
required
address
object
required
location
object
required
start_at
string | null
required

Time is in UTC

end_at
string | null
required

Time is in UTC

iana_timezone
string | null
type
enum<string>
required
Available options:
phlebotomy
provider
enum<string>
required
Available options:
getlabs,
axlehealth,
phlebfinders
status
enum<string>
required
Available options:
confirmed,
pending,
in_progress,
completed,
cancelled
provider_id
string
required
can_reschedule
boolean
required
event_status
enum<string>
required
Available options:
pending,
scheduled,
completed,
cancelled,
in_progress
event_data
object | null
events
object[]
required