Skip to main content

Generate a token suggestion

GET 
/security/connections/:connection_id/ip_authentication/token_suggestion

Retrieves a suggestion for a token to use with the IP authentication method with a connection.

Request

Path Parameters

    connection_id stringrequired

    ID of the connection to get a token suggestion for

Responses

200: successful token suggestion response

400: Bad Request

401: Unauthorized

404: Record Not Found

422: Unprocessable Request

Request samples


curl -L 'https://api.telnyx.com/security/connections/:connection_id/ip_authentication/token_suggestion' \
-H 'Accept: application/json'

Response samples


{
"token_suggestion": "string"
}