Ga naar inhoud
English

Read the Customer you act for, and its subscription

GET
/v1/customers/me
curl --request GET \
--url https://api.virtualdisplay.io/v1/customers/me \
--header 'Authorization: Bearer <token>'

OK

Media typeapplication/json
object
customer
required

The Customer you act for.

object
company_name
required

The company name the Customer entered.

string
created_at
required

When the account was created.

string
id
required

The Customer’s id. It is the id your token names, and a stable key for software that manages several accounts.

string
model_count
required

How many models the Customer has that are not deleted.

integer
subscription

The subscription the Customer is on. Absent when the Customer has none.

object
ends_at

When the grace after a cancellation ends, and the models move to the archive. Absent while the subscription runs.

string
model_limit
required

How many models the subscription lets the Customer have. An upload is refused past it.

integer
status
required

Active while the subscription runs, and cancelled once it has been cancelled.

string
tier
required

The name of the tier the subscription is on.

string

Example

{
"customer": {
"company_name": "Example Furniture",
"created_at": "2026-09-01T08:00:00Z",
"id": "0196a1ef-2b7c-7d90-b1e4-8f0a3c6d9e15",
"model_count": 42
},
"subscription": {
"ends_at": "2026-12-10T00:00:00Z",
"model_limit": 50,
"status": "active",
"tier": "Pro 50"
}
}

The answer carries validation_error. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • validation_error: A field is wrong, or the body is not the JSON the operation takes. details names each wrong field; repair it, do not retry as it is.
string
Allowed values: validation_error
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Examplevalidation_error
{
"error": "validation_error",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries unauthorized or token_invalid. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • unauthorized: No Bearer token was sent, or the token was revoked, or its integration was disabled. Send a valid token, do not retry the same one.
  • token_invalid: The token is malformed, has a bad signature or has expired. Exchange the secret for a new token, then retry once.
string
Allowed values: unauthorized token_invalid
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

{
"error": "token_invalid",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries forbidden. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • forbidden: The token is valid, but this integration may not make this call. Do not retry.
string
Allowed values: forbidden
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Exampleforbidden
{
"error": "forbidden",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

Not Found

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • not_found: The Customer no longer exists.
string
Allowed values: not_found
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Examplenot_found
{
"error": "not_found",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

Request Entity Too Large

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • body_too_large: The request body is larger than we accept, so nothing was done. Make it smaller, then retry once.
string
Allowed values: body_too_large
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Examplebody_too_large
{
"error": "body_too_large",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries rate_limited. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • rate_limited: The integration or its Customer is over its budget. Wait for the Retry-After seconds, then retry.
string
Allowed values: rate_limited
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Examplerate_limited
{
"error": "rate_limited",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries internal_error. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • internal_error: Our fault. Retry with backoff, then stop; send the trace_id if it persists.
string
Allowed values: internal_error
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Exampleinternal_error
{
"error": "internal_error",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}