Confirmation Codes

getConfirmCodesId

GET
/confirmCodes/{id}

Query a confirmCode resource, which represents a unique confirmation code issued to an email address, either when a user indicates that they have forgotten their password, or when the system needs to verify the email address associated with a login.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this resource and The Confirmation Code ID.

Query Parameters

embed?string

Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

search?string

Set this header to filter or sort the list of resources that the method returns. See Searches for detailed information and examples on how to use search header.

Response Body

application/json

application/json

curl -X GET "https://example.com/confirmCodes/p1_cfc_67dd2714a9a1fc91f994e00"
{  "response": {    "data": [      {        "id": "p1_cfc_67dd2714a9a1fc91f994e00",        "created": "2025-03-21 04:45:08.6978",        "modified": "2025-03-21 04:45:08.6978",        "creator": "p1_log_00b869779727da108515d99",        "modifier": "p1_log_00b869779727da108515d99",        "login": "p1_log_67dd2714959c3331228ffa3",        "type": "email",        "key": "fbdf954596b341d18cb4995b70d321f3",        "email": "vijay.sample@payrix.com",        "inactive": 0,        "frozen": 0      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}