---
updatedAt: 2026-05-28T05:27:12.000Z
agentTools:
  projectIndex: https://developers.smartrecruiters.com/llms.txt
---

# Candidate consent decisions

Depending on the consent approach which a customer chooses, the response will either contain one candidates'
consent decision - known as "single consent" - or contain one candidates' consent broken out by the data scopes
which the customer has subscribed to - such as SmartRecruit and SmartCRM. This is referred to as "separated consent".
Provided there is at least one pending consent request (without a decision) for a candidate, the response
contains a date and time of the most recent of such consent requests.

Read more about GDPR tools on [SmartRecruiters Help Center](https://customers.smartrecruiters.com/kb/articles/2273-compliance-and-gdpr-tools-for-companies)


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "version": "1",
    "title": "Candidates API",
    "contact": {
      "name": "SmartRecruiters",
      "url": "https://developers.smartrecruiters.com"
    }
  },
  "tags": [
    {
      "name": "candidates"
    }
  ],
  "paths": {
    "/candidates/{id}/consents": {
      "parameters": [
        {
          "$ref": "#/components/parameters/candidateId"
        }
      ],
      "get": {
        "responses": {
          "200": {
            "description": "Candidate's consent decisions",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CandidateConsentDecisions"
                }
              }
            }
          },
          "403": {
            "description": "Candidate access denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "description": "Depending on the consent approach which a customer chooses, the response will either contain one candidates'\nconsent decision - known as \"single consent\" - or contain one candidates' consent broken out by the data scopes\nwhich the customer has subscribed to - such as SmartRecruit and SmartCRM. This is referred to as \"separated consent\".\nProvided there is at least one pending consent request (without a decision) for a candidate, the response\ncontains a date and time of the most recent of such consent requests.\n\nRead more about GDPR tools on [SmartRecruiters Help Center](https://customers.smartrecruiters.com/kb/articles/2273-compliance-and-gdpr-tools-for-companies)\n",
        "tags": [
          "candidates"
        ],
        "summary": "Candidate consent decisions",
        "operationId": "candidates.consent.decisions",
        "security": [
          {
            "key": []
          },
          {
            "oauth": [
              "candidates_read"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "key": {
        "type": "apiKey",
        "in": "header",
        "name": "x-smarttoken"
      },
      "oauth": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://www.smartrecruiters.com/identity/oauth/allow",
            "tokenUrl": "https://api.smartrecruiters.com/identity/oauth/token",
            "scopes": {
              "candidates_read": "Access Candidates",
              "candidates_create": "Create Candidates",
              "candidates_offers_read": "Access Offer Terms",
              "candidates_manage": "Manage Candidate Status and Properties",
              "candidate_status_read": "Access Candidate's status",
              "candidates_parse_resume": "Access Resume Parsing"
            }
          }
        }
      }
    },
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "code"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "CandidateConsentDecisions": {
        "type": "object",
        "required": [
          "decisions"
        ],
        "properties": {
          "decisions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsentDecision"
            }
          },
          "recentPendingRequestCreatedOn": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ConsentDecision": {
        "required": [
          "status",
          "scope"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/ConsentDecisionStatus"
          },
          "scope": {
            "$ref": "#/components/schemas/ConsentScope"
          },
          "decidedOn": {
            "type": "string",
            "format": "date-time",
            "description": "present when candidate has made a consent decision (i.e. `status` is `acquired` or `declined`)"
          }
        }
      },
      "ConsentDecisionStatus": {
        "type": "string",
        "description": "* **acquired** - a candidate has decided to provide a consent\n* **declined** - a candidate has decided to decline a consent\n* **required** - a candidate has not made any decision yet,\n",
        "enum": [
          "acquired",
          "declined",
          "required"
        ]
      },
      "ConsentScope": {
        "type": "string",
        "description": "Available when company uses single consent approach:\n* **Single** - a single consent to company privacy policy for all scopes\nAvailable when company uses separated consent approach:\n* **SmartRecruit** - indicates reading and understanding or accepting company privacy policy for job applications,\n* **SmartCRM** - a consent to be part of company communities for future career opportunities,\n* **SmartMessage:SMS** - a consent to receive text/SMS messages for job applications and/or future career opportunities,\n* **SmartMessage:WhatsApp** - a consent to receive WhatsApp messages for job applications and/or future career opportunities.\n",
        "enum": [
          "Single",
          "SmartRecruit",
          "SmartCRM",
          "SmartMessage:SMS",
          "SmartMessage:WhatsApp"
        ]
      }
    },
    "parameters": {
      "candidateId": {
        "in": "path",
        "description": "candidate identifier",
        "name": "id",
        "required": true,
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.smartrecruiters.com"
    }
  ]
}
```