Free, whatever the credential. A caller who cannot find out why they are being refused opens a ticket.
Parameters
No parameters.
Responses
- 401
- ProblemDetail
credential_missing,credential_invalidorcredential_expired: send a live API key asAuthorization: Bearer <key>.- 402
- ProblemDetail
quota_exhausted: the balance can't cover the call. Nothing was charged and nothing was returned.- 403
- ProblemDetail
scope_missing,person_requiredorentitlement_missing: this credential or plan can't do this.detailsays which.- 404
- ProblemDetail
no_such_resource: nothing has that id.- 409
- ProblemDetail
version_conflict: the record changed since you read it. Read it again and resend.- 422
- ProblemDetail
parameter_invalid,id_malformedor a cursor code: a parameter's value isn't one this operation takes.- 429
- ProblemDetail
rate_limited: wait forRetry-After, then send it again. Not charged.
Example request
curl -X GET 'https://api.placestack.com/v1/me' \
-H 'Authorization: Bearer $PLACESTACK_API_KEY'Example response
{
"object": "credential",
"organization": "<Organization>",
"organization_name": "<Organization Name>",
"plan": "<Plan>",
"kind": "<Kind>",
"subject": "<Subject>",
"method": "<Method>",
"name": "<Name>",
"scope": [
"string"
],
"credit_balance": 1,
"user": "string"
}