Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
curl --request GET \
--url https://www.postable.com/api/v1/account \
--header 'Authorization: Bearer <token>'
{
"id": 123,
"email": "jsmith@example.com",
"username": "<string>",
"account_type": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"contact": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prefix": "<string>",
"first_name": "<string>",
"middle_name": "<string>",
"last_name": "<string>",
"company": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"address": "<string>",
"apt": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"spouse_prefix": "<string>",
"spouse_first_name": "<string>",
"spouse_middle_name": "<string>",
"spouse_last_name": "<string>",
"birth_month": 6,
"birth_day": 16,
"birth_year": 123,
"anniversary_month": 6,
"anniversary_day": 16,
"anniversary_year": 123,
"spouse_birth_month": 6,
"spouse_birth_day": 16,
"spouse_birth_year": 123,
"children": [
{
"first_name": "<string>",
"birth_month": 6,
"birth_day": 16,
"birth_year": 123
}
],
"pets": [
{
"name": "<string>",
"birth_month": 6,
"birth_day": 16,
"birth_year": 123,
"secondary_type": "<string>"
}
],
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"shipping": {
"name": "<string>",
"company": "<string>",
"address": "<string>",
"apt": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>"
}
}
Retrieve your Postable account information
curl --request GET \
--url https://www.postable.com/api/v1/account \
--header 'Authorization: Bearer <token>'
{
"id": 123,
"email": "jsmith@example.com",
"username": "<string>",
"account_type": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"contact": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prefix": "<string>",
"first_name": "<string>",
"middle_name": "<string>",
"last_name": "<string>",
"company": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"address": "<string>",
"apt": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"spouse_prefix": "<string>",
"spouse_first_name": "<string>",
"spouse_middle_name": "<string>",
"spouse_last_name": "<string>",
"birth_month": 6,
"birth_day": 16,
"birth_year": 123,
"anniversary_month": 6,
"anniversary_day": 16,
"anniversary_year": 123,
"spouse_birth_month": 6,
"spouse_birth_day": 16,
"spouse_birth_year": 123,
"children": [
{
"first_name": "<string>",
"birth_month": 6,
"birth_day": 16,
"birth_year": 123
}
],
"pets": [
{
"name": "<string>",
"birth_month": 6,
"birth_day": 16,
"birth_year": 123,
"secondary_type": "<string>"
}
],
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"shipping": {
"name": "<string>",
"company": "<string>",
"address": "<string>",
"apt": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.