Devices

List a user's enabled push endpoints (internal)

Service-to-service lookup returning a user's enabled SNS endpoint ARNs. Requires the internal API key.

get/v1/users/{user_id}/push_endpoints

Request

  • Base URL
    https://identity-api.paymongo.com
  • URL
    https://identity-api.paymongo.com/v1/users/{user_id}/push_endpoints
  • Auth
    API key in header X-Internal-Api-Key

Path parameters

user_idstring required

User ID

Headers

X-Internal-Api-Keystring required

Internal API key

Response

OK

Example response

{
  "endpoints": [
    {
      "endpoint_arn": "arn:aws:sns:ap-southeast-1:123456789012:endpoint/APNS/identity-api-ios/uuid",
      "platform": "ios"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.