openapi: 3.2.0 info: title: TransactionDesk Partner Metadata API description: "Lonewolf's TransactionDesk API for Partners to integrate with the TransactionDesk application.\n\n## Authorization\n\n### Authorization Code Flow\n\n1. Redirect the user to the OAuth authorization URL:\n `https://api.pre.transactiondesk.com/oauth/authorize?client_id=Lonewolf&redirect_uri=https://www.example.com&response_type=code&state=active`\n2. The user logs in via the Lonewolf Authentication system.\n3. On success, the user is redirected back to your `redirect_uri` with a `code` parameter appended.\n4. Exchange the code for an access token via `POST /oauth/token` (see Authentication section). The code is one-time-use and expires in 10 minutes.\n5. Include the access token in the `Authorization: Bearer ` header on every request.\n\n### Client Credentials Flow\n\nFor enterprise integrations, use `grant_type=client_credentials`. No user redirect is required. Include an `On-Behalf-Of` header with the target user's GUID on API requests.\n\n## Universal Global Fields\n\nBelow is a list of the fields related to a transaction that can be updated through the API for the Transaction Desk System.\n\n### 1. Property Information\n\n#### Address\n- `streetNumber`\n- `streetName`\n- `city`\n- `county`\n- `state`\n- `zipCode`\n\n#### Subdivision and Parcel Information\n- `subDivision`\n- `lotNumber`\n- `block`\n- `pageNumber`\n- `platBook`\n\n#### Property Characteristics\n- `yearBuilt`\n- `zoningClass`\n- `schoolDistrict`\n\n#### Tax and Legal Information\n- `taxNumber`\n- `township`\n- `legalDescription`\n\n### 2. Listing Information\n\n#### Listing Identification\n- `mlsNumber`\n\n#### Pricing\n- `listPrice`\n\n#### Listing Timeline\n- `expirationDate`\n\n#### Property Inclusions and Exclusions\n- `propertyIncludes`\n- `propertyExcludes`\n- `leasedItems`\n\n### 3. Purchase Information\n\n#### Pricing\n- `purchasePrice`\n\n#### Offer Timeline\n- `offerDate`\n- `offerExpirationDate`\n- `offerAcceptanceDate`\n\n#### Financing Timeline\n- `applicationDate`\n- `approvalDate`\n\n#### Deposits\n- `depositAmount`\n- `additionalDepositAmount`\n- `additionalDepositDate`\n\n#### Transaction Milestones\n- `fundingDate`\n- `possessionDate`\n- `closingDate`" version: '2.0' servers: - url: https://api.pre.transactiondesk.com security: - bearerAuth: [] tags: - name: Metadata description: Retrieve metadata and property specifications for API resources paths: /v2/transactions/statuses/meta: get: summary: Get Metadata description: Returns metadata for a GET request, including the default number of records returned, the maximum, and the default sort order. Not available on transaction details or transaction contacts endpoints. tags: - Metadata responses: '200': description: Metadata returned successfully content: application/json: schema: $ref: '#/components/schemas/Metadata' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorUnauthorized' '404': description: Metadata not available for this resource content: application/json: schema: $ref: '#/components/schemas/ErrorNotFound' /v2/transactions/statuses/meta/properties: get: summary: Get Metadata Properties description: Returns the attributes of a resource along with their sort, filter, and type specifications. tags: - Metadata responses: '200': description: Metadata properties returned successfully content: application/json: schema: type: array items: $ref: '#/components/schemas/MetadataProperty' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorUnauthorized' '404': description: Metadata not available for this resource content: application/json: schema: $ref: '#/components/schemas/ErrorNotFound' components: schemas: MetadataProperty: type: object properties: name: type: string example: Id description: Attribute name returned in the payload type: type: string example: Guid description: Attribute type (Guid, String, DateTimeOffset, etc.) canFilter: type: boolean example: true description: Whether this attribute can be filtered canSort: type: boolean example: true description: Whether this attribute can be sorted filterType: type: string example: Equals description: Whether filtering does a contains search or exact match ErrorNotFound: type: object properties: code: type: integer example: 404 message: type: string example: Item not found. details: type: array items: {} Metadata: type: object properties: defaultTake: type: integer example: 10 description: Default number of records returned when not using a filter maxTake: type: integer example: 100 description: Maximum records returnable using the $take filter defaultOrder: type: string example: Name description: Default sort order ErrorUnauthorized: type: object properties: code: type: integer example: 401 message: type: string example: Unauthorized. The user is not authenticated. details: type: array items: {} data: {} securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT