# Get all photos of a SalesPartner Can be used to get all photos of a SalesPartner Endpoint: GET /sales-partners/{id}/photos Version: 20250708 Security: Authorization ## Path parameters: - `id` (string, required) The SalesPartner ID ## Query parameters: - `photoTypes` (string) Filter by photo types Enum: "SMB_SETUP_WIZARD_STEP_1", "SMB_SETUP_WIZARD_STEP_2", "SMB_SETUP_WIZARD_STEP_3" - `offset` (integer) Offset (page number) for pagination. Default: 0 - `max` (integer) Maximum number of photos per page. Default: 20 - `sort` (string) Which field to sort by. Default: 'id' - `order` (string) Which direction to sort by. Default: 'desc' ## Response 200 fields (*/*): - `status` (string, required) Enum: "SUCCESS", "QUOTA_LIMIT_EXCEED", "NOT_AUTHORIZED", "FORBIDDEN", "BAD_ACCESS_TOKEN", "BAD_PRIVATE_KEY", "BAD_PUBLIC_KEY", "MISSING_PARAMETER", "INVALID_PARAMETER", "WRONG_PARAMETER_TYPE", "CONFLICT", "RESOURCE_LOCKED", "SERVER_ERROR", "ERROR", "NOT_FOUND", "BAD_REQUEST", "USER_ERROR", "PARTIAL_ERROR" - `message` (string) (optional) Holds further information about the response - `warnings` (array) (optional) Holds further warnings - `response` (object, required) The actual response object of the response - `response.photos` (array) - `response.photos.id` (integer) Id - `response.photos.identifier` (string) Identifier - `response.photos.type` (string) Type Enum: "SMB_SETUP_WIZARD_STEP_1", "SMB_SETUP_WIZARD_STEP_2", "SMB_SETUP_WIZARD_STEP_3" - `response.photos.width` (integer) Width - `response.photos.height` (integer) Height - `response.photos.sourceUrl` (string) Source URL - `response.photos.publicUrl` (string) Public URL - `response.photos.cropOffsetX` (integer) Crop Offset X - `response.photos.cropOffsetY` (integer) Crop Offset Y - `response.photos.cropWidth` (integer) Crop Width - `response.photos.cropHeight` (integer) Crop Height - `response.offset` (integer) The offset for pagination - `response.max` (integer) The maximum number of photos to return Example: 10 - `response.count` (integer) The total count of found photos Example: 100 ## Response 400 fields (application/json): - `status` (string, required) Enum: "SUCCESS", "QUOTA_LIMIT_EXCEED", "NOT_AUTHORIZED", "FORBIDDEN", "BAD_ACCESS_TOKEN", "BAD_PRIVATE_KEY", "BAD_PUBLIC_KEY", "MISSING_PARAMETER", "INVALID_PARAMETER", "WRONG_PARAMETER_TYPE", "CONFLICT", "RESOURCE_LOCKED", "SERVER_ERROR", "ERROR", "NOT_FOUND", "BAD_REQUEST", "USER_ERROR", "PARTIAL_ERROR" - `message` (string) (optional) Holds further information about the response - `errorCode` (string) Enum: "NORMALIZATION_FAILED", "DATA_CORRUPTED", "INVALID_INPUT", "NOT_SYNCABLE", "PAYMENT_FAILED", "FREE_TIER_REACHED", "LIMIT_REACHED", "INACTIVE", "UNKNOWN", "IDENTIFIER_NOT_UNIQUE", "ACCOUNT_WAITING_FOR_AUTO_PAGE_SELECT", "NO_ACCOUNT_CONNECTED", "NO_PAGE_SELECTED", "PAGE_NOT_CREATED", "PAGE_IN_REVIEW", "PAGE_CLAIMED_BY_OTHERS", "OVERLAPPING_SOCIALPOST", "TOO_MANY_REPLIES", "REPLY_TOO_LONG", "DEPRECATED" - `response` (object) (optional) The actual response object of the response ## Response 401 fields (application/json): - `status` (string, required) Enum: "SUCCESS", "QUOTA_LIMIT_EXCEED", "NOT_AUTHORIZED", "FORBIDDEN", "BAD_ACCESS_TOKEN", "BAD_PRIVATE_KEY", "BAD_PUBLIC_KEY", "MISSING_PARAMETER", "INVALID_PARAMETER", "WRONG_PARAMETER_TYPE", "CONFLICT", "RESOURCE_LOCKED", "SERVER_ERROR", "ERROR", "NOT_FOUND", "BAD_REQUEST", "USER_ERROR", "PARTIAL_ERROR" - `message` (string) (optional) Holds further information about the response - `errorCode` (string) Enum: "NORMALIZATION_FAILED", "DATA_CORRUPTED", "INVALID_INPUT", "NOT_SYNCABLE", "PAYMENT_FAILED", "FREE_TIER_REACHED", "LIMIT_REACHED", "INACTIVE", "UNKNOWN", "IDENTIFIER_NOT_UNIQUE", "ACCOUNT_WAITING_FOR_AUTO_PAGE_SELECT", "NO_ACCOUNT_CONNECTED", "NO_PAGE_SELECTED", "PAGE_NOT_CREATED", "PAGE_IN_REVIEW", "PAGE_CLAIMED_BY_OTHERS", "OVERLAPPING_SOCIALPOST", "TOO_MANY_REPLIES", "REPLY_TOO_LONG", "DEPRECATED" - `response` (object) (optional) The actual response object of the response ## Response 403 fields (application/json): - `status` (string, required) Enum: "SUCCESS", "QUOTA_LIMIT_EXCEED", "NOT_AUTHORIZED", "FORBIDDEN", "BAD_ACCESS_TOKEN", "BAD_PRIVATE_KEY", "BAD_PUBLIC_KEY", "MISSING_PARAMETER", "INVALID_PARAMETER", "WRONG_PARAMETER_TYPE", "CONFLICT", "RESOURCE_LOCKED", "SERVER_ERROR", "ERROR", "NOT_FOUND", "BAD_REQUEST", "USER_ERROR", "PARTIAL_ERROR" - `message` (string) (optional) Holds further information about the response - `errorCode` (string) Enum: "NORMALIZATION_FAILED", "DATA_CORRUPTED", "INVALID_INPUT", "NOT_SYNCABLE", "PAYMENT_FAILED", "FREE_TIER_REACHED", "LIMIT_REACHED", "INACTIVE", "UNKNOWN", "IDENTIFIER_NOT_UNIQUE", "ACCOUNT_WAITING_FOR_AUTO_PAGE_SELECT", "NO_ACCOUNT_CONNECTED", "NO_PAGE_SELECTED", "PAGE_NOT_CREATED", "PAGE_IN_REVIEW", "PAGE_CLAIMED_BY_OTHERS", "OVERLAPPING_SOCIALPOST", "TOO_MANY_REPLIES", "REPLY_TOO_LONG", "DEPRECATED" - `response` (object) (optional) The actual response object of the response ## Response 404 fields (application/json): - `status` (string, required) Enum: "SUCCESS", "QUOTA_LIMIT_EXCEED", "NOT_AUTHORIZED", "FORBIDDEN", "BAD_ACCESS_TOKEN", "BAD_PRIVATE_KEY", "BAD_PUBLIC_KEY", "MISSING_PARAMETER", "INVALID_PARAMETER", "WRONG_PARAMETER_TYPE", "CONFLICT", "RESOURCE_LOCKED", "SERVER_ERROR", "ERROR", "NOT_FOUND", "BAD_REQUEST", "USER_ERROR", "PARTIAL_ERROR" - `message` (string) (optional) Holds further information about the response - `errorCode` (string) Enum: "NORMALIZATION_FAILED", "DATA_CORRUPTED", "INVALID_INPUT", "NOT_SYNCABLE", "PAYMENT_FAILED", "FREE_TIER_REACHED", "LIMIT_REACHED", "INACTIVE", "UNKNOWN", "IDENTIFIER_NOT_UNIQUE", "ACCOUNT_WAITING_FOR_AUTO_PAGE_SELECT", "NO_ACCOUNT_CONNECTED", "NO_PAGE_SELECTED", "PAGE_NOT_CREATED", "PAGE_IN_REVIEW", "PAGE_CLAIMED_BY_OTHERS", "OVERLAPPING_SOCIALPOST", "TOO_MANY_REPLIES", "REPLY_TOO_LONG", "DEPRECATED" - `response` (object) (optional) The actual response object of the response