Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

shariff's avatar
Level 50

How to call API in laravel with the following secret

Hi

I want to call external API from laravel. I'm not understanding how to pass the following authorization keys in API. I saw all this in postman collection.

1. Signature Method
2. Consumer Key
3. Consumer Secret
4. Access Token
5. Token Secret
6. Version
7. Realm

Thank you

0 likes
6 replies
shariff's avatar
Level 50

@mubeensaeed Thanks for the link. You have any example how to pass in laravel using GuzzleHttp.

Niush's avatar
Niush
Best Answer
Level 50

Click the </> icon from right side-bar in postman. Copy the cURL snippet into link provided by Sinnbeck above. Then, convert into HTTP Client request code. You can also view PHP - Guzzle snippet from within Postman.

1 like
shariff's avatar
Level 50

@niush Thank you so much I didn't know that we can see the snippets in postman like that. Thank you once again. @sinnbeck The link you provided is very useful. Thank you.

Please or to participate in this conversation.