Retrieve an account
GEThttps://api.postpress.ai/v1/accounts/{id}
Returns the full details of a single account linked to your postpress workspace. The shape of `connection_params` depends on the provider `type`.
Authorization
X-API-KEYstringrequired
API key from your postpress dashboard. Sent as a request header.
Path parameters
idstringrequired
The id of the account to retrieve.
Response 200 OK
The response is a single Account object. The variants below mirror every provider type. Expand a variant to drill into its full schema.
AccountobjectrequiredOne of the provider variants below, picked by the `type` field.
Account array
MOBILEobjectMOBILE object
objectstringAccountrequiredtypestringMOBILErequiredconnection_paramsobjectrequiredconnection_params object
imobjectrequiredim object
phone_numberstringrequiredsim_serial_numberstringrequiredcallobjectrequiredcall object
phone_numberstringrequiredsim_serial_numberstringrequiredlast_fetched_atstringAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
MAILobjectMAIL object
objectstringAccountrequiredtypestringMAILrequiredconnection_paramsobjectrequiredconnection_params object
mailobjectrequiredmail object
imap_hoststringrequiredimap_portnumberrequiredimap_userstringrequiredimap_encryptionstringtlssslstarttlsdefaultsmtp_hoststringrequiredsmtp_portnumberrequiredsmtp_userstringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
GOOGLE_OAUTHobjectGOOGLE_OAUTH object
objectstringAccountrequiredtypestringGOOGLE_OAUTHrequiredconnection_paramsobjectrequiredconnection_params object
mailobjectrequiredmail object
idstringrequiredusernamestringrequiredcalendarobjectrequiredcalendar object
idstringrequiredusernamestringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
ICLOUDobjectICLOUD object
objectstringAccountrequiredtypestringICLOUDrequiredconnection_paramsobjectrequiredconnection_params object
mailobjectrequiredmail object
imap_hoststringrequiredimap_portnumberrequiredimap_userstringrequiredimap_encryptionstringtlssslstarttlsdefaultsmtp_hoststringrequiredsmtp_portnumberrequiredsmtp_userstringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
OUTLOOKobjectOUTLOOK object
objectstringAccountrequiredtypestringOUTLOOKrequiredconnection_paramsobjectrequiredconnection_params object
mailobjectrequiredmail object
idstringrequiredusernamestringrequiredcalendarobjectrequiredcalendar object
idstringrequiredusernamestringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
GOOGLE_CALENDARobjectGOOGLE_CALENDAR object
objectstringAccountrequiredtypestringGOOGLE_CALENDARrequiredconnection_paramsobjectrequiredconnection_params object
calendarstringrequiredsync_tokenstringidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
WHATSAPPobjectWHATSAPP object
objectstringAccountrequiredtypestringWHATSAPPrequiredconnection_paramsobjectrequiredconnection_params object
imobjectrequiredim object
phone_numberstringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
LINKEDINobjectLINKEDIN object
objectstringAccountrequiredtypestringLINKEDINrequiredconnection_paramsobjectrequiredconnection_params object
imobjectrequiredim object
idstringrequiredpublicIdentifierstringusernamestringrequiredpremiumIdstring | nullrequiredpremiumContractIdstring | nullrequiredpremiumFeaturesarray of stringspremiumFeatures array
(item)stringrecruitersales_navigatorpremiumorganizationsarray of objectsrequiredorganizations array
namestringrequiredmessaging_enabledbooleanrequiredorganization_urnstringrequiredmailbox_urnstringrequiredproxyobjectproxy object
sourcestringUSERrequiredhoststringrequiredportnumberrequiredprotocolstringhttphttpssocks5usernamestringpasswordstringidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
SLACKobjectSLACK object
objectstringAccountrequiredtypestringSLACKrequiredconnection_paramsobjectrequiredconnection_params object
imobjectrequiredim object
urlstringrequireduserstringrequireduser_idstringrequiredteamstringrequiredteam_idstringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
TWITTERobjectTWITTER object
objectstringAccountrequiredtypestringTWITTERrequiredconnection_paramsobjectrequiredconnection_params object
imobjectrequiredim object
idstringrequiredusernamestringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
EXCHANGEobjectEXCHANGE object
objectstringAccountrequiredtypestringEXCHANGErequiredconnection_paramsobjectrequiredconnection_params object
mailobjectrequiredmail object
imap_hoststringrequiredimap_portnumberrequiredimap_userstringrequiredimap_encryptionstringtlssslstarttlsdefaultsmtp_hoststringrequiredsmtp_portnumberrequiredsmtp_userstringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
TELEGRAMobjectTELEGRAM object
objectstringAccountrequiredtypestringTELEGRAMrequiredconnection_paramsobjectrequiredconnection_params object
imobjectrequiredim object
user_idstringrequiredusernamestringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
INSTAGRAMobjectINSTAGRAM object
objectstringAccountrequiredtypestringINSTAGRAMrequiredconnection_paramsobjectrequiredconnection_params object
imobjectrequiredim object
idstringrequiredusernamestringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
MESSENGERobjectMESSENGER object
objectstringAccountrequiredtypestringMESSENGERrequiredconnection_paramsobjectrequiredconnection_params object
imobjectrequiredim object
idstringrequiredusernamestringrequiredidstringlength ≥ 1requiredA unique identifier.
namestringrequiredcreated_atstringrequiredAn ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
Example:
2025-12-31T23:59:59.999Zcurrent_signaturestringlength ≥ 1optionalA unique identifier.
signaturesarray of objectssignatures array
titlestringrequiredcontentstringrequiredgroupsarray of stringsrequiredEach item is a UniqueId (length ≥ 1).
sourcesarray of objectsrequiredsources array
idstringrequiredstatusAccountSourceServiceStatusrequiredstatus enum
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
AccountSourceServiceStatus
Possible values for sources[].status:
OKstringOKThe Service is running normally.
STOPPEDstringSTOPPEDThe Service has been stopped.
ERRORstringERRORThe Service has encountered an unspecified error and has been stopped.
CREDENTIALSstringCREDENTIALSCredentials needs to be refreshed for the Service to be able to run.
PERMISSIONSstringPERMISSIONSSome permissions are missing on the host Device for the Service to be able to run.
CONNECTINGstringCONNECTINGThe Service is connecting.
Example response
{
"object": "Account",
"type": "LINKEDIN",
"id": "acc_01HXYZ4QK3WJ8FN3M6QH7TZ8GR",
"name": "Anna - Sales",
"created_at": "2026-04-12T09:14:21.000Z",
"connection_params": {
"im": {
"id": "ACoAAB7n2J0BV5...",
"publicIdentifier": "anna-doe",
"username": "anna-doe",
"premiumId": null,
"premiumContractId": null,
"premiumFeatures": ["sales_navigator"],
"organizations": [
{
"name": "Acme Inc.",
"messaging_enabled": true,
"organization_urn": "urn:li:organization:12345",
"mailbox_urn": "urn:li:fsd_messagingThread:abc"
}
]
}
},
"current_signature": "sig_default",
"signatures": [
{ "title": "Default", "content": "Sent from postpress" }
],
"groups": [],
"sources": [
{ "id": "messaging", "status": "OK" }
]
}Example request
curl --request GET \
--url 'https://api.postpress.ai/api/v1/accounts/acc_01HXYZ4QK3WJ8FN3M6QH7TZ8GR' \
--header 'X-API-KEY: pp_live_...' \
--header 'accept: application/json'Errors
Every error response follows the same envelope:
titlestringrequired
Short error title.
detailstringoptional
Human-readable explanation.
instancestringoptional
Request identifier for support.
typestringrequired
Error type identifier, e.g. `errors/resource_not_found`.
statusnumberrequired
HTTP status code.
400 Bad Request8 types
The request can't be processed because of malformed or invalid input.
errors/invalid_parameters- One or more request parameters are invalid or missing.errors/missing_parameters- One or more request parameters are missing.errors/malformed_request- The given request has been rejected by the provider.errors/content_too_large- The request payload is too large for the provider.errors/invalid_url- The provided URL is not valid.errors/too_many_characters- The provided content exceeds the character limit.errors/unescaped_characters- The request path contains unescaped characters.errors/limit_too_high- Pagination limit too high. See API reference for details.
401 Unauthorized13 types
Credentials are missing, expired, or invalid.
errors/missing_credentials- Some credentials are necessary to perform the request.errors/multiple_sessions- LinkedIn limits multiple sessions on certain Recruiter accounts. Use the cookie connection method to avoid this.errors/invalid_checkpoint_solution- The checkpoint resolution did not pass successfully. Retry.errors/invalid_proxy_credentials- The provided proxy credentials are invalid.errors/checkpoint_error- The checkpoint does not appear to be resolvable. Contact support if it persists.errors/invalid_credentials- The provided credentials are invalid.errors/expired_credentials- Credentials have expired. Reconnect the account.errors/insufficient_privileges- This resource is out of your API-key scopes.errors/disconnected_account- The account is disconnected from the provider service.errors/disconnected_feature- The service you're trying to reach is disconnected.errors/invalid_credentials_but_valid_account_imap- IMAP/SMTP credentials are invalid but the account is otherwise valid.errors/expired_link- This link has expired. Generate a new one.errors/wrong_account- The provided credentials do not match the correct account.
404 Not Found2 types
The requested account does not exist or is not accessible with this API key.
errors/resource_not_found- The requested resource was not found.errors/invalid_resource_identifier- The provided resource identifier is invalid.
500 Internal Server Error3 types
Something went wrong on our side or with the upstream provider.
errors/unexpected_error- Something went wrong.errors/provider_error- The provider is experiencing operational problems. Retry later.errors/authentication_intent_error- The current authentication intent was killed after failure. Start again from the beginning.
503 Service Unavailable5 types
postpress is temporarily unable to handle the request.
errors/no_client_session- No client session is currently running.errors/no_channel- No channel to client session.errors/no_handler- Handler missing for that request.errors/network_down- Network is down on the server side. Retry shortly.errors/service_unavailable- Service temporarily unavailable. Retry later.
504 Gateway Timeout1 types
The upstream provider did not respond in time.
errors/request_timeout- Request timed out. Retry, and contact support if it persists.
Updated May 2026