Where can I find the connection_id for a connection?

I followed the steps for dynamic client registration, but am stuck on the part about promoting a connection Dynamic Application Registration. I can’t find a connection id on any of the social connections. I tried client id, but that doesn’t work.

For some cases, like database connections, you can obtain this information by manually inspection of the URL active in the dashboard when viewing the connection details, however, the definitive list to obtain the connection identifier no matter the type of connections would be to use the Management API v2 /api/v2/connections endpoint.

Check this documentation for reference information on how to call the Management API.